Want to track Adobe Flash? Now you can!
Monday, November 17, 2008 | 11:30 AM
Labels: Advanced Topics, Announcements, Code and Configuration
Image of Analytics Flash Visual Component in Flash CS3
Today, at the Adobe MAX Conference in San Francisco, in a joint collaboration with our friends at Adobe and a few ace third party developers, we announced a simplified solution for tracking Flash content for everyone, called Google Analytics Tracking For Adobe Flash.
Working at Google over the past couple of years, I've had the opportunity to work with with many of our top clients to implement Google Analytics, who have found the power to identify and analyze trends on their web sites highly useful. But, one of the most common implementation challenges has been tracking Flash content on their pages. In the past, Flash tracking was not provided out of the box, and every implementation had to be customized. Moreover, there was a lack of standards, and new developers who tracked Flash had to create their own processes to get it working. With this launch, tracking your Flash content has never been simpler.
What It's All About
This feature is a translation of the current Google Analytics tracking code into the ActionScript 3 programming language that dramatically simplifies the ability to track Flash, Flex and AS3 content. This new Flash tracking code provides all the rich features of the current JavaScript-based version, including campaign, pageview and event tracking and can be used to track Flash content such as embedded videos, branded microsites and distributed widgets, such as online games.
Now it's simple for Flash content developers to answer questions like:
- How many people have watched my video?
- Are we developing the right creative that attracts new users?
- How effective is my content at getting people to take action?
Supported Platforms
We know there are many levels of experience in the Flash/Flex community so we tried to make it easy for both non-technical designers as well as seasoned ActionScript programmers to take full advantage of this Google Analytics Tracking For Flash. We've provided tracking libraries for both Flash and Flex which can be downloaded as a ZIP file here. The libraries include:
- Flash visual component
- Flash AS3 library
- Flex MXML component
- Flex AS3 library
Open Development
At the same time, we know that things change quickly online, and developers might want to review and improve the code. So we're providing our entire AS3 code base under the Apache 2 License as Open Source, available here.
For me, this is one of the most exciting aspects of this project. If you are a developer and want to improve the code's functionality, you can contribute to the code base. Or, if you are a company that is running a content platform, such as Sprout mentioned above, you can seamlessly integrate the Flash tracking codebase into your existing architecture.
So while many features get launched at the end of their development cycle, we see this as just the beginning.
And A Special Thanks
This feature has been an open collaboration of a number of very talented people across the globe. We'd like to personally thank our amazing third party developers Zwetan Kjukov and Marc Alcaraz who've spent countless hours developing the code base. We'd also like to thank Matt Chotin, Puneet Goel, Rani Kumar and Ajit Gosavi from Adobe who helped us also overcome the obstacles of migrating to an all-AS3 environment.
So please visit the project page to learn more:
http://code.google.com/p/gaforflash/
We look forward to hearing success stories about how you've implemented Google Analytics Tracking For Adobe Flash!


10 comments:
dvpweb said...
Thanks. I'd like to know how to get GA team to enable the event tracking features? I've submitted the request a while back, and no response or update. Any Thoughts?
10:59 AM
Sasha said...
9:58 PM
Sasha said...
We've completed a turn-key solution for Event and Pageview Tracking integration with Flash AS 3.0 projects in our rich media management system, GLU - http://www.glu.com.au/
Simply enter your Google Analytics Web Property ID and tracking’s automatically taken care of within GLU’s components.
http://www.glu.com.au/developers/tutorials/google-analytics-event-tracking.htm
We’d welcome you to check out the public beta and also play around with the integration of Google Analytics Event and Pageview tracking in your Flash projects.
10:02 PM
sean said...
what about AS2? Is there any port or best practice for using Google Analytics with an ActionScript2 flash app? I have a widely distributed app of about 8,500 lines of AS2 code that won't be ported for some time, and I'd like to gather analytics in the mean time.
4:51 PM
dvpweb said...
It's certainly possible, I can help if you like. Contact me.
9:01 AM
Cosmosuncle said...
This is great! Now I'm wondering how to install the tracking on the GA account if a widget never lives on the same HTML page.
Anyone know?
Thanks,
Justin
6:14 AM
Jeff said...
I want this, am using a CDN for distribution, and have a flash magazine component AS2 ( page turning ) the main swf component - that loads swf pagee - each page is likely to load its own gallery, interaction/call to action and an FLV streaming player with the occasional inhouse messaging postroll. Being unable to control CDN Server-side, GA seems the way to go.
I think i need a consultant, i have tried and not done well with page-on-screen time measurements.
see www.ctngreen.com/mag ( redir to current issue )
jeff@ctngreen.com
9:29 AM
Gabriel Ungureanu said...
You have a very, very simple solution on that if you're using Flex to develop your application. It has a built-in history functionality for you application and you can easily track and make permanent links to your site's sections. You can read more on:
http://groups.adobe.com/posts/6bca8cb2e9
10:26 AM
mike.hill said...
i was wondering how I would track the content Streamed from my Flash Streaming server.
We are useing auto bit reate detect and while sawmill does an ok job it woudl be mice if we could integrate this into goole analytics for use in the future.
6:23 PM
Tara said...
Does anyone know of reasons why tracking sometimes does not trigger? The tracking gif is sent out with all of the correct parameters. Is there a limit to how many events can be tracked in one flash file? What other factors can I look into? Is this just the way google analytics in flash works?
Thanks
Tara
7:41 AM
Post a Comment