GoogleAnalyticsServicesSDK

Zwetan Kjukov edited this page Nov 26, 2018 · 1 revision

Google Analytics Services SDK

Google to Sunset Support for Google Analytics Services SDK, Transitions Mobile Analytics to Firebase

Now if you visit The Google Analytics Developer Guides, for mobile apps either Android or iOS, Google now advice to use the Firebase SDK

Note: This article describes how to use the recommended Firebase SDK to track Android apps in Google Analytics. If you'd prefer to use the Google Analytics Services SDK for Android, see this article.

or

Note: This article describes how to use the recommended Firebase SDK to track iOS apps in Google Analytics. If you'd prefer to use the Google Analytics Services SDK for iOS, see this article.


For now, you can still use the Google Analytics Services SDK for Android/iOS but those are considered "legacy" by Google.


If you have some hesitations about deciding which library to use here a little recap:

  • Google Analytics Services SDK
    used to build ActionScript Native Extensions (ANE) either open source or commercial
    it will work now but it may not work in the future, so we advise you to favour instead
    an ANE based on the Firebase SDK, that is if you really want to use an ANE.

  • Firebase SDK
    used to build ActionScript Native Extensions (ANE) either open source or commercial
    this is the official library recommended by Google, but because Firebase do much more
    than just analytics this library is bigger and more complex to setup.

  • as3-universal-analytics
    this library is purely ActionScript 3.0 and use the Measurement Protocol
    we do not depends on either the Google Analytics Services SDK or the Firebase SDK, this library do only analytics without any dependencies.


Why you may want to use as3-universal-analytics library instead of other libraries:

  • focused on doing one and only one thing:
    send analytics data using the measurement protocol to Google Analytics backend
  • simpler, easier to compile (SWC vs ANE), smaller in size, less conflict, less maintenance, etc.
  • It will work where the ANE can not:
    • Online/Local SWF files
    • Desktop Adobe AIR
    • Standalone Flash Player executable
    • Command-line/Server-side Redtamarin
  • It does not need to be updated wether an Android/iOS versions change or if a SDK is updated/deprecated
  • It will work wether a particular Google SDK is supported or not
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.