Omniture Media Tracking in Flash with ActionScript 3
Omniture made media tracking easy with their creation of ActionSource. You no longer have to make external javascript calls for when the video starts, pauses, plays, ends, etc. The ActionSource object handles it all. ActionSource is pretty easy to learn and implement but I do feel Omniture in general and the way they handle their reporting is quite ambiguous. I'm lucky I just have to do the implementation and not the naming strategy for the tracking. I am told what props, eVars, events, etc to implement and can easily fire them correctly because of ActionSource.
First you will have to setup your ActionScource object as usual. Then you can track your videos by using the below function calls.
When the video get initialized you need to call the media open function.
First you will have to setup your ActionScource object as usual. Then you can track your videos by using the below function calls.
When the video get initialized you need to call the media open function.
When the video play listener is called you need to call the media play function.// mediaName :: Name of video
// mediaLength :: Duration of video
// mediaPlayName :: Name of video players.Media.open(mediaName, mediaLength, mediaPlayerName);
s.Media.play(mediaName, mediaOffset); When a user pauses the video or it stops you need to call the media stop function.s.Media.stop(mediaName, mediaOffset);When the video is finished you need to call the media close function.s.Media.close(mediaName);The tracking call to Omniture doesn't get fired until the close() function gets called.Omniture Media Tracking Reports
- How many people watched a video
- How long a user stayed on a video
- What sections of the video a user watched
- When the user exited the video
- Videos By Player
- If you have Omniture tracking throughout your site, you can also know the user flow before and after the video




I hate Omniture tracking. It is way to confusing. Waste of time!
Reply to this
Thanks a lot. Your site is always a big help. I will keep visiting.
Reply to this
I agree. The media tracking is easy with Omniture but all the other tracking stinks and it slows down my site.
Reply to this