Loading a conversion pixel on click through

Mobile campaign optimisation throws up a number of issues in regard to tracking. One thing I’ve found really useful is to load a conversion pixel on click through from the landing page to the offer page. This can be a traffic source pixel which can then be used to give some indication of site/device/carrier quality etc. It’ll be tracking click throughs rather than conversions so it’s not perfect but it does make for cheap fast optimisations. Bare in mind this will only work with javascript enabled browsers.

Heres the code for your out links:

<a href="http://www.cpanetwork.com/trackinglink.php" onmousedown="new Image().src='http://www.trafficsource.com/conversionpixel.php'">Click Here</a>

So the image is loaded via javascript as soon as the link is clicked.

I changed the onclick to onmousedown because this give the page a little more time to load the pixel and makes it more reliable in my experience.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *