google-analytics-plugin icon indicating copy to clipboard operation
google-analytics-plugin copied to clipboard

Problem Installing google analytics plugin

Open chrisjul opened this issue 11 years ago • 3 comments

Hey problem occur in installing plugin , i can't install google analytics plugin , my cordova version 3.6 am geeting this error 1) failed to install com.danielcwilson.plugins.googleanalytics and 2) google play service.jar already exists please help me

Thanks Advances Christopher

chrisjul avatar Feb 25 '15 11:02 chrisjul

I'm looking into this now... for an immediate workaround, you can install an earlier version of the plugin (that will use Android's Google Analytics SDK v3 instead of v4):

cordova plugin add [email protected]

danwilson avatar Feb 25 '15 14:02 danwilson

Hey wilson thank you for your solution. now i have facing another problem, i can't find analytic data above plugin not working
capture

here i have attached screenshot for your reference
cordova plugin add [email protected] this plugin installed but i cant track anything please help me.

my code

   window.analytics.startTrackerWithId('UA-xx705738-xx');
    window.analytics.trackView('Kubera Pooja and Mantra');
    //window.analytics.trackEvent('Category', 'Action', 'Label', Value);
    window.analytics.trackException('Kubera Pooja and Mantra error reports', true); 

i call this code my index.html page

chrisjul avatar Feb 26 '15 08:02 chrisjul

now working fine. no more issue thanks danwilson i want to support your project please add more feature to plugin

chrisjul avatar Apr 29 '15 05:04 chrisjul