O'Reilly logo

Getting Started with Flurry Analytics by Bhanu Birani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

User details

Flurry provides many methods to track users based on their information. For example, if you need to track the user based on their ID, you can use the following code:

[Flurry setUserID:@"USER_ID"];

Note that as per the terms of service, you are not allowed to pass the Unique Device ID (UDID) of the device as a parameter in this method.

After identifying the user based on their ID, you can use the following method to track their age (the input parameter should be greater than 0).

[Flurry setAge:23];

After tracking the user's age, you can access the data generated by Flurry to analyze the age group of the users who use the application the most, as shown in the following screenshot:

To identify the gender of the user, you can use the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required