Hi
we need to track clicks and impressions of ads with Google Analitycs. Right now I am just creating some custom blocks with linked images and the gaq_push code and tokens, of course this is not an optimal solution.
Ideally we d like to keep using the functionality of Simpleads adding possibly 2 more field (Category and Label) to construct the extra code needed for GA tracking.
Example:
<a href="http://site.com" target="_blank" onClick="_gaq.push(['_trackEvent', 'Banner', 'Click', 'MYBANNER_LABEL',1.00,true]);" ><img style="border: 0px" src="http://imageurl" alt="banner_image" /></a><img width=0 height=0 src="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" onload="_gaq.push(['_trackEvent', 'Banner', 'Impression', 'MYBANNER_LABEL',2.00,true]);"/>
Comments
Comment #1
minnur commented