-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.tpl
573 lines (533 loc) · 23.1 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
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
___INFO___
{
"type": "TAG",
"id": "cvt_temp_public_id",
"version": 1,
"securityGroups": [],
"displayName": "Preciso Single Tag - Live",
"brand": {
"id": "brand_dummy",
"displayName": "",
"thumbnail": "data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMwaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA5LjEtYzAwMSA3OS4xNDYyODk5Nzc3LCAyMDIzLzA2LzI1LTIzOjU3OjE0ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjUuMyAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paW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7/68f0j+A+0yVF8OluaQa28zSjhbDE2PvuMngXOWrvhE9KwXFm2Wfc9kK2Oa8UHrkrcMJKtxl1fQ0M+6olTUKsuOHI7wtaceBuUMEMETYoY2xRMGDI2ANaByAaFDbb3khLA7r4fQgCAIAgCAIAgCAIDC539y7/7Nq/QPXa292P1LzOdbofJlRVrihCAtdT/AONmexx/TLKP3v3fMvF7f7fkVRWrKMIC1O6v/H1k/wCwfSOWVvvekXdt7aNrUU7hAEAQBAEAQBAEAQBAEAQBAEAQGJzfBJUZTvcEQ2pJaCqYxo1lzoXABdrd4VIvvXmc6qxg+RUFa4oQgN4m3v5qkyq3Lo7GOIQimdVtaRM6EDZ2NeyOroJwUFWFNVM/4kl3UsuU0dTiMEBbnJFsktmUbRQyjZlhpY+1bxPcNpw6CVkrmeapJ95fUY5YJGbXA6BAEAQBAEAQBAEAQBAEAQBAEAQAgEYHSDrCArFvUyJUZZv0k0EZ/J655ko5QOqwnS6E8RbwcY6VprG6VWGD6kU1zRyS7maQpxGCAICQ90O7+ozBeY7nWREWWgeHvc4aJpW6Wxt4xjpd3OFV9/dKnHKupku1oZni9yLIrNluEAQBAEAQBAEAQBAEAQBAEAQBAEAQHlulqt11oZaG407KmkmGD4njEchHCCOAhe4TcHingzzKKksGQ7mP4epTK+bL1e3szpFLV4gt5BKwHHparejq3Ca+BAqWP6Wa23cRn4v2THStHlmcYd4E95Sf/Tpd/wADj/CqG3ZZ+HymhlZPmKtFSG4H1Omxaw8jpDg4jmA51Eraq3sgsOZ3p2K/MyXKKipKGlipKOFlPTQtDYoYwGtaBwABVMpOTxe8npJLBH2Xk+hAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAEAQBAf//Z"
},
"description": "Master Tag that sends your users\u0027 event data from your website to Preciso.",
"containerContexts": [
"WEB"
]
}
___TEMPLATE_PARAMETERS___
[
{
"type": "TEXT",
"name": "tokenId",
"displayName": "Audience Id",
"simpleValueType": true,
"help": "Your unique Preciso audience ID provided by Preciso account manager. Its Numeric 4 to 6 digit value.",
"canBeEmptyString": false,
"valueValidators": [
{
"type": "NON_EMPTY"
},
{
"type": "NUMBER"
}
]
},
{
"type": "RADIO",
"name": "pixelType",
"displayName": "Pixel Type",
"radioItems": [
{
"value": "Generic",
"displayValue": "Single Pixel"
},
{
"value": "custom",
"displayValue": "Custom Pixel"
}
],
"simpleValueType": true
},
{
"type": "SELECT",
"name": "pageType",
"displayName": "Page Type",
"selectItems": [
{
"value": "Home",
"displayValue": "Home Page (Search)"
},
{
"value": "Category",
"displayValue": "Category Page (Search Result)"
},
{
"value": "Product",
"displayValue": "Product Page (itinerary)"
},
{
"value": "Basket",
"displayValue": "Basket Page"
},
{
"value": "Checkout",
"displayValue": "Thank You Page"
},
{
"value": "Generic",
"displayValue": "Any Page"
}
],
"simpleValueType": true,
"help": "Provide traffic from all pages from dropdown list",
"enablingConditions": [
{
"paramName": "pixelType",
"paramValue": "custom",
"type": "EQUALS"
}
],
"defaultValue": "Generic"
},
{
"type": "GROUP",
"name": "Transaction Group",
"displayName": "Transaction Details",
"groupStyle": "NO_ZIPPY",
"subParams": [
{
"type": "TEXT",
"name": "orderId",
"displayName": "Transaction Id",
"simpleValueType": true,
"enablingConditions": [
{
"paramName": "pageType",
"paramValue": "Checkout",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Generic",
"type": "EQUALS"
},
{
"paramName": "pixelType",
"paramValue": "Generic",
"type": "EQUALS"
}
],
"help": "Unique order Id for the transaction"
},
{
"type": "TEXT",
"name": "amount",
"displayName": "Transaction Amount",
"simpleValueType": true,
"enablingConditions": [
{
"paramName": "pageType",
"paramValue": "Checkout",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Generic",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Basket",
"type": "EQUALS"
},
{
"paramName": "pixelType",
"paramValue": "Generic",
"type": "EQUALS"
}
],
"help": "Order Amount in 000.00 format"
},
{
"type": "TEXT",
"name": "currency",
"displayName": "Currency",
"simpleValueType": true,
"enablingConditions": [
{
"paramName": "pageType",
"paramValue": "Checkout",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Generic",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Basket",
"type": "EQUALS"
},
{
"paramName": "pixelType",
"paramValue": "Generic",
"type": "EQUALS"
}
],
"help": "Currency of Order Amount in 3 letter format"
}
],
"enablingConditions": [
{
"paramName": "pageType",
"paramValue": "Generic",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Basket",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Checkout",
"type": "EQUALS"
},
{
"paramName": "pixelType",
"paramValue": "Generic",
"type": "EQUALS"
}
]
},
{
"type": "GROUP",
"name": "Product Group",
"displayName": "Product Items",
"groupStyle": "NO_ZIPPY",
"subParams": [
{
"type": "TEXT",
"name": "productId",
"displayName": "Product Id",
"simpleValueType": true,
"enablingConditions": [
{
"paramName": "pageType",
"paramValue": "Product",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Basket",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Checkout",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Category",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Generic",
"type": "EQUALS"
},
{
"paramName": "pixelType",
"paramValue": "Generic",
"type": "EQUALS"
}
],
"help": "Product id or a list of id\u0027s separated by , or |"
},
{
"type": "TEXT",
"name": "productPrice",
"displayName": "Product Price",
"simpleValueType": true,
"help": "Product Amount with discount",
"enablingConditions": [
{
"paramName": "pageType",
"paramValue": "Product",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Basket",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Checkout",
"type": "EQUALS"
}
]
},
{
"type": "TEXT",
"name": "productCategoryList",
"displayName": "Product Category List",
"simpleValueType": true,
"help": "Category name or Id separated by , or |",
"enablingConditions": [
{
"paramName": "pageType",
"paramValue": "Category",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "Product",
"type": "EQUALS"
},
{
"paramName": "pageType",
"paramValue": "generic",
"type": "EQUALS"
}
]
}
],
"enablingConditions": [
{
"paramName": "pageType",
"paramValue": "Home",
"type": "NOT_EQUALS"
}
]
},
{
"type": "GROUP",
"name": "Consents",
"displayName": "Consent Details",
"groupStyle": "ZIPPY_CLOSED",
"subParams": [
{
"type": "TEXT",
"name": "gdpr",
"displayName": "GDPR",
"simpleValueType": true,
"help": "0\u003dtraffic from a non-GDPR region, 1\u003d traffic from a GDPR region. 1 only needed if gdbr consent list will be provided",
"valueValidators": [
{
"type": "NON_NEGATIVE_NUMBER"
}
]
},
{
"type": "TEXT",
"name": "gdpr_consent",
"displayName": "GDBR Consent String",
"simpleValueType": true,
"help": "Gdpr Consent id \"317\" is the numeric Vendor ID of the vendor \"Preciso\" that is needed in receiving the TC string."
},
{
"type": "TEXT",
"name": "gdpr_pd",
"displayName": "GDBR Personal Data",
"simpleValueType": true,
"help": "Gdpr Pd Indicates whether generic URL parameters contain personal data, 0 for no, 1 indicates personal data"
},
{
"type": "TEXT",
"name": "us_privacy",
"displayName": "US Privacy String",
"simpleValueType": true,
"help": "Us Privacy must contains the US Privacy string when available from ad requests"
}
]
},
{
"type": "GROUP",
"name": "AdvancedSettings",
"displayName": "Debug Mode",
"groupStyle": "ZIPPY_OPEN_ON_PARAM",
"subParams": [
{
"type": "CHECKBOX",
"name": "Debug",
"checkboxText": "Activate debug mode",
"simpleValueType": true,
"help": "Activating the debug mode will log the Preciso collected data in the browser\u0027s console for troubleshooting purposes"
}
]
}
]
___SANDBOXED_JS_FOR_WEB_TEMPLATE___
const JSON = require('JSON');
const log = require('logToConsole');
const setInWindow = require('setInWindow');
const copyFromWindow = require('copyFromWindow');
const injectScript = require('injectScript');
const makeInteger = require('makeInteger');
const makeNumber = require('makeNumber');
const makeString = require('makeString');
if(data.debug_mode){
log("--- Preciso Single Tag Start ---");
log(data);
}
var accountId = '0001';
if (data.tokenId){
accountId = data.tokenId;
}
var datapartner = "rtgsettings";
// Initialize array
let precisodataarray = [];
if(data.productId){
precisodataarray.ProductId= data.productId;}
if(data.productprice){
precisodataarray.Amount= data.productPrice;}
if(data.productCategoryList){
precisodataarray.ProductCategoryList= data.productCategoryList;}
if(data.orderId){
precisodataarray.OrderId= data.orderId;}
if(data.amount){
precisodataarray.Amount=data.amount;}
if(data.currency){
precisodataarray.Currency= data.currency;}
if(data.gdpr){
precisodataarray.gdpr = data.gdpr;}
if(data.gdpr_consent){
precisodataarray.gdpr_consent= data.gdpr_consent;}
if(data.gdpr_pd){
precisodataarray.gdpr_pd= data.gdpr_pd;}
if(data.us_privacy){
precisodataarray.us_privacy= data.us_privacy;}
if(data.pageType){
precisodataarray.PageType= data.pageType;}
else{
precisodataarray.PageType = "Generic";}
setInWindow(datapartner, precisodataarray, true);
if(data.debug_mode){
log(precisodataarray);
log("--- Preciso Single Tag End ---");
}
injectScript('https://cdn.2trk.info/aud/clientjs/ptag.js?' + accountId, () => {
data.gtmOnSuccess();
}, () => {
data.gtmOnFailure();
}, 'pst');
// Call data.gtmOnSuccess when the tag is finished.
___WEB_PERMISSIONS___
[
{
"instance": {
"key": {
"publicId": "logging",
"versionId": "1"
},
"param": [
{
"key": "environments",
"value": {
"type": 1,
"string": "debug"
}
}
]
},
"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": "rtgsettings"
},
{
"type": 8,
"boolean": true
},
{
"type": 8,
"boolean": true
},
{
"type": 8,
"boolean": true
}
]
}
]
}
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
},
{
"instance": {
"key": {
"publicId": "inject_script",
"versionId": "1"
},
"param": [
{
"key": "urls",
"value": {
"type": 2,
"listItem": [
{
"type": 1,
"string": "https://cdn.2trk.info/aud/clientjs/*"
}
]
}
}
]
},
"clientAnnotations": {
"isEditedByUser": true
},
"isRequired": true
}
]
___TESTS___
scenarios: []
___NOTES___
Created on 1/31/2024, 5:45:36 PM