Hi, Thanks for the great plugin. Could you explain me how to add an event tracking? Thank you.
Hi, Thanks for the great plugin. Could you explain me how to add an event tracking? Thank you.
have same question with willyamrost. how can I add the event tracking? Can give an example please? thanks!
Events tracking can be done by binding some specific dom events (such as click, resize, etc) with _gaq push method using '_trackEvent' parameter (in async tracking) or by call the _trackEvent function directly (in traditional tracking).
Example:
<a href="my-song.mp3" onclick="_gaq.push(['_trackEvent', 'Music', 'Downloaded', 'My Song']);">Download My Song</a>
You can read more details about event tracking and it's parameter at http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html
This topic has been closed to new replies.