Providing a collection of Urchin resources - news, support articles, tips and tricks, and tools to make everyday management easier!

Urchin Support Plans

Urchin 6 Download Tracking

Since Urchin works by reading log files, it is able to report on much more information than just basic pageviews. One of the standard Urchin reports is the download report which shows information on all files requested that were not counted as pageviews. This report may be accessed under IT Reports>>Pages & Files>>Downloads. If you do not see a file type here that you expect, make sure it is included in the "Downloads Match" field under the "Reporting" tab in the profile's settings.

Tracking downloaded files as pageviews is easy with Urchin 6. Simply put the following method into the onclick method for the anchor tag:

urchin.js code
urchinTracker(page);

ga.js code
pageTracker._trackPageview(page);

The final anchor tag should look something like this:

<a href="myfile.pdf" onclick="pageTracker._trackPageview("myfile.pdf");">