Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Ionic.io analytics with Ionic2

$
0
0

@fefelegal wrote:

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 (https://forum.ionicframework.com/t/push-notifications-with-ionic2/40269/7), 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!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>