| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Google Analytics Event Tracking|
I'm looking for a way to track out going clicks with Google Analytics. I found some reading material on it and tried something out, but no stats are registering. Here's what I used:
onClick="pageTracker._trackEvent(‘Site Section’, ‘Exit click’, ‘Outgoing-URL’);"
Any help would be great!
are you using the async tracker? if so, then it should be _gaq.push(['_trackEvent', 'Site Section', 'Exit click' , 'Outgoing-URL’']);
It is, thanks!
Hmm this still isn't showing any data, I clicked the links a couple times myself just to make sure there would at least be something but there's nothing showing yet. Any suggestions? Thanks
Hrm, just open your js console (firebug or chrome dev) and copy and paste this in, should show up within 20 min.
_gaq.push(['_trackEvent', 'testing', 'testing' , 'testing']);
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved