简体   繁体   中英

Google Analytics: Events sent, but not showing up in reports

I am sending events to google analytics via ga() function:

 ga('send', { 'hitType': 'event', 'eventCategory': 'Article', 'eventAction': 'Purchase', 'eventLabel': window.location.href.split('?')[0], 'eventValue': r.data.price, 'useBeacon': true, 'hitCallback': function() { googleSent = true; } }); 

The callback get's executed properly, the chrome analytics debuger shows that the events are being sent to google analytics. But nothing is showing up – neither in the realtime reports nor in the regular reports.

Any ideas what can cause this particular problem?

Thanks everyone, today i could figure out what the real issue behind that behavior was:

eventValue was a float, but it has to be an integer, so it wasn't count on the analytics servers. That's all.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM