Home

Awesome

ANE-Localytics

Localytics (http://localytics.com) analytics native extension for mobile Adobe AIR applications (iOS & Android)

by Piotr Kościerzyński

How to use

  1. Sign up for a free / premium Localytics account and create and application key https://dashboard.localytics.com/localytics_applications
  2. Add the ANE to you project (https://github.com/randori/ANE-Localytics/downloads) Start a Localytics session when the app finishes loading:

//Start Localytics session Localytics.startSession('APP-KEY');

//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');

Changelog:

2012-06-22

2012-06-18