google-analytics-plugin
google-analytics-plugin copied to clipboard
trackEvent and trackView (screen) are not tracking on iOS only.
Hi, I implemented this plugin in my project, but the events and screens are not being tracked in my Analytics Page.

The response for those promises are being null, but only on iOS I'm seeing those patterns.
Below I present the code for the service I'm using:

I already tried using other versions (1.6.X, 1.7.X and the latest one), but with no success.
@danwilson Answer this
Try to remove the camping parameter that is optional on trackView. Also trackEvent is missing the last parameter VALUE in the method call.
I've the same issue... Here is how I track views:
this.ga.trackView(view.component.name).then(response => {
console.log('Visit tracked on ' + response);
}).catch(error => {
console.log(error);
});
here is what I see in the log:

Can you please give us some support we have a couple of customers complaining about it.
@pixael Are you using ngCordova?? that API is been deprecated and is not updated with the last changes in this plugin.
I'm also having this issue with ionic native. No page view events in Google Analytics and I'm seeing a null come back just like @pixael Any ideas? Let me know if you need more system env info to debug.
trackEvent it's Work but trackView not, or I'll be seeing it on the dashboard the wrong way

I'm having the same issue. Any progress on this?
Work perfectly

t was a clumsiness of mine, I was using an analytics project for web and not for applications, I changed the type and it works

You can not change, just create a new one ... But I have to create another account because it can only be done from the registry