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

trackEvent and trackView (screen) are not tracking on iOS only.

Open marchash opened this issue 7 years ago • 10 comments

Hi, I implemented this plugin in my project, but the events and screens are not being tracked in my Analytics Page.

captura de tela 2018-01-04 as 16 06 52

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:

captura de tela 2018-01-04 as 16 09 42

I already tried using other versions (1.6.X, 1.7.X and the latest one), but with no success.

marchash avatar Jan 04 '18 18:01 marchash

@danwilson Answer this

danielvivek2006 avatar Feb 20 '18 10:02 danielvivek2006

Try to remove the camping parameter that is optional on trackView. Also trackEvent is missing the last parameter VALUE in the method call.

victorsosa avatar Feb 20 '18 11:02 victorsosa

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:

image

pixael avatar Mar 15 '18 11:03 pixael

Can you please give us some support we have a couple of customers complaining about it.

pixael avatar Mar 20 '18 16:03 pixael

@pixael Are you using ngCordova?? that API is been deprecated and is not updated with the last changes in this plugin.

victorsosa avatar Mar 20 '18 17:03 victorsosa

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.

davidemanske avatar Apr 07 '18 01:04 davidemanske

trackEvent it's Work but trackView not, or I'll be seeing it on the dashboard the wrong way screen shot 2018-05-24 at 12 27 03 pm

JuanSeBestia avatar May 24 '18 17:05 JuanSeBestia

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

john-doherty avatar May 26 '18 14:05 john-doherty

Work perfectly

image

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

image

JuanSeBestia avatar May 29 '18 22:05 JuanSeBestia

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

JuanSeBestia avatar May 29 '18 22:05 JuanSeBestia