Top RIA blogs award

Top RIA blogs

Confessions of an Flash Addict Rotating Header Image

Google Analytics API for Flash

I was just reading the Google Analytics Blog and it seems there is a cool new library for Google Analytics tracking was released at Adobe MAX. If you look at the disclaimer in the code, you see It is a joint production between Adobe and Google. Adobe has been teaming up with Google more lately, did they give Apple the boot? Still no Flash player 10 on the iPhone but already there on the Android Platform … mmm, lets keep that in mind…

You can start playing strait away witch the Developer guide, here.

So what is the fuss all about? This quote says it all:

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.

So far the tracking of page views and events using the free Analytics tool from Google was pretty straightforward but still hard for many Flash developers. Basically it requires you to include a few lines in the HTML, call some JavaScript from Flash and eventually watch for security restrictions. The nice thing about this new project is that now it will allow you to do all this with just ActionScript.

After extensive testing i will post my findings here… so stay tuned :)

1 Comment on “Google Analytics API for Flash”

  1. #1 TargetStat
    on Dec 16th, 2008 at 4:02 pm

    Writing Google Analytics tracking calls manually for any non-trivial Flex application is very time consuming operation. This add-on to Flex analytics will perform tracking automatically: http://riatest.com/products/targetstat-flex-analytics.html

Leave a Comment