ios - How to implement Google Analytic in Titanium for iPhone and Android? -


i want implement google analytic service in titanium app. tried matttuttle/titanium-google-analytics module , used code:

var ga = require('analytics.google'); var tracker = ga.gettracker("ua-xxxxxxx-x"); tracker.trackevent({     category: "my event category",     action: "clicked",     label: "how many (c)licks?",     value: 3 }); 

i replaced key new app key when use app multi-language, application crashes time.

please suggest me how can implement google analytic in titanium application.


may link implement google analytic in titanium.

or
try one: https://developer.appcelerator.com/question/153996/how-to-use-google-analytics-module-in-titanium-android-app

please let me know if won't work.
thanks


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -