Reputation: 11
This may be a very basic question but I cannot work it out now. I have a 'flash banner' on my site for which once clicked on you go to another page on the site. I want to track this click as an event. HTML event tracking works fine. Previously the code I used was:
on (press) { getURL("javascript:pageTracker._trackEvent('Banner', 'Banner Click','Banner1');"); }
on (release) { getURL("http://www.e2save.com/content/mobile-phone-sale"); }
Now that I have changed the code to the Google Analytics Asynchronous it does not track even through I have update it with new _gag.push code.
Can anybody answer or help me on this.
Many thanks
Jk
Upvotes: 1
Views: 1198
Reputation: 2786
This question was on google support foum. Have you try the solution they found there?
onPress = function() {
ExternalInterface.call("_gaq.push(['_trackPageview', 'ENTER STRING TO REPORT TO G.A.'])");
}
Maybe you could find this topic helpful.
Upvotes: 1