GA Event tracking (download) stopped working

(Greg Schneck) #1

Until recently my google analytics EVENT tracking code for file downloads worked great (for years). But now I see that no event (download) clicks are being tracked. I have not changed code on the site. Anyone else having EVENT tracking issues? Please note that page logging works fine.

Here is a generic example of my event tracking code:

<a onclick="var that=this;_gaq.push(['_trackEvent','Download','PDF',this.href]);setTimeout(function(){location.href=that.href;},400);return false;" href="pdfs/my-file.pdf">Download my file</a