Difference between FlurryAgent.logEvent and FlurryAgent.onEvent
What is the difference between FlurryAgent.logEvent
and FlurryAgent.onEvent
?
I could not find any documentation o开发者_如何学编程n these.
onEvent is deprecated and you should use logEvent in its place. logEvent also introduced two new overridden methods to allow you to track timed events (not available for onEvent):
- logEvent(String eventId, boolean timed)
- logEvent(String eventId, Map parameters, boolean timed)
Start Edit
To end a timed event use:
- endTimedEvent(String eventId)
End Edit
We will be improving our documentation in the near future so that it is easier to find the answers to these types of questions. Thanks for choosing Flurry.
R,
Anthony
here is a link to latest flurry documentation
http://support.flurry.com/sdkdocs/android/classcom_1_1flurry_1_1android_1_1_flurry_agent.html
I used Flurry to track the events. You have to first create an account on the Flurry website and register your project name. Then if you want to track a button and how many times that button was pressed, you go to the Flurry site and you can see it there.
There are three types:
- Google Analytics
- Flurry
- Omniture
Omniture is fast because it is a paid service, and the other two are very slow (it may take them 15 hours to show you your results).
精彩评论