-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart-data.json
119 lines (119 loc) · 4.48 KB
/
cart-data.json
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"exportFormatVersion": 2,
"exportTime": "2020-12-07 06:33:42",
"containerVersion": {
"path": "accounts/6002696644/containers/36441434/versions/5",
"accountId": "6002696644",
"containerId": "36441434",
"containerVersionId": "5",
"name": "0.0.3",
"container": {
"path": "accounts/6002696644/containers/36441434",
"accountId": "6002696644",
"containerId": "36441434",
"name": "gtm-sprocket",
"publicId": "GTM-NDQL4MV",
"usageContext": [
"WEB"
],
"fingerprint": "1607307778881",
"tagManagerUrl": "https://tagmanager.google.com/#/container/accounts/6002696644/containers/36441434/workspaces?apiLink=container"
},
"tag": [
{
"accountId": "6002696644",
"containerId": "36441434",
"tagId": "8",
"name": "tag_sprocket_cart",
"type": "html",
"parameter": [
{
"type": "TEMPLATE",
"key": "html",
"value": "<script type=\"text/javascript\">\n(function () {\n var count = 0;\n setTimeout(function wait() {\n \t\tif (++count > 10) return;\n\t\tif (typeof SPSDK === 'undefined') return setTimeout(wait, 500);\n var props = {{variable_sprocket_cart}};\n console.log('Sprocket: Cart props:\\n' + JSON.stringify(props, null, ' '));\n SPSDK.record('cart', props);\n\t}, 500);\n})();\n</script>"
},
{
"type": "BOOLEAN",
"key": "supportDocumentWrite",
"value": "false"
}
],
"fingerprint": "1607321757704",
"firingTriggerId": [
"6"
],
"parentFolderId": "25",
"tagFiringOption": "ONCE_PER_EVENT",
"monitoringMetadata": {
"type": "MAP"
}
}
],
"trigger": [
{
"accountId": "6002696644",
"containerId": "36441434",
"triggerId": "6",
"name": "trigger_sprocket_cart_view",
"type": "PAGEVIEW",
"filter": [
{
"type": "MATCH_REGEX",
"parameter": [
{
"type": "TEMPLATE",
"key": "arg0",
"value": "{{Page URL}}"
},
{
"type": "TEMPLATE",
"key": "arg1",
"value": "cart_url"
}
]
}
],
"fingerprint": "1607319725962",
"parentFolderId": "25"
}
],
"variable": [
{
"accountId": "6002696644",
"containerId": "36441434",
"variableId": "7",
"name": "variable_sprocket_cart",
"type": "jsm",
"parameter": [
{
"type": "TEMPLATE",
"key": "javascript",
"value": "function() {\n /* Write code that returns the cart information in object type. */\n return {};\n}"
}
],
"fingerprint": "1607319725963",
"parentFolderId": "25",
"formatValue": {}
}
],
"folder": [
{
"accountId": "6002696644",
"containerId": "36441434",
"folderId": "25",
"name": "Sprocket データ連携(リアルタイム取り込み)カート内データ",
"fingerprint": "1607319790530"
}
],
"builtInVariable": [
{
"accountId": "6002696644",
"containerId": "36441434",
"type": "PAGE_URL",
"name": "Page URL"
}
],
"fingerprint": "1607321870168",
"tagManagerUrl": "https://tagmanager.google.com/#/versions/accounts/6002696644/containers/36441434/versions/5?apiLink=version"
}
}