Hi,
I’m trying to make the ionic.io analytics work with ionic2 but so far not working, although I feel I’m almost there. I was able to install the ionic-platform-web-client (Push notifications with Ionic2), start the analytics and log some events. I used this code:
Ionic.IO();
this.analytics = new Ionic.Analytics();
this.analytics.track('Login', {});
From the console I can read the following events:
Ionic Analytics: enqueuing event to send later
Ionic Analytics: Login
Ionic Analytics: Object {_user: Object, _app: Object}
... (30 seconds later)
Ionic Analytics: sent events
Ionic Analytics: Object {Login: Array[1]}
But when I go to the ionic.io dashboard I keep getting Looks like you haven't sent any data.
. Apparently everything is being sent from the ionic2 app, but why is it not showing in the dashboard? Any ideas?
Thank you!