Google 分析:事件已发送,但未显示在报告中

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

我正在通过 ga() 函数将事件发送到 google 分析:

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

回调 get 正确执行,chrome 分析调试器显示事件正在发送到 google 分析。但是什么都没有显示 – 无论是在实时报告还是在常规报告中。

有什么想法会导致这个特定问题吗?

谢谢大家,今天我可以弄清楚该行为背后的真正问题是什么:

eventValue 是一个浮点数,但它必须是一个整数,所以它不在分析服务器上。 就这些了。