kero_zen
kero_zen

Reputation: 694

Does Google Analytics Tracking for Flash works in packaged air application for IOS?

I'm building an air application (using adt packager) for iPad. I would like tracking some informations in my app so is it possible to embed Google Analytics library for Flash (.swc) in my packaged app ? otherwise are there alternatives ways ?

Upvotes: 1

Views: 1630

Answers (3)

Sarah Northway
Sarah Northway

Reputation: 1068

I am having better luck with this alternative native extension (ANE) for iOS and Android: https://github.com/alebianco/ANE-Google-Analytics

GAForFlash (http://code.google.com/p/gaforflash/) v1.0.1.319 did work for me when compiling with AIR and running in ADL on Windows, but seems to work intermittently when compiling and running it on an Android or iOS device. The visual debug feedback reports it always sending correctly, but half the time GA never receives the data.

Both solutions can send both pageViews and events, but neither (currently) works with the new mobile app GA profiles so you need to use a classic web profile.

Upvotes: 2

Karlus da Wakoko
Karlus da Wakoko

Reputation: 291

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.

got this from https://developers.google.com/analytics/devguides/collection/other/flashTrackingIntro

Upvotes: 2

b-ryce
b-ryce

Reputation: 5828

It is possible. I have it running in my pure AS3 AIR project for mobile.

See http://code.google.com/p/gaforflash/ there is a swc you can use there.

Upvotes: 1

Related Questions