@metarouter/ajs-starter-kit 1.0.151 → 1.0.153
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dist/attentive/connection.etag.json +1 -0
- package/.dist/attentive/connection.json +96 -0
- package/.dist/attentive/kit.etag.json +1 -0
- package/.dist/attentive/metadata.json +21 -0
- package/.dist/attentive/playbook.etag.json +1 -0
- package/.dist/attentive/playbook.json +1414 -0
- package/.dist/bing-ads/kit.etag.json +1 -1
- package/.dist/bing-ads/metadata.json +6 -2
- package/.dist/connection-schemas.json +0 -1
- package/.dist/engage-front/kit.etag.json +1 -1
- package/.dist/engage-front/metadata.json +4 -0
- package/.dist/engage-front/playbook.etag.json +1 -1
- package/.dist/engage-front/playbook.json +2 -2
- package/.dist/eulerian/connection.etag.json +1 -0
- package/.dist/eulerian/connection.json +30 -0
- package/.dist/eulerian/kit.etag.json +1 -0
- package/.dist/eulerian/metadata.json +21 -0
- package/.dist/eulerian/playbook.etag.json +1 -0
- package/.dist/eulerian/playbook.json +156 -0
- package/.dist/google-ads/kit.etag.json +1 -1
- package/.dist/google-ads/metadata.json +4 -0
- package/.dist/google-ads/playbook.etag.json +1 -1
- package/.dist/google-ads/playbook.json +11 -1
- package/.dist/google-analytics-4/connection.etag.json +1 -1
- package/.dist/google-analytics-4/connection.json +18 -13
- package/.dist/google-analytics-4/kit.etag.json +1 -1
- package/.dist/google-analytics-4/metadata.json +4 -0
- package/.dist/google-analytics-4/playbook.etag.json +1 -1
- package/.dist/google-analytics-4/playbook.json +209 -54
- package/.dist/microsoft-ads/kit.etag.json +1 -1
- package/.dist/microsoft-ads/metadata.json +5 -1
- package/.dist/tiktok/kit.etag.json +1 -1
- package/.dist/tiktok/metadata.json +4 -0
- package/.dist/tiktok/playbook.etag.json +1 -1
- package/.dist/tiktok/playbook.json +303 -24
- package/.dist/ttd-conversions/kit.etag.json +1 -1
- package/.dist/ttd-conversions/metadata.json +4 -0
- package/.dist/ttd-conversions/playbook.etag.json +1 -1
- package/.dist/ttd-conversions/playbook.json +3 -7
- package/.dist/wallaroo/kit.etag.json +1 -1
- package/.dist/wallaroo/metadata.json +4 -0
- package/.dist/wallaroo/playbook.etag.json +1 -1
- package/.dist/wallaroo/playbook.json +2 -1
- package/README.md +20 -9
- package/index.js +22 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
2
|
+
"version": "2.5.0",
|
|
3
3
|
"default": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
{
|
|
18
18
|
"outputKey": "partner_name",
|
|
19
19
|
"staticString": "Mr"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"outputKey": "limited_data_use",
|
|
23
|
+
"staticBool": false
|
|
20
24
|
}
|
|
21
25
|
],
|
|
22
26
|
"mappings": [
|
|
@@ -38,23 +42,15 @@
|
|
|
38
42
|
"transforms": [
|
|
39
43
|
{
|
|
40
44
|
"expression": {
|
|
41
|
-
"body": "return
|
|
45
|
+
"body": "return SECONDS_SINCE_EPOCH_FROM_RFC3999(input.timestamp or input.receivedAt)",
|
|
42
46
|
"lang": "lua"
|
|
43
47
|
}
|
|
44
48
|
}
|
|
45
49
|
]
|
|
46
50
|
},
|
|
47
51
|
{
|
|
48
|
-
"inputKey": "
|
|
49
|
-
"outputKey": "page.url"
|
|
50
|
-
"transforms": [
|
|
51
|
-
{
|
|
52
|
-
"expression": {
|
|
53
|
-
"body": "return SPLIT(input.context.page.url, \"?\", 1)[1] or \"\"",
|
|
54
|
-
"lang": "lua"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
]
|
|
52
|
+
"inputKey": "context.page.url",
|
|
53
|
+
"outputKey": "page.url"
|
|
58
54
|
},
|
|
59
55
|
{
|
|
60
56
|
"inputKey": "context.page.referrer",
|
|
@@ -108,6 +104,10 @@
|
|
|
108
104
|
{
|
|
109
105
|
"inputKey": "context.userAgent",
|
|
110
106
|
"outputKey": "user.user_agent"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"inputKey": "context.locale",
|
|
110
|
+
"outputKey": "user.locale"
|
|
111
111
|
}
|
|
112
112
|
]
|
|
113
113
|
},
|
|
@@ -122,6 +122,20 @@
|
|
|
122
122
|
"outputKey": "properties.description",
|
|
123
123
|
"staticString": "page"
|
|
124
124
|
}
|
|
125
|
+
],
|
|
126
|
+
"mappings": [
|
|
127
|
+
{
|
|
128
|
+
"inputKey": "input",
|
|
129
|
+
"outputKey": "properties.contents",
|
|
130
|
+
"transforms": [
|
|
131
|
+
{
|
|
132
|
+
"expression": {
|
|
133
|
+
"body": "return {{\n content_id=input.context.page.path,\n content_name=input.context.page.title\n}}",
|
|
134
|
+
"lang": "lua"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
}
|
|
125
139
|
]
|
|
126
140
|
},
|
|
127
141
|
"products_searched": {
|
|
@@ -134,7 +148,7 @@
|
|
|
134
148
|
"mappings": [
|
|
135
149
|
{
|
|
136
150
|
"inputKey": "properties.query",
|
|
137
|
-
"outputKey": "properties.
|
|
151
|
+
"outputKey": "properties.search_string"
|
|
138
152
|
}
|
|
139
153
|
]
|
|
140
154
|
},
|
|
@@ -171,7 +185,31 @@
|
|
|
171
185
|
{
|
|
172
186
|
"expression": {
|
|
173
187
|
"lang": "lua",
|
|
174
|
-
"body": "return
|
|
188
|
+
"body": "return TOTAL_VALUE(input.properties.products)"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"inputKey": "input",
|
|
195
|
+
"outputKey": "properties.num_items",
|
|
196
|
+
"transforms": [
|
|
197
|
+
{
|
|
198
|
+
"expression": {
|
|
199
|
+
"lang": "lua",
|
|
200
|
+
"body": "return SUM(MAP(input.properties.products, function (p) return p.quantity or 1 end))"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"inputKey": "input",
|
|
207
|
+
"outputKey": "properties.content_ids",
|
|
208
|
+
"transforms": [
|
|
209
|
+
{
|
|
210
|
+
"expression": {
|
|
211
|
+
"lang": "lua",
|
|
212
|
+
"body": "return MAP(input.properties.products, function (p) return p.product_id or p.sku end)"
|
|
175
213
|
}
|
|
176
214
|
}
|
|
177
215
|
]
|
|
@@ -182,7 +220,7 @@
|
|
|
182
220
|
"transforms": [
|
|
183
221
|
{
|
|
184
222
|
"expression": {
|
|
185
|
-
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id,\n content_name=p.name,\n content_category=p.category,\n brand=p.brand,\n price=p.price,\n quantity=p.quantity\n }\n end\n)\nreturn contents",
|
|
223
|
+
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id or p.sku,\n content_name=p.name,\n content_category=p.category,\n brand=p.brand,\n price=p.price,\n quantity=p.quantity or 1\n }\n end\n)\nreturn contents",
|
|
186
224
|
"lang": "lua"
|
|
187
225
|
}
|
|
188
226
|
}
|
|
@@ -220,6 +258,23 @@
|
|
|
220
258
|
"inputKey": "properties.price",
|
|
221
259
|
"outputKey": "properties.value"
|
|
222
260
|
},
|
|
261
|
+
{
|
|
262
|
+
"inputKey": "properties.quantity",
|
|
263
|
+
"outputKey": "properties.num_items",
|
|
264
|
+
"defaultInt": 1
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"inputKey": "input",
|
|
268
|
+
"outputKey": "properties.content_ids",
|
|
269
|
+
"transforms": [
|
|
270
|
+
{
|
|
271
|
+
"expression": {
|
|
272
|
+
"lang": "lua",
|
|
273
|
+
"body": "return {input.properties.product_id or input.properties.sku}"
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
},
|
|
223
278
|
{
|
|
224
279
|
"inputKey": "input",
|
|
225
280
|
"outputKey": "properties.contents",
|
|
@@ -246,6 +301,10 @@
|
|
|
246
301
|
}
|
|
247
302
|
],
|
|
248
303
|
"mappings": [
|
|
304
|
+
{
|
|
305
|
+
"inputKey": "properties.name",
|
|
306
|
+
"outputKey": "properties.description"
|
|
307
|
+
},
|
|
249
308
|
{
|
|
250
309
|
"inputKey": "properties.currency",
|
|
251
310
|
"outputKey": "properties.currency",
|
|
@@ -263,7 +322,24 @@
|
|
|
263
322
|
{
|
|
264
323
|
"expression": {
|
|
265
324
|
"lang": "lua",
|
|
266
|
-
"body": "return
|
|
325
|
+
"body": "return TOTAL_VALUE(input.properties)"
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
]
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"inputKey": "properties.quantity",
|
|
332
|
+
"outputKey": "properties.num_items",
|
|
333
|
+
"defaultInt": 1
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"inputKey": "input",
|
|
337
|
+
"outputKey": "properties.content_ids",
|
|
338
|
+
"transforms": [
|
|
339
|
+
{
|
|
340
|
+
"expression": {
|
|
341
|
+
"lang": "lua",
|
|
342
|
+
"body": "return {input.properties.product_id or input.properties.sku}"
|
|
267
343
|
}
|
|
268
344
|
}
|
|
269
345
|
]
|
|
@@ -274,7 +350,7 @@
|
|
|
274
350
|
"transforms": [
|
|
275
351
|
{
|
|
276
352
|
"expression": {
|
|
277
|
-
"body": "return {{\n content_id=input.properties.product_id,\n content_name=input.properties.name,\n content_category=input.properties.category,\n brand=input.properties.brand,\n price=input.properties.price,\n quantity=input.properties.quantity\n}}",
|
|
353
|
+
"body": "return {{\n content_id=input.properties.product_id or input.properties.sku,\n content_name=input.properties.name,\n content_category=input.properties.category,\n brand=input.properties.brand,\n price=input.properties.price,\n quantity=input.properties.quantity or 1\n}}",
|
|
278
354
|
"lang": "lua"
|
|
279
355
|
}
|
|
280
356
|
}
|
|
@@ -282,7 +358,7 @@
|
|
|
282
358
|
}
|
|
283
359
|
]
|
|
284
360
|
},
|
|
285
|
-
"
|
|
361
|
+
"checkout_started": {
|
|
286
362
|
"enrichments": [
|
|
287
363
|
{
|
|
288
364
|
"outputKey": "event",
|
|
@@ -311,7 +387,31 @@
|
|
|
311
387
|
{
|
|
312
388
|
"expression": {
|
|
313
389
|
"lang": "lua",
|
|
314
|
-
"body": "return
|
|
390
|
+
"body": "return TOTAL_VALUE(input.properties.products)"
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
]
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"inputKey": "input",
|
|
397
|
+
"outputKey": "properties.num_items",
|
|
398
|
+
"transforms": [
|
|
399
|
+
{
|
|
400
|
+
"expression": {
|
|
401
|
+
"lang": "lua",
|
|
402
|
+
"body": "return SUM(MAP(input.properties.products, function (p) return p.quantity or 1 end))"
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
]
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"inputKey": "input",
|
|
409
|
+
"outputKey": "properties.content_ids",
|
|
410
|
+
"transforms": [
|
|
411
|
+
{
|
|
412
|
+
"expression": {
|
|
413
|
+
"lang": "lua",
|
|
414
|
+
"body": "return MAP(input.properties.products, function (p) return p.product_id or p.sku end)"
|
|
315
415
|
}
|
|
316
416
|
}
|
|
317
417
|
]
|
|
@@ -322,7 +422,7 @@
|
|
|
322
422
|
"transforms": [
|
|
323
423
|
{
|
|
324
424
|
"expression": {
|
|
325
|
-
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id,\n content_name=p.name,\n content_category=p.category,\n brand=p.brand,\n price=p.price,\n quantity=p.quantity\n }\n end\n)\nreturn contents",
|
|
425
|
+
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id or p.sku,\n content_name=p.name,\n content_category=p.category,\n brand=p.brand,\n price=p.price,\n quantity=p.quantity or 1\n }\n end\n)\nreturn contents",
|
|
326
426
|
"lang": "lua"
|
|
327
427
|
}
|
|
328
428
|
}
|
|
@@ -363,7 +463,118 @@
|
|
|
363
463
|
{
|
|
364
464
|
"expression": {
|
|
365
465
|
"lang": "lua",
|
|
366
|
-
"body": "return
|
|
466
|
+
"body": "return TOTAL_VALUE(input.properties.products)"
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"inputKey": "input",
|
|
473
|
+
"outputKey": "properties.num_items",
|
|
474
|
+
"transforms": [
|
|
475
|
+
{
|
|
476
|
+
"expression": {
|
|
477
|
+
"lang": "lua",
|
|
478
|
+
"body": "return SUM(MAP(input.properties.products, function (p) return p.quantity or 1 end))"
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
]
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"inputKey": "input",
|
|
485
|
+
"outputKey": "properties.content_ids",
|
|
486
|
+
"transforms": [
|
|
487
|
+
{
|
|
488
|
+
"expression": {
|
|
489
|
+
"lang": "lua",
|
|
490
|
+
"body": "return MAP(input.properties.products, function (p) return p.product_id or p.sku end)"
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
]
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"inputKey": "input",
|
|
497
|
+
"outputKey": "properties.contents",
|
|
498
|
+
"transforms": [
|
|
499
|
+
{
|
|
500
|
+
"expression": {
|
|
501
|
+
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id or p.sku,\n content_name=p.name,\n content_category=p.category,\n brand=p.brand,\n price=p.price,\n quantity=p.quantity or 1\n }\n end\n)\nreturn contents",
|
|
502
|
+
"lang": "lua"
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
]
|
|
506
|
+
}
|
|
507
|
+
]
|
|
508
|
+
},
|
|
509
|
+
"payment_info_entered": {
|
|
510
|
+
"enrichments": [
|
|
511
|
+
{
|
|
512
|
+
"outputKey": "event",
|
|
513
|
+
"staticString": "AddPaymentInfo"
|
|
514
|
+
}
|
|
515
|
+
],
|
|
516
|
+
"mappings": [
|
|
517
|
+
{
|
|
518
|
+
"inputKey": "properties.order_id",
|
|
519
|
+
"outputKey": "properties.order_id"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"inputKey": "properties.payment_method",
|
|
523
|
+
"outputKey": "properties.description"
|
|
524
|
+
}
|
|
525
|
+
]
|
|
526
|
+
},
|
|
527
|
+
"product_added_to_wishlist": {
|
|
528
|
+
"enrichments": [
|
|
529
|
+
{
|
|
530
|
+
"outputKey": "event",
|
|
531
|
+
"staticString": "AddToWishlist"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"outputKey": "properties.content_type",
|
|
535
|
+
"staticString": "product"
|
|
536
|
+
}
|
|
537
|
+
],
|
|
538
|
+
"mappings": [
|
|
539
|
+
{
|
|
540
|
+
"inputKey": "properties.name",
|
|
541
|
+
"outputKey": "properties.description"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"inputKey": "properties.currency",
|
|
545
|
+
"outputKey": "properties.currency",
|
|
546
|
+
"defaultString": "USD",
|
|
547
|
+
"transforms": [
|
|
548
|
+
{
|
|
549
|
+
"modifyString": "uppercase"
|
|
550
|
+
}
|
|
551
|
+
]
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"inputKey": "input",
|
|
555
|
+
"outputKey": "properties.value",
|
|
556
|
+
"transforms": [
|
|
557
|
+
{
|
|
558
|
+
"expression": {
|
|
559
|
+
"lang": "lua",
|
|
560
|
+
"body": "return TOTAL_VALUE(input.properties)"
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
]
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"inputKey": "properties.quantity",
|
|
567
|
+
"outputKey": "properties.num_items",
|
|
568
|
+
"defaultInt": 1
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"inputKey": "input",
|
|
572
|
+
"outputKey": "properties.content_ids",
|
|
573
|
+
"transforms": [
|
|
574
|
+
{
|
|
575
|
+
"expression": {
|
|
576
|
+
"lang": "lua",
|
|
577
|
+
"body": "return {input.properties.product_id or input.properties.sku}"
|
|
367
578
|
}
|
|
368
579
|
}
|
|
369
580
|
]
|
|
@@ -374,7 +585,7 @@
|
|
|
374
585
|
"transforms": [
|
|
375
586
|
{
|
|
376
587
|
"expression": {
|
|
377
|
-
"body": "
|
|
588
|
+
"body": "return {{\n content_id=input.properties.product_id or input.properties.sku,\n content_name=input.properties.name,\n content_category=input.properties.category,\n brand=input.properties.brand,\n price=input.properties.price,\n quantity=input.properties.quantity or 1\n}}",
|
|
378
589
|
"lang": "lua"
|
|
379
590
|
}
|
|
380
591
|
}
|
|
@@ -382,11 +593,79 @@
|
|
|
382
593
|
}
|
|
383
594
|
]
|
|
384
595
|
},
|
|
385
|
-
"
|
|
596
|
+
"cart_viewed": {
|
|
386
597
|
"enrichments": [
|
|
387
598
|
{
|
|
388
599
|
"outputKey": "event",
|
|
389
|
-
"staticString": "
|
|
600
|
+
"staticString": "ViewContent"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"outputKey": "properties.description",
|
|
604
|
+
"staticString": "cart viewed"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"outputKey": "properties.content_type",
|
|
608
|
+
"staticString": "product"
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
"mappings": [
|
|
612
|
+
{
|
|
613
|
+
"inputKey": "properties.currency",
|
|
614
|
+
"outputKey": "properties.currency",
|
|
615
|
+
"defaultString": "USD",
|
|
616
|
+
"transforms": [
|
|
617
|
+
{
|
|
618
|
+
"modifyString": "uppercase"
|
|
619
|
+
}
|
|
620
|
+
]
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"inputKey": "input",
|
|
624
|
+
"outputKey": "properties.value",
|
|
625
|
+
"transforms": [
|
|
626
|
+
{
|
|
627
|
+
"expression": {
|
|
628
|
+
"lang": "lua",
|
|
629
|
+
"body": "return TOTAL_VALUE(input.properties.products)"
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
]
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"inputKey": "input",
|
|
636
|
+
"outputKey": "properties.num_items",
|
|
637
|
+
"transforms": [
|
|
638
|
+
{
|
|
639
|
+
"expression": {
|
|
640
|
+
"lang": "lua",
|
|
641
|
+
"body": "return SUM(MAP(input.properties.products, function (p) return p.quantity or 1 end))"
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
]
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"inputKey": "input",
|
|
648
|
+
"outputKey": "properties.content_ids",
|
|
649
|
+
"transforms": [
|
|
650
|
+
{
|
|
651
|
+
"expression": {
|
|
652
|
+
"lang": "lua",
|
|
653
|
+
"body": "return MAP(input.properties.products, function (p) return p.product_id or p.sku end)"
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
]
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"inputKey": "input",
|
|
660
|
+
"outputKey": "properties.contents",
|
|
661
|
+
"transforms": [
|
|
662
|
+
{
|
|
663
|
+
"expression": {
|
|
664
|
+
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id or p.sku,\n content_name=p.name,\n content_category=p.category,\n brand=p.brand,\n price=p.price,\n quantity=p.quantity or 1\n }\n end\n)\nreturn contents",
|
|
665
|
+
"lang": "lua"
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
]
|
|
390
669
|
}
|
|
391
670
|
]
|
|
392
671
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"086d3153c5abe8bfc01be66b906f6d32 -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"59ce5d40960d396392226ea7ad5b631c -"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.2.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "PIXEL_ID",
|
|
@@ -48,10 +48,6 @@
|
|
|
48
48
|
"inputKey": "context.providers.theTradeDesk.ttd_id",
|
|
49
49
|
"outputKey": "tdid"
|
|
50
50
|
},
|
|
51
|
-
{
|
|
52
|
-
"inputKey": "context.device.advertisingId",
|
|
53
|
-
"outputKey": "daid"
|
|
54
|
-
},
|
|
55
51
|
{
|
|
56
52
|
"inputKey": "context.ip",
|
|
57
53
|
"outputKey": "client_ip"
|
|
@@ -80,8 +76,8 @@
|
|
|
80
76
|
"expressions": [
|
|
81
77
|
{
|
|
82
78
|
"lang": "lua",
|
|
83
|
-
"name": "Mobile
|
|
84
|
-
"body": "local
|
|
79
|
+
"name": "Mobile Advertising ID",
|
|
80
|
+
"body": "local type = LOWER(input.context.device.type)\nlocal advertisingId = input.context.device.advertisingId\n\nif type == 'android' then\n return { idfa = advertisingId }\nelseif type == 'ios' then\n return { aaid = advertisingId }\nelseif advertisingId then\n return { daid = advertisingId }\nend"
|
|
85
81
|
}
|
|
86
82
|
]
|
|
87
83
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"a4050035f6e3b4132bb58d57d221362c -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"ff1d631bd1762109bbc0f973e2abdc76 -"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.1",
|
|
3
3
|
"global": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"expressions": [
|
|
33
33
|
{
|
|
34
34
|
"lang": "lua",
|
|
35
|
+
"name": "Site and Click Data",
|
|
35
36
|
"body": "local array = {}\nif input.inputs and input.inputs.inputs and #input.inputs.inputs > 0 then\n for _, row in ipairs(input.inputs.inputs) do\n table.insert(array, { click_data = row.click_data, site_id = row.site_id })\n end\nelse\n table.insert(array, {\n click_data = \"\",\n site_id = \"\"\n })\n end\n\nlocal result = { inputs = TO_STRING({ inputs = array }) }\nreturn result"
|
|
36
37
|
}
|
|
37
38
|
]
|
package/README.md
CHANGED
|
@@ -2,7 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
### 2025-12
|
|
4
4
|
- Amazon DSP - Events (New)
|
|
5
|
+
- Attentive (New)
|
|
6
|
+
- EngageFront
|
|
7
|
+
- Eulerian (New)
|
|
8
|
+
- Google Ads - Conversions
|
|
9
|
+
- Google Analytics 4
|
|
10
|
+
- Microsoft Ads
|
|
11
|
+
- Microsoft Advertising
|
|
5
12
|
- RTB House
|
|
13
|
+
- The Trade Desk - Conversions
|
|
14
|
+
- TikTok
|
|
6
15
|
- Wallaroo (New)
|
|
7
16
|
|
|
8
17
|
| Kit Name | Initial Release Date | Stable Release Date | Latest Release Date | Current Version | Latest Note |
|
|
@@ -25,6 +34,7 @@
|
|
|
25
34
|
| Amplitude | 2021-06-24 | N/A | 2025-10-15 | Version: 1.2.1 | Added friendly names to expressions |
|
|
26
35
|
| AppsFlyer Android | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
27
36
|
| AppsFlyer iOS | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
37
|
+
| Attentive (New) | 2025-12-17 | N/A | 2025-12-17 | Version: 0.1.0 | Beta Version Attentive initial release. |
|
|
28
38
|
| Azure Blob | 2021-08-03 | 2023-12-13 | 2025-10-15 | Version: 1.2.1 | Added friendly names to expressions |
|
|
29
39
|
| Bloomreach CDP | 2022-10-06 | N/A | 2023-12-13 | N/A | Marked as stable version: 1.0.0 |
|
|
30
40
|
| Blueshift | 2021-06-24 | 2025-01-22 | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
|
|
@@ -36,12 +46,13 @@
|
|
|
36
46
|
| Convert | 2023-09-08 | N/A | 2024-11-20 | Version: 0.3.0 | Added new deduplication parameter for all events, `tid` |
|
|
37
47
|
| Criteo | 2021-06-24 | 2024-05-15 | 2025-09-03 | Version: 2.1.0 | Removed id node and added alternate_ids array in playbook.yaml |
|
|
38
48
|
| Customer.io | 2022-11-07 | N/A | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|
|
39
|
-
| EngageFront | 2025-11-12 | N/A | 2025-
|
|
49
|
+
| EngageFront | 2025-11-12 | N/A | 2025-12-10 | Version: 0.3.0 | Update campaign/advertiser ID output key |
|
|
50
|
+
| Eulerian (New) | 2025-12-10 | N/A | 2025-12-10 | Version: 0.1.0 | Beta Version Eulerian initial release |
|
|
40
51
|
| Firebase | 2024-01-15 | N/A | 2024-10-23 | Version: 0.2.0 | Updated header `Accept-Encoding: application/json` |
|
|
41
52
|
| Google AJSID Segments | 2024-05-29 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
|
|
42
|
-
| Google Ads - Conversions | 2023-07-04 | 2024-04-17 | 2025-10
|
|
53
|
+
| Google Ads - Conversions | 2023-07-04 | 2024-04-17 | 2025-12-10 | Version: 1.4.0 | Added consent field |
|
|
43
54
|
| Google Analytics | 2021-06-24 | N/A | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
44
|
-
| Google Analytics 4 | 2022-08-11 | N/A | 2025-
|
|
55
|
+
| Google Analytics 4 | 2022-08-11 | N/A | 2025-12-17 | Version: 1.3.0 | Added consent, device and user_agent mappings Removed gclid and dclid fields Added additional standard events and updated endpoint to a parameter |
|
|
45
56
|
| Google Analytics 4 (Collect) | 2024-04-24 | 2025-08-20 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
46
57
|
| Google BigQuery | 2021-06-24 | 2023-12-13 | 2025-01-16 | Version: 1.1.0 | Adding support for table overrides |
|
|
47
58
|
| Google Cloud Storage | 2021-06-24 | N/A | 2025-10-15 | Version: 0.2.1 | Added friendly names to expressions |
|
|
@@ -61,9 +72,9 @@
|
|
|
61
72
|
| Magellan AI | 2024-07-24 | 2024-08-07 | 2025-07-30 | Version: 1.2.0 | Replaced context.traits with traits. |
|
|
62
73
|
| Merkle | 2021-06-24 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced context.traits with traits. |
|
|
63
74
|
| Meta CAPI | 2021-06-24 | N/A | 2025-08-06 | Version: 1.7.0 | Updated event_time key mapping |
|
|
64
|
-
| Microsoft Ads | 2025-01-22 | 2025-04-02 | 2025-
|
|
75
|
+
| Microsoft Ads | 2025-01-22 | 2025-04-02 | 2025-12-17 | Version: 1.2.0 | Deprecating this in favor of the released Microsoft Ads CAPI kit |
|
|
65
76
|
| Microsoft Ads CAPI | 2025-09-17 | 2025-11-05 | 2025-11-05 | Version: 1.0.0 | Stable Release |
|
|
66
|
-
| Microsoft Advertising | 2021-06-24 | N/A | 2025-
|
|
77
|
+
| Microsoft Advertising | 2021-06-24 | N/A | 2025-12-17 | Version: 0.4.0 | Deprecating this in favor of the released Microsoft Ads CAPI kit |
|
|
67
78
|
| Mixpanel | 2022-03-23 | N/A | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
68
79
|
| Moloco Commerce Media | 2024-11-14 | 2025-02-12 | 2025-02-12 | Version: 1.0.0 | New Event: session_started -> Mapped to Moloco's LAND event (web) New Event: application_open -> Mapped to Moloco's LAND event (mobile) Updated Event: screen -> Mapped to Moloco's PAGE_VIEW or HOME event based on input.name and/or input.properties.name (mobile) Updated Event: order_completed -> Added mapping for Moloco's shipping_charge field using MetaRouter's properties.shipping (web & mobile) Stable release |
|
|
69
80
|
| Movable Ink | 2021-06-24 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
@@ -78,8 +89,8 @@
|
|
|
78
89
|
| RTB House | 2024-11-20 | N/A | 2025-12-03 | Version: 0.4.0 | Updated endpoint to be a parameter |
|
|
79
90
|
| Rakuten Conversions | 2025-07-30 | 2025-09-24 | 2025-09-24 | Version: 1.0.0 | Stable Release |
|
|
80
91
|
| Reddit Ads | 2023-09-12 | N/A | 2025-10-15 | Version: 0.0.2 | Beta migration to Reddit CAPI V3. Removed item_count from product_viewed |
|
|
81
|
-
| Ringier Axel Springer Poland | 2025-06-25 | N/A | 2025-09-24 | Version: 0.3.0 | Stringified products fields in multiple events |
|
|
82
92
|
| Ringier Axel Springer Poland | 2025-03-05 | 2025-04-09 | 2025-09-24 | Version: 1.3.0 | Reverted changes: Stringified products fields in multiple events |
|
|
93
|
+
| Ringier Axel Springer Poland | 2025-06-25 | N/A | 2025-09-24 | Version: 0.3.0 | Stringified products fields in multiple events |
|
|
83
94
|
| Roku | 2023-04-27 | N/A | 2025-07-30 | Version: 1.2.0 | Replaced context.traits with traits. |
|
|
84
95
|
| Roomvo | 2021-08-10 | N/A | 2025-10-15 | Version: 0.2.1 | Added friendly names to expressions |
|
|
85
96
|
| Salesforce CDP | 2022-05-31 | N/A | 2025-07-30 | Version: 1.2.0 | Replaced originalTimestamp with timestamp |
|
|
@@ -87,13 +98,13 @@
|
|
|
87
98
|
| Snapchat Ads | 2021-06-24 | N/A | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
|
|
88
99
|
| Snowflake | 2021-06-24 | N/A | 2025-10-15 | Version: 0.1.2 | Added friendly names to expressions |
|
|
89
100
|
| Teads | 2025-11-12 | N/A | 2025-11-12 | Version: 0.1.0 | Beta Version Teads initial release |
|
|
90
|
-
| The Trade Desk - Conversions | 2025-06-04 | 2025-07-30 | 2025-10
|
|
101
|
+
| The Trade Desk - Conversions | 2025-06-04 | 2025-07-30 | 2025-12-10 | Version: 1.2.0 | Updating identifier mappings |
|
|
91
102
|
| TheTradeDesk Conversion Events | 2022-11-29 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced originalTimestamp with timestamp |
|
|
92
103
|
| TheTradeDesk Firstparty Advertiser Data | 2022-11-29 | N/A | 2025-07-30 | Version: 1.2.0 | Updated Lua timestamp fallback logic to use input.timestamp |
|
|
93
|
-
| TikTok | 2023-03-07 | 2023-12-13 | 2025-
|
|
104
|
+
| TikTok | 2023-03-07 | 2023-12-13 | 2025-12-17 | Version: 2.5.0 | Added additional standard events Added num_items, content_ids and limited_data_use fields |
|
|
94
105
|
| Treasure Data | 2024-02-21 | 2025-08-20 | 2025-08-20 | Version: 1.0.0 | Stable Release |
|
|
95
106
|
| VideoAmp | 2022-11-17 | N/A | 2024-10-23 | Version: 0.3.0 | Added header `Accept-Encoding: application/json` |
|
|
96
|
-
| Wallaroo (New) | 2025-12-03 | N/A | 2025-12-
|
|
107
|
+
| Wallaroo (New) | 2025-12-03 | N/A | 2025-12-10 | Version: 0.1.1 | Added expression name |
|
|
97
108
|
| Webhooks | 2024-05-29 | 2024-08-07 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
98
109
|
| X Ads - Web Conversions | 2024-09-04 | 2024-09-25 | 2025-07-30 | Version: 1.1.0 | Replaced context.traits with traits. |
|
|
99
110
|
| Xandr | 2021-07-13 | N/A | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|
package/index.js
CHANGED
|
@@ -172,6 +172,12 @@ exports['apps-flyer-ios'] = {
|
|
|
172
172
|
metadata: require('./.dist/apps-flyer-ios/metadata.json')
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
+
exports.attentive = {
|
|
176
|
+
endpointSchema: require('./.dist/attentive/connection.json'),
|
|
177
|
+
playbook: require('./.dist/attentive/playbook.json'),
|
|
178
|
+
metadata: require('./.dist/attentive/metadata.json')
|
|
179
|
+
}
|
|
180
|
+
|
|
175
181
|
exports.awin = {
|
|
176
182
|
endpointSchema: require('./.dist/awin/connection.json'),
|
|
177
183
|
playbook: require('./.dist/awin/playbook.json'),
|
|
@@ -249,6 +255,12 @@ exports['engage-front'] = {
|
|
|
249
255
|
metadata: require('./.dist/engage-front/metadata.json')
|
|
250
256
|
}
|
|
251
257
|
|
|
258
|
+
exports['eulerian'] = {
|
|
259
|
+
endpointSchema: require('./.dist/eulerian/connection.json'),
|
|
260
|
+
playbook: require('./.dist/eulerian/playbook.json'),
|
|
261
|
+
metadata: require('./.dist/eulerian/metadata.json')
|
|
262
|
+
}
|
|
263
|
+
|
|
252
264
|
exports['facebook-pixel'] = {
|
|
253
265
|
endpointSchema: require('./.dist/facebook-pixel/connection.json'),
|
|
254
266
|
playbook: require('./.dist/facebook-pixel/playbook.json'),
|
|
@@ -722,6 +734,11 @@ exports.etags = {
|
|
|
722
734
|
playbook: require('./.dist/apps-flyer-ios/playbook.etag.json'),
|
|
723
735
|
kit: require('./.dist/apps-flyer-ios/kit.etag.json')
|
|
724
736
|
},
|
|
737
|
+
attentive: {
|
|
738
|
+
endpointSchema: require('./.dist/attentive/connection.etag.json'),
|
|
739
|
+
playbook: require('./.dist/attentive/playbook.etag.json'),
|
|
740
|
+
kit: require('./.dist/attentive/kit.etag.json')
|
|
741
|
+
},
|
|
725
742
|
awin: {
|
|
726
743
|
endpointSchema: require('./.dist/awin/connection.etag.json'),
|
|
727
744
|
playbook: require('./.dist/awin/playbook.etag.json'),
|
|
@@ -787,6 +804,11 @@ exports.etags = {
|
|
|
787
804
|
playbook: require('./.dist/engage-front/playbook.etag.json'),
|
|
788
805
|
metadata: require('./.dist/engage-front/kit.etag.json')
|
|
789
806
|
},
|
|
807
|
+
'eulerian': {
|
|
808
|
+
endpointSchema: require('./.dist/eulerian/connection.etag.json'),
|
|
809
|
+
playbook: require('./.dist/eulerian/playbook.etag.json'),
|
|
810
|
+
metadata: require('./.dist/eulerian/kit.etag.json')
|
|
811
|
+
},
|
|
790
812
|
'facebook-pixel': {
|
|
791
813
|
endpointSchema: require('./.dist/facebook-pixel/connection.etag.json'),
|
|
792
814
|
playbook: require('./.dist/facebook-pixel/playbook.etag.json'),
|