developers.google.com中的不同说明

时间:2017-02-17 08:16:27

标签: javascript dictionary google-analytics

Analytics.js Field Reference - Event Category处的事件跟踪代码说明 是:

ga('send', 'event', {
  'eventCategory': 'Category',
  'eventAction': 'Action',
  'eventLabel': 'Label'
});

使用' eventCategory'在引用

同时Event Tracking处的指示 是:

ga('send', {
  hitType: 'event',
  eventCategory: 'Videos',
  eventAction: 'play',
  eventLabel: 'Fall Campaign'
});

因为eventCategory没有引用。

为什么会有差异,我应该使用哪一个?

0 个答案:

没有答案