Friday, March 9, 2012

Tracking downloads with Google Analytics

There is some info on this help page about tracking downloads with Google analytics.

Essentially, adding this to your download links should do the trick:
onclick="_gaq.push(['_trackEvent', 'Downloads', 'PDF', '/salesForms/orderForm1.pdf']);"
 
So let's see if it works! Download the Google Analytics Guide.