Reputation: 1634
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?
Upvotes: 2
Views: 2997
Reputation: 1634
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.
Upvotes: 4