@metarouter/ajs-starter-kit 1.0.152 → 1.0.154
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/adobe-bdia/kit.etag.json +1 -1
- package/.dist/adobe-bdia/metadata.json +5 -1
- package/.dist/adobe-bdia/playbook.etag.json +1 -1
- package/.dist/adobe-bdia/playbook.json +1 -1
- 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/facebook-pixel/kit.etag.json +1 -1
- package/.dist/facebook-pixel/metadata.json +4 -0
- package/.dist/facebook-pixel/playbook.etag.json +1 -1
- package/.dist/facebook-pixel/playbook.json +18 -1
- package/.dist/google-ads/connection.etag.json +1 -1
- package/.dist/google-ads/connection.json +1 -1
- 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 +47 -10
- 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/reddit-ads/kit.etag.json +1 -1
- package/.dist/reddit-ads/metadata.json +5 -1
- package/.dist/reddit-ads/playbook.etag.json +1 -1
- package/.dist/reddit-ads/playbook.json +1 -1
- package/.dist/teads/kit.etag.json +1 -1
- package/.dist/teads/metadata.json +5 -1
- package/.dist/teads/playbook.etag.json +1 -1
- package/.dist/teads/playbook.json +1 -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/yahoo-enhanced-attribution/kit.etag.json +1 -1
- package/README.md +18 -19
- package/index.js +11 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
3
|
"isDeprecated": false,
|
|
4
|
-
"isBeta":
|
|
4
|
+
"isBeta": false,
|
|
5
5
|
"friendlyName": "Reddit Ads",
|
|
6
6
|
"description": "Reddit ds are a form of advertising platform used by businesses and individuals to reach their target audience on Reddit.",
|
|
7
7
|
"logo": "https://cdn.metarouter.io/logo.svg",
|
|
@@ -44,6 +44,10 @@
|
|
|
44
44
|
{
|
|
45
45
|
"date": "2025-10-15T00:00:00.000Z",
|
|
46
46
|
"note": "Version: 0.0.2\nBeta migration to Reddit CAPI V3.\nRemoved item_count from product_viewed"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"date": "2026-01-07T00:00:00.000Z",
|
|
50
|
+
"note": "Version: 2.0.0\nStable Release of Reddit CAPI V3"
|
|
47
51
|
}
|
|
48
52
|
]
|
|
49
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"7587643dfdc7107b3bb3ce76f2be8fdf -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"4a0f52028e246f118eea89da46a5e385 -"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
3
|
"isDeprecated": false,
|
|
4
|
-
"isBeta":
|
|
4
|
+
"isBeta": false,
|
|
5
5
|
"friendlyName": "Teads",
|
|
6
6
|
"description": "Teads is a global advertising platform specializing in outstream video and display ads that appear within premium publisher content.",
|
|
7
7
|
"logo": "https://cdn.metarouter.io/teads.png",
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
{
|
|
17
17
|
"date": "2025-11-12T21:00:00.000Z",
|
|
18
18
|
"note": "Version: 0.1.0\nBeta Version\nTeads initial release"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"date": "2026-01-07T21:00:00.000Z",
|
|
22
|
+
"note": "Version: 1.0.0\nStable Release"
|
|
19
23
|
}
|
|
20
24
|
]
|
|
21
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"c27c638274816ac98efe0d7695dd6423 -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"70103f7a5a1e5faf820ff15f01eece24 -"
|
|
@@ -40,6 +40,10 @@
|
|
|
40
40
|
{
|
|
41
41
|
"date": "2025-07-30T00:00:00.000Z",
|
|
42
42
|
"note": "Version: 2.4.0\nReplaced context.traits with traits."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"date": "2025-12-17T00:00:00.000Z",
|
|
46
|
+
"note": "Version: 2.5.0\nAdded additional standard events\nAdded num_items, content_ids and limited_data_use fields"
|
|
43
47
|
}
|
|
44
48
|
]
|
|
45
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"41f3f1e4b0b7e88ae51f8100c1814402 -"
|
|
@@ -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
|
+
"e168c4e940609b95f841eb8eab8bf93b -"
|
package/README.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
# MetaRouter Starter Kits
|
|
2
2
|
|
|
3
|
-
###
|
|
4
|
-
-
|
|
5
|
-
- EngageFront
|
|
6
|
-
- Eulerian (New)
|
|
3
|
+
### 2026-01
|
|
4
|
+
- Adobe Analytics
|
|
7
5
|
- Google Ads - Conversions
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
6
|
+
- Meta CAPI
|
|
7
|
+
- Reddit Ads
|
|
8
|
+
- Teads
|
|
11
9
|
|
|
12
10
|
| Kit Name | Initial Release Date | Stable Release Date | Latest Release Date | Current Version | Latest Note |
|
|
13
11
|
|----------|----------------------|---------------------|---------------------|-----------------|-------------|
|
|
@@ -15,10 +13,10 @@
|
|
|
15
13
|
| ActionIQ | 2021-06-24 | N/A | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
|
|
16
14
|
| Acuity Ads | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|
|
17
15
|
| Adjust | 2025-09-10 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
|
|
18
|
-
| Adobe Analytics | 2025-10-08 |
|
|
16
|
+
| Adobe Analytics | 2025-10-08 | 2026-01-07 | 2026-01-07 | Version: 1.0.0 | Stable Release |
|
|
19
17
|
| Adobe Experience Platform | 2023-03-21 | 2025-08-20 | 2025-11-19 | Version: 1.1.0 | Added ECID support Updated identityMap mappings |
|
|
20
18
|
| Adobe ID | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
21
|
-
| Amazon DSP - Events
|
|
19
|
+
| Amazon DSP - Events | 2025-12-03 | N/A | 2025-12-03 | Version: 0.1.0 | Beta Version Amazon DSP - Events initial release |
|
|
22
20
|
| Amazon DSP CAPI | 2025-05-21 | 2025-08-13 | 2025-08-13 | Version: 1.0.0 | Stable Release |
|
|
23
21
|
| Amazon Data Firehose | 2025-02-05 | 2025-04-02 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
24
22
|
| Amazon Kinesis | 2025-05-21 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
|
|
@@ -29,6 +27,7 @@
|
|
|
29
27
|
| Amplitude | 2021-06-24 | N/A | 2025-10-15 | Version: 1.2.1 | Added friendly names to expressions |
|
|
30
28
|
| AppsFlyer Android | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
31
29
|
| AppsFlyer iOS | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
30
|
+
| Attentive | 2025-12-17 | N/A | 2025-12-17 | Version: 0.1.0 | Beta Version Attentive initial release. |
|
|
32
31
|
| Azure Blob | 2021-08-03 | 2023-12-13 | 2025-10-15 | Version: 1.2.1 | Added friendly names to expressions |
|
|
33
32
|
| Bloomreach CDP | 2022-10-06 | N/A | 2023-12-13 | N/A | Marked as stable version: 1.0.0 |
|
|
34
33
|
| Blueshift | 2021-06-24 | 2025-01-22 | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
|
|
@@ -41,12 +40,12 @@
|
|
|
41
40
|
| 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 |
|
|
42
41
|
| Customer.io | 2022-11-07 | N/A | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|
|
43
42
|
| EngageFront | 2025-11-12 | N/A | 2025-12-10 | Version: 0.3.0 | Update campaign/advertiser ID output key |
|
|
44
|
-
| Eulerian
|
|
43
|
+
| Eulerian | 2025-12-10 | N/A | 2025-12-10 | Version: 0.1.0 | Beta Version Eulerian initial release |
|
|
45
44
|
| Firebase | 2024-01-15 | N/A | 2024-10-23 | Version: 0.2.0 | Updated header `Accept-Encoding: application/json` |
|
|
46
45
|
| Google AJSID Segments | 2024-05-29 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
|
|
47
|
-
| Google Ads - Conversions | 2023-07-04 | 2024-04-17 |
|
|
46
|
+
| Google Ads - Conversions | 2023-07-04 | 2024-04-17 | 2026-01-07 | Version: 1.5.0 | Upgraded to Google Ads API v22 Added userIdentifiers and userIpAddress fields Removed gbraid mapping |
|
|
48
47
|
| Google Analytics | 2021-06-24 | N/A | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
49
|
-
| Google Analytics 4 | 2022-08-11 | N/A | 2025-
|
|
48
|
+
| 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 |
|
|
50
49
|
| Google Analytics 4 (Collect) | 2024-04-24 | 2025-08-20 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
51
50
|
| Google BigQuery | 2021-06-24 | 2023-12-13 | 2025-01-16 | Version: 1.1.0 | Adding support for table overrides |
|
|
52
51
|
| Google Cloud Storage | 2021-06-24 | N/A | 2025-10-15 | Version: 0.2.1 | Added friendly names to expressions |
|
|
@@ -65,10 +64,10 @@
|
|
|
65
64
|
| MIQ (Xandr) | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
66
65
|
| Magellan AI | 2024-07-24 | 2024-08-07 | 2025-07-30 | Version: 1.2.0 | Replaced context.traits with traits. |
|
|
67
66
|
| Merkle | 2021-06-24 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced context.traits with traits. |
|
|
68
|
-
| Meta CAPI | 2021-06-24 | N/A |
|
|
69
|
-
| Microsoft Ads | 2025-01-22 | 2025-04-02 | 2025-
|
|
67
|
+
| Meta CAPI | 2021-06-24 | N/A | 2026-01-07 | Version: 1.8.0 | Added data_processing_options mappings |
|
|
68
|
+
| 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 |
|
|
70
69
|
| Microsoft Ads CAPI | 2025-09-17 | 2025-11-05 | 2025-11-05 | Version: 1.0.0 | Stable Release |
|
|
71
|
-
| Microsoft Advertising | 2021-06-24 | N/A | 2025-
|
|
70
|
+
| 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 |
|
|
72
71
|
| Mixpanel | 2022-03-23 | N/A | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
73
72
|
| 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 |
|
|
74
73
|
| Movable Ink | 2021-06-24 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
@@ -82,7 +81,7 @@
|
|
|
82
81
|
| Podsights | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
83
82
|
| RTB House | 2024-11-20 | N/A | 2025-12-03 | Version: 0.4.0 | Updated endpoint to be a parameter |
|
|
84
83
|
| Rakuten Conversions | 2025-07-30 | 2025-09-24 | 2025-09-24 | Version: 1.0.0 | Stable Release |
|
|
85
|
-
| Reddit Ads | 2023-09-12 |
|
|
84
|
+
| Reddit Ads | 2023-09-12 | 2026-01-07 | 2026-01-07 | Version: 2.0.0 | Stable Release of Reddit CAPI V3 |
|
|
86
85
|
| 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 |
|
|
87
86
|
| Ringier Axel Springer Poland | 2025-06-25 | N/A | 2025-09-24 | Version: 0.3.0 | Stringified products fields in multiple events |
|
|
88
87
|
| Roku | 2023-04-27 | N/A | 2025-07-30 | Version: 1.2.0 | Replaced context.traits with traits. |
|
|
@@ -91,14 +90,14 @@
|
|
|
91
90
|
| Snapchat - CAPI | 2024-06-05 | 2024-07-17 | 2025-07-30 | Version: 1.4.0 | Replaced context.traits with traits. |
|
|
92
91
|
| Snapchat Ads | 2021-06-24 | N/A | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
|
|
93
92
|
| Snowflake | 2021-06-24 | N/A | 2025-10-15 | Version: 0.1.2 | Added friendly names to expressions |
|
|
94
|
-
| Teads | 2025-11-12 |
|
|
93
|
+
| Teads | 2025-11-12 | 2026-01-07 | 2026-01-07 | Version: 1.0.0 | Stable Release |
|
|
95
94
|
| The Trade Desk - Conversions | 2025-06-04 | 2025-07-30 | 2025-12-10 | Version: 1.2.0 | Updating identifier mappings |
|
|
96
95
|
| TheTradeDesk Conversion Events | 2022-11-29 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced originalTimestamp with timestamp |
|
|
97
96
|
| 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 |
|
|
98
|
-
| TikTok | 2023-03-07 | 2023-12-13 | 2025-
|
|
97
|
+
| 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 |
|
|
99
98
|
| Treasure Data | 2024-02-21 | 2025-08-20 | 2025-08-20 | Version: 1.0.0 | Stable Release |
|
|
100
99
|
| VideoAmp | 2022-11-17 | N/A | 2024-10-23 | Version: 0.3.0 | Added header `Accept-Encoding: application/json` |
|
|
101
|
-
| Wallaroo
|
|
100
|
+
| Wallaroo | 2025-12-03 | N/A | 2025-12-10 | Version: 0.1.1 | Added expression name |
|
|
102
101
|
| Webhooks | 2024-05-29 | 2024-08-07 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
103
102
|
| X Ads - Web Conversions | 2024-09-04 | 2024-09-25 | 2025-07-30 | Version: 1.1.0 | Replaced context.traits with traits. |
|
|
104
103
|
| Xandr | 2021-07-13 | N/A | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|