This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.tpl
378 lines (348 loc) · 15.6 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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
___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": "Qwarry Conversion",
"categories": [
"CONVER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lOlH8aETlDM98PMg7Nn56nIuRglJ89zWeg7e7m7l+QaH/yJ2GlCNT6BxpgiBF/68GFXvaCFp6jyn+HADqanO7DZO4Pd/B+WXjibmIYuFL1MYfCg7hh0SIemBPHQtAfTMGn7wTnj+B3/uXltPWdagukj/sL+DtgCH8B/FYuR9gA2h8Geim6tPpELSPE/u7Ux3lRJBH2CxwDNwWUi6xRQH5ELSAyEhWgqoLJwHWBeg8l1WZMjpFo8uvfiRTUgaecn+Ch6U4w1MuOcVWjgfQUA2988qJD2qghXL3rkFDuCnFfrIem4g+n1LEiHpUWFRhGNUN5MKSY8KiyKM7fnDdFlZhKRHhUURwKTfKKuQ9OgBX8kAOtVbhJAMmVGYi5KPi3axRBc6ESckPWBevNbdRSFkFZLjLlZIhkBCzrWeXZRAoqroFCEkQ6D9wqUKTBF0kcd/Z4y+ICkxVZyQDIEd5lxVMjGswddgDMlPuMCR1l8rWkiGgIXsC+RO6C6TjivYMdDRxIwBkCzFCasRkjFw8D/V0H1yuvyZbxRRw7CwnRPMUdCBHEu1QjIGJuSo8rgjarrd4TuYTFkLZQSa/jdnHqZL2jIbITExEJwPFefqY1mBQNzkTE9GWDKTJIsNmbWQ2BgIz1tEOmxJrKFf+Y/cwjDFyE+2hnTaLK3UVUgCgAnsU2nfgvqWW4XrU4W7/35CL0AtvkeACkliQMCwAjWZC68w0zTN/wFr4/pRsvqvJwAAAABJRU5ErkJggg\u003d\u003d"
},
"description": "Conversion measurement for Qwarry (can be used as a simple visit tag)",
"containerContexts": [
"WEB"
]
}
___TEMPLATE_PARAMETERS___
[
{
"type": "RADIO",
"name": "tagType",
"displayName": "How do you want to use this tag ?",
"radioItems": [
{
"value": "visit",
"displayValue": "As a visit tag",
"help": "Use it if you want to treat a simple visit on the landing page"
},
{
"value": "conversion",
"displayValue": "As a conversion tag",
"help": "Use it if you want to treat a conversion involving multiple pages"
}
],
"simpleValueType": true
},
{
"type": "RADIO",
"name": "postbackMethod",
"displayName": "How the conversion notification to Qwarry is made ?",
"radioItems": [
{
"value": "pixel",
"displayValue": "Using a pixel",
"help": "The tag will fire a pixel to notify Qwarry"
},
{
"value": "iframe",
"displayValue": "Using a hidden iframe",
"help": "The tag will spawn a hidden iframe to notify Qwarry"
}
],
"simpleValueType": true,
"valueValidators": [
{
"type": "NON_EMPTY"
}
],
"defaultValue": "pixel"
},
{
"type": "TEXT",
"name": "advertiserTagId",
"displayName": "Advertiser tag ID",
"simpleValueType": true,
"valueValidators": [
{
"type": "NON_EMPTY"
}
],
"help": "Your Qwarry advertiser tag ID"
},
{
"type": "TEXT",
"name": "customValue",
"displayName": "Custom value",
"simpleValueType": true,
"defaultValue": 1,
"valueValidators": [
{
"type": "NON_EMPTY"
},
{
"type": "NON_NEGATIVE_NUMBER"
}
],
"help": "Leave the default value (1) if no additional information was given from the Qwarry AdOps team"
},
{
"type": "SELECT",
"name": "postclickAttributionDuration",
"displayName": "Conversion postclick attribution",
"macrosInSelect": false,
"selectItems": [
{
"value": 24,
"displayValue": "24 hours"
},
{
"value": 48,
"displayValue": "48 hours"
},
{
"value": 168,
"displayValue": "7 days"
}
],
"simpleValueType": true,
"help": "It represents the duration under which the conversion is attributed to Qwarry",
"valueValidators": [
{
"type": "NON_EMPTY"
}
],
"enablingConditions": [
{
"paramName": "tagType",
"paramValue": "conversion",
"type": "EQUALS"
}
],
"defaultValue": 24
}
]
___SANDBOXED_JS_FOR_WEB_TEMPLATE___
const localStorage = require("localStorage");
const getQueryParameters = require("getQueryParameters");
const getTimestampMillis = require("getTimestampMillis");
const encodeUriComponent = require("encodeUriComponent");
const sendPixel = require("sendPixel");
const injectHiddenIframe = require("injectHiddenIframe");
const QWARRY_ID_URL_QUERY_PARAM_NAME = "qwarryid";
const QWARRY_ID_STORAGE_KEY_NAME = "qwarry_id";
const QWARRY_ID_CREATED_AT_STORAGE_KEY_NAME = "qwarry_id_created_at";
// URL query param always takes precedence over the storage
let qwarryId = getQueryParameters(QWARRY_ID_URL_QUERY_PARAM_NAME) || "";
if (data.tagType === "conversion" && !qwarryId) {
qwarryId = localStorage.getItem(QWARRY_ID_STORAGE_KEY_NAME) || "";
const createdAt = localStorage.getItem(QWARRY_ID_CREATED_AT_STORAGE_KEY_NAME);
// Qwarry ID gets destroyed from the storage once consumed
if (qwarryId !== "") {
localStorage.removeItem(QWARRY_ID_STORAGE_KEY_NAME);
localStorage.removeItem(QWARRY_ID_CREATED_AT_STORAGE_KEY_NAME);
}
if (createdAt) {
const diff = (getTimestampMillis() - createdAt); // ms
// If over the configured postclick attribution duration, Qwarry ID is not forwarded
if (diff >= (data.postclickAttributionDuration * 3600000)) {
qwarryId = "";
}
}
}
// Postback is always done, even with an empty qwarryId
const qwarryPostbackUrl = "https://event-logger.qwarry.co/event/conversion?id="+ encodeUriComponent(data.advertiserTagId)+
"&trackingId="+ encodeUriComponent(qwarryId)+
"&value="+ encodeUriComponent(data.customValue);
if (data.postbackMethod === "iframe") {
injectHiddenIframe(qwarryPostbackUrl, data.gtmOnSuccess);
} else {
sendPixel(qwarryPostbackUrl, data.gtmOnSuccess);
}
data.gtmOnSuccess();
___WEB_PERMISSIONS___
[
{
"instance": {
"key": {
"publicId": "access_local_storage",
"versionId": "1"
},
"param": [
{
"key": "keys",
"value": {
"type": 2,
"listItem": [
{
"type": 3,
"mapKey": [
{
"type": 1,
"string": "key"
},
{
"type": 1,
"string": "read"
},
{
"type": 1,
"string": "write"
}
],
"mapValue": [
{
"type": 1,
"string": "qwarry_id"
},
{
"type": 8,
"boolean": true
},
{
"type": 8,
"boolean": true
}
]
},
{
"type": 3,
"mapKey": [
{
"type": 1,
"string": "key"
},
{
"type": 1,
"string": "read"
},
{
"type": 1,
"string": "write"
}
],
"mapValue": [
{
"type": 1,
"string": "qwarry_id_created_at"
},
{
"type": 8,
"boolean": true
},
{
"type": 8,
"boolean": true
}
]
}
]
}
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
"instance": {
"key": {
"publicId": "send_pixel",
"versionId": "1"
},
"param": [
{
"key": "allowedUrls",
"value": {
"type": 1,
"string": "specific"
}
},
{
"key": "urls",
"value": {
"type": 2,
"listItem": [
{
"type": 1,
"string": "https://event-logger.qwarry.co/event/conversion*"
}
]
}
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
"instance": {
"key": {
"publicId": "inject_hidden_iframe",
"versionId": "1"
},
"param": [
{
"key": "urls",
"value": {
"type": 2,
"listItem": [
{
"type": 1,
"string": "https://event-logger.qwarry.co/event/conversion*"
}
]
}
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
"instance": {
"key": {
"publicId": "get_url",
"versionId": "1"
},
"param": [
{
"key": "urlParts",
"value": {
"type": 1,
"string": "any"
}
},
{
"key": "queriesAllowed",
"value": {
"type": 1,
"string": "any"
}
}
]
},
"isRequired": true
}
]
___TESTS___
scenarios: []
setup: ''
___NOTES___
Created on 08/09/2020 à 17:53:47