trailman
Aspiring developer
Profile
Posts: 280
Reg: Dec 10, 2010
Sedona, az
6,550
01/05/13 01:39 PM (13 years ago)

IOS Flurry Events Help

I've implemented Flurry into my IOS app now I want to track each screen to see what people look at the most. How do I carry this out? What is an event? Which documents do you put the code in and where? As an example: Tracking User Behavior [Flurry logEvent:@"EVENT_NAME"]; Use logEvent to count the number of times certain events happen during a session of your application. This can be useful for measuring how often users perform various actions, for example. Your application is currently limited to counting occurrences for 300 different event ids (maximum length 255 characters). I have no idea where to put that code? b
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
01/05/13 02:09 PM (13 years ago)
You can put it anywhere - The easiest way to use it would be to put it inside of the viewWillAppear method of whatever plugin you want to track. For example - if you wanted to see how often users are accessing an image gallery, you would go to Mac_image_gallery.m and put the code [Flurry logEvent:@"image_gallery"]; inside of the viewWillAppear method You will need to make sure that flurry.h is imported That's probably the easiest way to use it, but you can really track anything imaginable..it's pretty cool Also, when you're testing it, keep in mind that it takes quite a few hours for activity to appear in your flurry dashboard
 
trailman
Aspiring developer
Profile
Posts: 280
Reg: Dec 10, 2010
Sedona, az
6,550
like
01/05/13 03:27 PM (13 years ago)
Thanks for the tip! I'll try it out. b
 
Kaybee
buzztouch Evangelist
Profile
Posts: 659
Reg: Sep 22, 2012
Perth, Australi...
44,690
like
02/04/13 07:49 PM (12 years ago)
@Absentia, Do I need to import Flurry.h into the .h file of the plugin for every screen I want to track like the Mac-Image_galery.h as above? Or importing it in the AppDelegate.h enough? Thanks
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.