ScreamZ / vue-analytics

Google Universal Analytics support in Vue.js
Apache License 2.0
216 stars 27 forks source link

Support for cordova application #6

Open ScreamZ opened 8 years ago

ScreamZ commented 8 years ago

Will be implemented, but for now see :

aswinkp commented 7 years ago
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.
ScreamZ commented 7 years ago

Hi,

target is windows app or android ?

aswinkp commented 7 years ago

android application built with quasar-framework .