question: how to change UA property id at the start method?
I am looking for a way to change this UA-XXXXXX-X property id at the time of Start() method call.
Reason is that I like to set up dev, staging, and production properties so that data don't pollute each other.
Thanks in advance.
George
This plugin is based on the EasyTracker Class which doesn't seem to have support for this.
But the Tracker Class supports this, so maybe you could try implementing that?
After looking at the documentation link you provided, I realized why Google provides an EasyTracker. The setting has to be set at java class creation time, earlier than js being loaded.
Thanks for your quick response
On Thu, Feb 21, 2013 at 11:53 PM, Sathvik Ponangi [email protected]:
This plugin is based on the EasyTracker Classhttp://analytics-api-samples.googlecode.com/svn/trunk/javadocs/com/google/android/apps/analytics/easytracking/EasyTracker.htmlwhich doesn't seem to have support for this.
But the Tracker Classhttps://developers.google.com/analytics/devguides/collection/android/v2/advancedsupports this, so maybe you could try implementing that?
— Reply to this email directly or view it on GitHubhttps://github.com/DoersGuild/Cordova-Android-Analytics/issues/5#issuecomment-13928256.