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.
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...
The setup for all the platforms is very easy with only a few steps:
- Add the
INTERNET
permission toAndroidManifest.xml
. - Add
FlurryAgent.Init(this, "YOUR_API_KEY");
to theOnCreate
method of yourApplication
. - Only if you are targeting Android versions below 4.0, are two extra steps required:
- Add
FlurryAgent.OnStartSession(this);
to theOnStart
method of the Activity or Service. - Add
FlurryAgent.OnEndSession(this);
to theOnStop
method 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.
- Add
FlurryAgent.StartSession("YOUR_API_KEY");
to theFinishedLaunching
method of the application delegate, such asUIApplicationDelegate
- Add
ID_CAP_NETWORKING
andID_CAP_IDENTITY_DEVICE
capabilities toWMAppManifest.xml
. - Add
FlurryWP8SDK.Api.StartSession("YOUR_API_KEY");
toLaunching
andActivated
events of theApplication
.
And that's it, your mobile app will start sending activity usage statistics to the Flurry servers!
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