Google Analytics provides valuable information about your visitor traffic and what visitors find interesting on your website or blog pages. However, it does not track file downloads by default.
What if you have eight downloadable files and you want to know which of the eight is downloaded the most?
The easy option is to use the Site Overlay feature. However, I found, on a low traffic site, that it did not record clicks on file download links. Please let me know if you find otherwise.
Adding the Google Analytics code to your links
This is a complete code sample
This line is the path to your pdf. I didn’t need to change anything here.
This line is the tracker code. This is the new Google code that was added.
The file-name.pdf in this line can be any text that you choose. Here it is shortened to fn.pdf.
Bonus: Try a shorter link name
I shortened the file name text compared to the acutal file name so that it would fit nicely in the Google Analytics display.
- Simple cut and paste
- Consider shortening the file name
- Works with any kind of downloadable file, pdf, avi, doc and so on.
Give it a try
Don’t expect to see the results immediately. Google suggests waiting one or two days. I saw results within 30 minutes.
Here is a link to the Google Analytics Help page. http://www.google.com/support/googleanalytics/bin/answer.py?answer=55529&topic=11006
You are invited to share your comments below. Thanks for visiting.