-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.tpl
248 lines (219 loc) · 17.7 KB
/
template.tpl
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
___TERMS_OF_SERVICE___
By creating or modifying this file you agree to Google Tag Manager's Community
Template Gallery Developer Terms of Service available at
https://developers.google.com/tag-manager/gallery-tos (or such other URL as
Google may provide), as modified from time to time.
___INFO___
{
"type": "TAG",
"id": "cvt_temp_public_id",
"version": 1,
"securityGroups": [],
"displayName": "eagle-insight-tag",
"brand": {
"id": "github.com_mercari",
"displayName": "mercari",
"thumbnail": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAMAAABIw9uxAAACUlBMVEUAAAD/AhH/AhH/AhH/AhH/AhH/AhH/AhH/AhH/AhH/AhH/AhH/AhH/AhFNyP9NyP9NyP//AhFNyP9NyP//AhFNyP9NyP9NyP9NyP9NyP//AhFNyP9NyP9NyP9NyP9NyP9NyP9NyP9NyP9NyP//AhFNyP9NyP9NyP9NyP//AhFNyP9NyP9NyP9NyP//AhFNyP9NyP9NyP//AhFNyP9NyP//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QtyXofVMD/ayyJ8wC5A/aRYgf9IsQP6kWYD8SbMA+ZNmAfInzQLkT5oFyJ80C5A/aRYgf9IsQP6kWYD8SbMA+ZP2uN4X5E/WzQLkT5kFyJ80C5A/aRYgf9IsQP6kWcDL/Xq7QFN+AfKnLb0A+UN2AfKH7ALkD9kFyB+yC5A/ZBcgf8guQP6QXYD8IbsA+UN2AfKH7ALkD9kFyB+yC5A/ZBcgf8guQP6QXYD8IbsA+UN2AfKH7ALkD9kFyB+yC5A/ZBcgf3hpLkD+8NZbgPzhQ2sB8ocvnQXIH35oLED+sGL+AuQPG2YvQP6wY+4C5A8HzFyA/OGgeQuQP5wwawHyh5PmLED+8A+OLED+MNbeAuQPo20tQP4w3toC5A9P9utYNWEoDMPwIUVRkgyBTLkD14CDKBJxcHLQIfd/KT1LSyktte3k+Z/nHt4PvhC+mgD5QxifJ0D+EMrHCZA/hPM2AfKHkF6qRv4QV9028oe48gTIH+LKEyB/iCtPgPwhrjwB8oe4/jUBjfzhyf15Apq2TsCzyxMgf4irrhbzrywq+UM5luvd/LDdepmAkgzT2M8P6MdpSEBxTsdD/0P9h+MpAYVaTe25/yb+czutElC2W3fZjvv7/O6+H7eX7paAMIbNtcuuG5cfAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeGUPDgQAAAAAgPxfG0FVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVdiDAwEAAAAAIP/XRlBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVlfbgkAAAAABA0P/XrrABAAAAAAAAAAAAAMApuWV/PLcLBFcAAAAASUVORK5CYII\u003d"
},
"description": "Implementation of tracking code for mercari advertising system \"eagle-insight\"",
"containerContexts": [
"WEB"
]
}
___TEMPLATE_PARAMETERS___
[
{
"type": "TEXT",
"name": "scriptAddress",
"displayName": "SCRIPT_ADDRESS",
"simpleValueType": true,
"defaultValue": "https://tag.eisa.mercari.com/eagletag.js",
"help": "Specifies the URL of the Eagle Insight Tracking Library script.\nPlease set with the URL you told us. (If not provided, use the default)"
},
{
"type": "TEXT",
"name": "accountID",
"displayName": "ACCOUNT_ID",
"simpleValueType": true,
"help": "Specify the ad account ID.Please set the ID you told us."
},
{
"type": "TEXT",
"name": "analyticsType",
"displayName": "ANALYTICS_TYPE",
"simpleValueType": true,
"help": "Specify the type of Analytics you are using.\nFor details, refer to the SDK installation guide.",
"canBeEmptyString": true
},
{
"type": "TEXT",
"name": "cookieDomain",
"displayName": "COOKIE_DOMAIN",
"simpleValueType": true,
"canBeEmptyString": true,
"help": "Specify the domain of the site.\nPlease specify the root domain. (If your site doesn\u0027t have a subdomain, you don\u0027t have to set it).\nex : If lp is `lp.example.com` and the product purchase completion page is` purchase.example.com`, specify ʻexample.com`."
}
]
___SANDBOXED_JS_FOR_WEB_TEMPLATE___
const log = require('logToConsole');
const injectScript = require('injectScript');
const copyFromWindow = require('copyFromWindow');
const setInWindow = require('setInWindow');
log('mercari ad tracking data : ', data);
const eagletag = copyFromWindow('eagletag') || {cmd: []};
eagletag.cmd.push(function() {
const egl = copyFromWindow('eagletag');
egl.setAccountID(data.accountID);
egl.setAnalyticsType(data.analyticsType);
egl.writeTrackingID(data.cookieDomain);
});
eagletag.cmd.push(function() {
const egl = copyFromWindow('eagletag');
egl.run();
});
setInWindow('eagletag', eagletag, true);
injectScript(data.scriptAddress, data.gtmOnSuccess, data.gtmOnFailure);
___WEB_PERMISSIONS___
[
{
"instance": {
"key": {
"publicId": "logging",
"versionId": "1"
},
"param": [
{
"key": "environments",
"value": {
"type": 1,
"string": "debug"
}
}
]
},
"isRequired": true
},
{
"instance": {
"key": {
"publicId": "inject_script",
"versionId": "1"
},
"param": [
{
"key": "urls",
"value": {
"type": 2,
"listItem": [
{
"type": 1,
"string": "https://*.eisa.mercari.com/"
}
]
}
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
"instance": {
"key": {
"publicId": "access_globals",
"versionId": "1"
},
"param": [
{
"key": "keys",
"value": {
"type": 2,
"listItem": [
{
"type": 3,
"mapKey": [
{
"type": 1,
"string": "key"
},
{
"type": 1,
"string": "read"
},
{
"type": 1,
"string": "write"
},
{
"type": 1,
"string": "execute"
}
],
"mapValue": [
{
"type": 1,
"string": "eagletag"
},
{
"type": 8,
"boolean": true
},
{
"type": 8,
"boolean": true
},
{
"type": 8,
"boolean": true
}
]
}
]
}
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
}
]
___TESTS___
scenarios:
- name: Test run
code: |-
const mockData = {
// Mocked field values
scriptAddress: 'https://tag.eisa.mercari.com/eagletag.js',
accountID: 'sample-dc924c9e-d2ea-42aa',
analyticsType: '',
cookieDomain: 'sample-domain',
};
// Call runCode to run the template's code.
runCode(mockData);
// Verify that the tag finished successfully.
assertApi('injectScript').wasCalled();
- name: Test function added check
code: |-
const setInWindow = require('setInWindow');
const copyFromWindow = require('copyFromWindow');
// Clear because the test result of the previous stage is inherited
setInWindow('eagletag', {cmd: []}, true);
const mockData = {
// Mocked field values
scriptAddress: 'https://tag.eisa.mercari.com/eagletag.js',
accountID: 'sample-dc924c9e-d2ea-42aa',
analyticsType: '',
cookieDomain: 'sample-domain',
};
// Call runCode to run the template's code.
runCode(mockData);
// Verify that the tag finished successfully.
const eagletag = copyFromWindow('eagletag');
const exp = eagletag.cmd && eagletag.cmd.length === 2;
assertThat(exp).isTrue();
___NOTES___
Created on 2020/10/9 18:07:47