Flurry allows you to track events based on the duration factor as well. You can use the [Flurry logEvent: timed:]
method to log your event in time as shown in the following code:
[Flurry logEvent:@"EVENT_NAME" timed:YES];
In case you want to pass additional parameters along with the event name, you can use the following type of the
logEvent:
method to start a timed event for event Parameters
as shown in the following code:
[Flurry logEvent:@"EVENT_NAME" withParameters:YOUR_NSDictionary timed:YES];
The aforementioned method can help you to track your timed event along with the dynamic data provided in the dictionary format.
You can end all your timed events before the application exits. This can even be accomplished by updating the event with event Parameters
. If you want to end your events without updating the parameters, you can pass nil
as the parameters.
If you do not end your events, they will automatically end when the application exits as shown in the following code...