Skip to main content
Participating Frequently
June 8, 2011
Question

Google Analytics in my Flash CS5.5 iOS app?

  • June 8, 2011
  • 2 replies
  • 4214 views

I searched the forums but found nothing.

I was wondering if it's possible to have tracking inside of my flash built iPhone app. I've done it many times in my flash web content, so I'm just wondering if anybody has implemented any sort of advanced tracking into their iOS apps built in Flash.

Thanks in advance!

This topic has been closed for replies.

2 replies

Inspiring
December 11, 2013

Hey folks,

          I've been looking for an analytics service and stumbled across this discussion. I've tested it and got it working properly on Android; real-time data seemed to show instantaneously for me. I'm curious how a session is clocked as far as 'Visit Duration' when an application is inactive (background). I believe Adobe AIR applications on Android continue to run in the background if they're not closed properly, whereas iOS are set in a suspended state.

Does anybody know how this affects Visit Duration?

Will the time be paused on iOS while suspended? Will the time continue to run while an application is inactive (background)?

Also, if it continues to run on either device, is there a way to kill the analytics tracker?

Thanks for any input!

Participating Frequently
June 19, 2011

Have you tried using the APIs documented here?

  http://code.google.com/apis/analytics/docs/tracking/flashTrackingIntro.html

I know it says it 'isn't supported' in AIR, but I had this working in an experimental Android AIR app a few months ago.

-David

Inspiring
October 17, 2013

Has anyone else successfully implemented Google Analytics in an AIR iOS app (or Android App) built in Flash?

The Adobe website still says: 

Note: Currently, Flash tracking is available for any Flash content embedded in a web page. Tracking of data sent from Adobe Air, Shockwave, or via the Flash IDE (e.g. using Test Movie) is not supported at this time.

...and I'm not being successful using the examples they provided. 

It seems to work fine in Debug mode, but I'm not seeing any indication of my app use being tracked while viewing Real-Time analytics. 

So my questions are:  First and foremost, does Google Analytics work in AIR apps created in Flash?

and secondly:  if so, does it register activity in the Real-Time view of Google Analytics?

Colin Holgate
Inspiring
October 17, 2013

It does work, but the real time tracking doesn’t work with events, only page views. Events you are tracking will show up tomorrow.