[New post] How to track downloads in Google Analytics automatically

Posted by | Posted on 12:05

How to track downloads in Google Analytics automatically

Bogdan Michka | March 22, 2010 at 1:05 pm | Tags: analytics, downloads, howto, javascripts, stats, tracking | Categories: development, free, seo, tips-n-tricks, web | URL: http://wp.me/pHbzX-jz

From the article:

How to track downloads in Google Analytics automatically

The official Google Analytics help says that any link can be monitored if this script is added in the link:

onclick="pageTracker._trackPageview('/file_name.file_extension')

Adding this script to every download link on your website can be a laborious task. The simple solution we found is to use a JavaScript that automatically attaches event listeners to files which are downloaded from your web pages.

Add a comment to this post


Comments (0)

Post a Comment