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

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: