August 21, 201115 yr Hi guys, I am currently making a website for a musician and he is offering a free download of his album. I have built that into the site, but is there an easy way to track how many people download it? I see google analytics(sp?) is the way to go, but I have never undertook something like this before and would appreciate some help as to where to start. If i can provide any more info, please let me know Many thanks
August 21, 201115 yr Try this: http://www.google.com/support/analytics/bin/answer.py?answer=55529 You add an OnClick javascript handler for the link to download the file like this: <a href="http://www.example.com/files/downloadedfile.zip" onClick="javascript: pageTracker._trackPageview('/downloads/map'); ">
Create an account or sign in to comment