Event Tracking Example
In this event tracking article you’ll be able to see exactly how Google Analytics allows you to track interactions visitors have with videos and flash objects. The tracking system does it using the pageview metric along with time spent on each pageview. The event tracking framework is very flexible and is not just limited to flash and video players.
- Track user events with video trackingUnderstand user’s basic behaviour viewing your video content
- For an indepth analysis of special web objects event tracking is a required tracking metric
- Event tracking is available with the free web tracking service “Google Analytics”
- Get your page stats from the Google Analytics event tracking support page
| html/javascript code | Button | equivalent code in my actionscript |
|---|---|---|
| onClick=”javascript:pageTracker._trackEvent(‘button’, ‘pressed’, ‘btn1′, 1);” | trackGA(“button”, “pressed”, “btn1″, 1); | |
| onClick=”javascript:pageTracker._trackPageview(‘pressed/btn2′);” | trackGA(“page”, “pressed/btn2″); | |
Pick the ball up and throw it!
|
||
This experiment was borrowed from Circle-cube
Watch the calls go to Google Analytics:
- Get firebug- you must have this Firefox plugin
- Enable Network monitoring in this page
- Click the Net tab
- Google Analytics calls go out as calls to images so itf you want to see only those drill down to watch images by clicking the images tab
- Everytime a call is fired you will see it and can even inspect it’s parameters and headers (they show up as GET_utm.gif?utmwv=…..)

See the beautiful Google Analytics reports this experiment creates!
Event Tracking truly lets users of the free web analytics software “Google Analytics” a chance to take the platform to new levels. Video and flash tracking with this metric make it easy to measure user events. Focus on the events that are important to your website goal. Use event tracking to improve the usability of videos, flash games and tutorials.


