Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Getting Started with Flurry Analytics

You're reading from  Getting Started with Flurry Analytics

Product type Book
Published in Dec 2013
Publisher Packt
ISBN-13 9781782177128
Pages 88 pages
Edition 1st Edition
Languages
Author (1):
Bhanu Birani Bhanu Birani
Profile icon Bhanu Birani

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 method:

[Flurry setGender:@"m"];

The preceding code takes either m for male or f for female to specify the gender. After tracking the user's gender through the application, you can access the application's generated data through Flurry. You can navigate...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}