Logo-templateI don’t have a lot of experience yet with tracking AIR applications developed with Flash or Flex. Adhese has a service called pubblegum that can be used directly from Flash without calling an external Javascript (which is the case with Google Analytics). So we decided to give it a try.

What exactly is pubblegum?

Whether it is Adobe® Flash®, Adobe® Air®, Microsoft® Silverlight®, Javascript or something as basic as an image. Pubblegum tracks your content in real-time from within the file and reports all available info, from custom interactions to URLs where your content was published.

Cool is that they have a specific API for AIR applications built in Actionscript 3 and the API also takes care of the fact that your application can be disconnected. If you want to use it, you can send them a mail to get a free trial. In our case we used the specific API for tracking user actions in the AIR application. And it is fairly easy to use. You only need to include the com.adhese.pubblegum.PubblegumAir class in your source code (a .swc file for Flex projects would also be nice guys) and write these two lines of code:

var api:PubblegumAir =
    new PubblegumAir("companyID", "campaignID", "creativeID", true);
api.action("action");

The first variable is provided by Adhese and should be your company name/identifier, the second and third parameter can be chosen freely. The last parameter specifies whether you are tracking an application. So true tells the API, that the client is an application.

That isn’t all that bad is it, and on top of that you get a nice dashboard where you can analyze your results.

Tagged with:
 

4 Responses to Tracking AIR applications with pubblegum

  1. [...] settings (in CS4 its File -amp;gt; Publish Settings -amp;gt; Flash -amp;gt Tracking AIR applications with pubblegum – hufkens.net 04/28/2009 I don’t have a lot of experience yet with tracking AIR applications [...]

  2. [...] also built in some tracking of the AIR application itself using pubblegum. Pubblegum tracks the application usage in real-time. So if you see some extra outgoing API calls, [...]

  3. timybe says:

    @ultraky we use the @Pubblegum API for Adobe AIR to track the app usage. If you want to know more check it out here: http://bit.ly/7iFiA

    This comment was originally posted on Twitter

  4. ultraky says:

    We use @Pubblegum API for Adobe AIR to track the app usage. To know more check it out here: http://bit.ly/7iFiA (via @timybe) – Thanks guys

    This comment was originally posted on Twitter

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Set your Twitter account name in your settings to use the TwitterBar Section.