vue-analytics icon indicating copy to clipboard operation
vue-analytics copied to clipboard

Support for cordova application

Open ScreamZ opened this issue 9 years ago • 3 comments

Will be implemented, but for now see :

  • https://groups.google.com/forum/#!searchin/phonegap/google$20analytics/phonegap/Mtj6KoUk8cY/1oPJ-UEhpBIJ
  • https://www.geeek.org/google-analytics-cordova-phonegap-964.html
  • http://stackoverflow.com/questions/27561676/how-do-i-configure-my-google-analytics-account-to-accept-requests-from-file-u

ScreamZ avatar Nov 23 '16 17:11 ScreamZ

ga('set', 'checkProtocolTask', function(data) {
    data.set('location', 'http://whatever.host.I.want.com');
});

I added above lines below Vue.use(VueAnalytics{...}) . As specified in the stackoverflow post above. but still does not seem to work in cordova. When I run in web browser it works perfectly. Any clue what and where I should do this ? I use quasar-framework.org.

I also tried

ga('set','anonymizeIp',true);
ga('set','forceSSL',true);```

 But nothing seems to work.

aswinkp avatar May 08 '17 18:05 aswinkp

Hi,

target is windows app or android ?

ScreamZ avatar May 09 '17 20:05 ScreamZ

android application built with quasar-framework .

aswinkp avatar May 10 '17 01:05 aswinkp