Flurry.Analytics
Flurry.Analytics copied to clipboard
The Flurry Analytics Agent allows you to track the usage and behavior of your Android, iOS or Windows Phone application on users' phones for viewing in the Flurry Analytics system.
The Flurry Analytics Agent allows you to track the usage and behavior of your Android, iOS or Windows Phone application on users' phones for viewing in the Flurry Analytics system. It is designed to be as easy as possible with a basic setup complete in few minutes.
Features
There are many features available in the Flurry Analytics API, such as:
- Session tracking
- Event logging, with optional parameters
- Page View tracking
- Demographics tracking, such as age, gender and user id
- Location tracking
- App version tracking
- And much more...
Getting Started
The setup for all the platforms is very easy with only a few steps:
Android
- Add the
INTERNETpermission toAndroidManifest.xml. - Add
FlurryAgent.Init(this, "YOUR_API_KEY");to theOnCreatemethod of yourApplication. - Only if you are targeting Android versions below 4.0, are two extra steps required:
- Add
FlurryAgent.OnStartSession(this);to theOnStartmethod of the Activity or Service. - Add
FlurryAgent.OnEndSession(this);to theOnStopmethod of the Activity or Service.
If you are only targeting Android 4.0 or greater, Flurry Analytics will automatically be registered with the activity lifecycle events.
This is done through the Application.IActivityLifecycleCallbacks interface.
iOS
- Add
FlurryAgent.StartSession("YOUR_API_KEY");to theFinishedLaunchingmethod of the application delegate, such asUIApplicationDelegate
Windows Phone
- Add
ID_CAP_NETWORKINGandID_CAP_IDENTITY_DEVICEcapabilities toWMAppManifest.xml. - Add
FlurryWP8SDK.Api.StartSession("YOUR_API_KEY");toLaunchingandActivatedevents of theApplication.
And that's it, your mobile app will start sending activity usage statistics to the Flurry servers!
Advanced
Flurry Analytics SDK supported versions:
- SDK for iOS supports iOS 5 and above
- SDK for Android supports Android API level 10 (Gingerbread) and above
- SDK for Windows Phone supports Windows Phone 8 (Silverlight) and above