|
ANE-Localytics Localytics (http://localytics.com) analytics native extension for mobile Adobe AIR applications (iOS & Android) by Piotr Kościerzyński How to use//Start Localytics session Localytics.startSession('APP-KEY'); - When the session has been initialized you can log events and screens. Events can have attributes (optional).
//Example: location based sports app - finished run / walk Localytics.tagEvent("run_finished", {'distance':'1-2km', 'time':'6-10min', 'gps_accuracy':'10-20 meters'}); Localytics.tagEvent("run_finished", {'distance':'>10km', 'time':'30-45min', 'gps_accuracy':'>100 meters'}); //Example: button was pressed Localytics.tagEvent("button_pressed"); Localytics.tagEvent("button_pressed", {'button_id':'login'}); Localytics.tagEvent("button_pressed", {'button_id':'share', 'share_type':'facebook'}); //Example screen flow: E-commerce app Localytics.tagScreen('home'); Localytics.tagScreen('categories'); Check out the example projects (Flash CS6, Flash Builder 4.6) Localytics native extensions work for iOS and Android AIR applications What's the differece between ANE_Localytics-debug and ANE_Localytics-release? Release builds are optimized builds and don't print logs to iOS console.
Changelog:2012-06-22 - Version 1.1.0
- Added Android support
2012-06-18 - Version 1.0.0
- Supports Adobe AIR iOS
相关链接:
https://github.com/randori/ANE-Localytics
|