/
774.txt
43 lines (32 loc) · 1.67 KB
/
774.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[1] [CITE@ja[イベントについて - アナリティクス ヘルプ]]
([TIME[2016-04-11 12:08:11 +09:00]] 版)
<https://support.google.com/analytics/answer/1033068?hl=ja>
[2] [CITE@ja[イベント トラッキング | ウェブ向けアナリティクス(analytics.js) | Google Developers]]
([TIME[2016-03-23 02:26:45 +09:00]] 版)
<https://developers.google.com/analytics/devguides/collection/analyticsjs/events?hl=ja>
[3] 他は正常に動作しているのにイベントトラッキングだけ正しく記録されない場合、
[CODE[ga()]] の[[引数]]を正しく指定できているか調べてみるといいかもしれません。
([[typo]] していないかなど。)
[4] レポートのイベントの項目に正しく表示されていなくても、リアルタイムの項のイベントの項目内には表示されることがあります。
ほとんど遅延なしでリアルタイムに反映されるので、ここで正しく動作しているか試すことができます。
[5] [CITE@ja[analytics.js から gtag.js に移行する | ウェブ向けアナリティクス(gtag.js) | Google Developers]]
([TIME[2018-04-18 02:50:38 +09:00]])
<https://developers.google.com/analytics/devguides/collection/gtagjs/migration?hl=ja>
[6] 昔のやつ
[PRE(code javascript)[
ga ('send', {
hitType: 'event',
eventCategory: 'category1',
eventAction: 'action1',
eventLabel: 'label1',
transport: 'beacon',
});
]PRE]
[7] [[GA4]]
[PRE(code javascript)[
gtag('event', 'event1', {
'event_category': 'category1',
'event_label': 'label1',
'transport_type': 'beacon',
});
]PRE]