Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Another advantage of "native" analytics is to capture downloads of all file types. Google Analytics does not know about your PDF downloads (unless there is something I don't know about), and or me that is quite important.

I hope you figure out how to block referrer spam. I use both GA and awstats as provided by my webhost, and the numbers are widely different. The referrer list at awstats is almost useless since I get hundreds of hits from viagra selling sites etc, despite the fact that I don't publish the referrer list publicly anywhere.



For anything other than page loads, you need "Events":

http://code.google.com/apis/analytics/docs/tracking/eventTra...

for example:

   <a onClick="_gaq.push(['_trackEvent', 'Vids', 'Play', 'Title']);">Play</a>


This doesn't track when you right click and click download or open in new tab.


Interesting. Do you know of a work around for "open in new tab"? Would "save link as" be counted?

I guess the server side logs would come-in handy in that case.


Also doesn't track when people go directly to download your files, for example finding PDFs through Google Scholar.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: