ionicAnalytics not working on device


#1

Hey guys,

I’m testing ionicAnalytics, and its working well when I’m running my app with “ionic serve”, however its not recording the events when the app is running on my iOS device.

At the begining I thought that it was an access problem:

access origin is set to *

before it was set with an specific value, but then I just opened to the world…but nothing changed for the traffic.

I have been waiting for long time in case it was a delay issue., however when Im testing on the browsers it tooks a couple of minutes in showing the info on Analytics -> Events.

Any thoughts?

ionic --version
1.7.14

cordova --version
6.1.1

ionic plugin list
cordova-plugin-whitelist 1.2.2 "Whitelist"
ionic-plugin-deploy 0.5.4 "IonicDeploy"
phonegap-plugin-push 1.6.3 “PushPlugin”

I tried also removing and adding the Whitelist plugin again, with no success.

Thanks!

Cheers


#2

does anyone knows how to check the errors?

when I perform $ionicAnalytics.track(‘action’, {…}) I’m not sure how to detect there if there are errors sending the information.

Thanks!