@armandof wrote:
Hi everybody! Im working in a project with Ionic 3. I try use GA but doesn’t works. I follow the instructions.
this.platform.ready().then(() => {
this.ga.startTrackerWithId(‘UA-XXXXXXX-1’)
.then(() => {
console.log(‘Google analytics is ready now’);
this.ga.trackView(‘home’);
})
.catch(e => console.log(‘Error starting GoogleAnalytics’, e));
});I tried put the code in the constructor of app.components, in the constructor of home.ts, etc etc
The console doesn’t shows me error, but doesn’t works
Ahh and I downgrade the plugin to the version 1.6.0what more? any help?
Thank you very very much!!
Armando
Posts: 1
Participants: 1