jakub_jo
jakub_jo

Reputation: 1634

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?

Upvotes: 2

Views: 2997

Answers (1)

jakub_jo
jakub_jo

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

Related Questions