Tracking AIR applications with pubblegum
I 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:
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.
4 Responses to Tracking AIR applications with pubblegum
Leave a Reply Cancel reply
Lifestream
-
Checking out CocoaPods - an Objective-C library manager > https://t.co/xdLU5OgO— February 1st via Twitter
-
Finally found some time to dive into iOS5 Storyboarding.— February 1st via Twitter
-
RT @robbedoes: Fun to watch: an interview w/ the sound designer of Angry Birds: http://t.co/lDARIGbB— February 1st via Twitter
-
@wuotr Also, check this out: Flood Fill > http://t.co/SpweLK0N ;)— January 30th via Twitter
-
Love it! Timesaver++ CocosBuilder, a tool for graphically laying out sprites, layers and scenes for @cocos2d > http://t.co/Jrb8233D— January 30th via Twitter
-
RT @rwenderlich: Awesome list of Cocos2D source code projects, extensions and code from @iuridium: http://t.co/ovwLYhCv— January 29th via Twitter
-
Moo! @ Kinderboerderij kiewit http://t.co/tYBlLsvH— January 29th via Twitter
-
I've been doing my epic chores and just leveled-up. I'm a Level 8 Well-groomed Clansman now! #EpicWinApp— January 27th via Twitter
-





[...] 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 [...]
[...] 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, [...]
@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
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