@metarouter/ajs-starter-kit 1.0.153 → 1.0.155

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.
Files changed (54) hide show
  1. package/.dist/adobe-bdia/kit.etag.json +1 -1
  2. package/.dist/adobe-bdia/metadata.json +5 -1
  3. package/.dist/adobe-bdia/playbook.etag.json +1 -1
  4. package/.dist/adobe-bdia/playbook.json +1 -1
  5. package/.dist/attentive/kit.etag.json +1 -1
  6. package/.dist/attentive/metadata.json +4 -0
  7. package/.dist/attentive/playbook.etag.json +1 -1
  8. package/.dist/attentive/playbook.json +101 -303
  9. package/.dist/connection-schemas.json +4 -0
  10. package/.dist/engage-front/kit.etag.json +1 -1
  11. package/.dist/engage-front/metadata.json +4 -0
  12. package/.dist/engage-front/playbook.etag.json +1 -1
  13. package/.dist/engage-front/playbook.json +153 -22
  14. package/.dist/facebook-pixel/kit.etag.json +1 -1
  15. package/.dist/facebook-pixel/metadata.json +4 -0
  16. package/.dist/facebook-pixel/playbook.etag.json +1 -1
  17. package/.dist/facebook-pixel/playbook.json +18 -1
  18. package/.dist/google-ads/connection.etag.json +1 -1
  19. package/.dist/google-ads/connection.json +1 -1
  20. package/.dist/google-ads/kit.etag.json +1 -1
  21. package/.dist/google-ads/metadata.json +4 -0
  22. package/.dist/google-ads/playbook.etag.json +1 -1
  23. package/.dist/google-ads/playbook.json +47 -10
  24. package/.dist/google-cm360/kit.etag.json +1 -1
  25. package/.dist/google-cm360/metadata.json +4 -0
  26. package/.dist/google-cm360/playbook.etag.json +1 -1
  27. package/.dist/google-cm360/playbook.json +17 -22
  28. package/.dist/hightouch/connection.etag.json +1 -0
  29. package/.dist/hightouch/connection.json +87 -0
  30. package/.dist/hightouch/kit.etag.json +1 -0
  31. package/.dist/hightouch/metadata.json +21 -0
  32. package/.dist/hightouch/playbook.etag.json +1 -0
  33. package/.dist/hightouch/playbook.json +451 -0
  34. package/.dist/pipeline-router/connection.etag.json +1 -0
  35. package/.dist/pipeline-router/connection.json +3 -0
  36. package/.dist/pipeline-router/kit.etag.json +1 -0
  37. package/.dist/pipeline-router/metadata.json +21 -0
  38. package/.dist/pipeline-router/playbook.etag.json +1 -0
  39. package/.dist/pipeline-router/playbook.json +30 -0
  40. package/.dist/reddit-ads/kit.etag.json +1 -1
  41. package/.dist/reddit-ads/metadata.json +5 -1
  42. package/.dist/reddit-ads/playbook.etag.json +1 -1
  43. package/.dist/reddit-ads/playbook.json +1 -1
  44. package/.dist/snapchat-capi/kit.etag.json +1 -1
  45. package/.dist/snapchat-capi/metadata.json +4 -0
  46. package/.dist/snapchat-capi/playbook.etag.json +1 -1
  47. package/.dist/snapchat-capi/playbook.json +21 -1
  48. package/.dist/teads/kit.etag.json +1 -1
  49. package/.dist/teads/metadata.json +5 -1
  50. package/.dist/teads/playbook.etag.json +1 -1
  51. package/.dist/teads/playbook.json +1 -1
  52. package/README.md +25 -24
  53. package/index.js +21 -0
  54. package/package.json +1 -1
@@ -0,0 +1,451 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "global": {
4
+ "mappings": [
5
+ {
6
+ "inputKey": "type",
7
+ "outputKey": "type"
8
+ },
9
+ {
10
+ "inputKey": "messageId",
11
+ "outputKey": "messageId"
12
+ },
13
+ {
14
+ "inputKey": "anonymousId",
15
+ "outputKey": "anonymousId"
16
+ },
17
+ {
18
+ "inputKey": "userId",
19
+ "outputKey": "userId"
20
+ },
21
+ {
22
+ "inputKey": "timestamp",
23
+ "outputKey": "originalTimestamp"
24
+ },
25
+ {
26
+ "inputKey": "sentAt",
27
+ "outputKey": "sentAt"
28
+ },
29
+ {
30
+ "inputKey": "context.device.type",
31
+ "outputKey": "context.device.type"
32
+ },
33
+ {
34
+ "inputKey": "context.device.id",
35
+ "outputKey": "context.device.id"
36
+ },
37
+ {
38
+ "inputKey": "context.device.advertisingId",
39
+ "outputKey": "context.device.advertisingId"
40
+ },
41
+ {
42
+ "inputKey": "context.device.adTrackingEnabled",
43
+ "outputKey": "context.device.adTrackingEnabled"
44
+ },
45
+ {
46
+ "inputKey": "context.device.manufacturer",
47
+ "outputKey": "context.device.manufacturer"
48
+ },
49
+ {
50
+ "inputKey": "context.device.model",
51
+ "outputKey": "context.device.model"
52
+ },
53
+ {
54
+ "inputKey": "context.device.name",
55
+ "outputKey": "context.device.name"
56
+ },
57
+ {
58
+ "inputKey": "context.app.name",
59
+ "outputKey": "context.app.name"
60
+ },
61
+ {
62
+ "inputKey": "context.app.version",
63
+ "outputKey": "context.app.version"
64
+ },
65
+ {
66
+ "inputKey": "context.app.build",
67
+ "outputKey": "context.app.build"
68
+ },
69
+ {
70
+ "inputKey": "context.os.name",
71
+ "outputKey": "context.os.name"
72
+ },
73
+ {
74
+ "inputKey": "context.os.version",
75
+ "outputKey": "context.os.version"
76
+ },
77
+ {
78
+ "inputKey": "context.network.bluetooth",
79
+ "outputKey": "context.network.bluetooth"
80
+ },
81
+ {
82
+ "inputKey": "context.network.carrier",
83
+ "outputKey": "context.network.carrier"
84
+ },
85
+ {
86
+ "inputKey": "context.network.cellular",
87
+ "outputKey": "context.network.cellular"
88
+ },
89
+ {
90
+ "inputKey": "context.network.wifi",
91
+ "outputKey": "context.network.wifi"
92
+ },
93
+ {
94
+ "inputKey": "context.library.name",
95
+ "outputKey": "context.library.name"
96
+ },
97
+ {
98
+ "inputKey": "context.library.version",
99
+ "outputKey": "context.library.version"
100
+ },
101
+ {
102
+ "inputKey": "context.ip",
103
+ "outputKey": "context.ip"
104
+ },
105
+ {
106
+ "inputKey": "context.locale",
107
+ "outputKey": "context.locale"
108
+ },
109
+ {
110
+ "inputKey": "context.timezone",
111
+ "outputKey": "context.timezone"
112
+ },
113
+ {
114
+ "inputKey": "context.campaign.name",
115
+ "outputKey": "context.campaign.name"
116
+ },
117
+ {
118
+ "inputKey": "context.campaign.source",
119
+ "outputKey": "context.campaign.source"
120
+ },
121
+ {
122
+ "inputKey": "context.campaign.medium",
123
+ "outputKey": "context.campaign.medium"
124
+ },
125
+ {
126
+ "inputKey": "context.campaign.term",
127
+ "outputKey": "context.campaign.term"
128
+ },
129
+ {
130
+ "inputKey": "context.campaign.content",
131
+ "outputKey": "context.campaign.content"
132
+ },
133
+ {
134
+ "inputKey": "context.screen.density",
135
+ "outputKey": "context.screen.density"
136
+ },
137
+ {
138
+ "inputKey": "context.screen.height",
139
+ "outputKey": "context.screen.height"
140
+ },
141
+ {
142
+ "inputKey": "context.screen.width",
143
+ "outputKey": "context.screen.width"
144
+ },
145
+ {
146
+ "inputKey": "context.page.path",
147
+ "outputKey": "context.page.path"
148
+ },
149
+ {
150
+ "inputKey": "context.page.referrer",
151
+ "outputKey": "context.page.referrer"
152
+ },
153
+ {
154
+ "inputKey": "context.page.search",
155
+ "outputKey": "context.page.search"
156
+ },
157
+ {
158
+ "inputKey": "context.page.title",
159
+ "outputKey": "context.page.title"
160
+ },
161
+ {
162
+ "inputKey": "context.page.url",
163
+ "outputKey": "context.page.url"
164
+ },
165
+ {
166
+ "inputKey": "context.userAgent",
167
+ "outputKey": "context.userAgent"
168
+ },
169
+ {
170
+ "inputKey": "context.traits",
171
+ "outputKey": "context.traits"
172
+ }
173
+ ]
174
+ },
175
+ "default": {
176
+ "filters": [
177
+ {
178
+ "byEventNames": {
179
+ "action": "allow",
180
+ "events": [
181
+ ""
182
+ ]
183
+ }
184
+ }
185
+ ]
186
+ },
187
+ "eventSpecific": {
188
+ "identify": {
189
+ "mappings": [
190
+ {
191
+ "inputKey": "traits.email",
192
+ "outputKey": "traits.email"
193
+ }
194
+ ]
195
+ },
196
+ "page": {
197
+ "mappings": [
198
+ {
199
+ "inputKey": "properties",
200
+ "outputKey": "properties"
201
+ }
202
+ ]
203
+ },
204
+ "screen": {
205
+ "mappings": [
206
+ {
207
+ "inputKey": "properties",
208
+ "outputKey": "properties"
209
+ }
210
+ ]
211
+ },
212
+ "cart_viewed": {
213
+ "enrichments": [
214
+ {
215
+ "staticString": "Cart Viewed",
216
+ "outputKey": "event"
217
+ }
218
+ ],
219
+ "mappings": [
220
+ {
221
+ "inputKey": "properties",
222
+ "outputKey": "properties"
223
+ }
224
+ ]
225
+ },
226
+ "checkout_started": {
227
+ "enrichments": [
228
+ {
229
+ "staticString": "Checkout Started",
230
+ "outputKey": "event"
231
+ }
232
+ ],
233
+ "mappings": [
234
+ {
235
+ "inputKey": "properties",
236
+ "outputKey": "properties"
237
+ }
238
+ ]
239
+ },
240
+ "coupon_entered": {
241
+ "enrichments": [
242
+ {
243
+ "staticString": "Coupon Entered",
244
+ "outputKey": "event"
245
+ }
246
+ ],
247
+ "mappings": [
248
+ {
249
+ "inputKey": "properties",
250
+ "outputKey": "properties"
251
+ }
252
+ ]
253
+ },
254
+ "order_canceled": {
255
+ "enrichments": [
256
+ {
257
+ "staticString": "Order Canceled",
258
+ "outputKey": "event"
259
+ }
260
+ ],
261
+ "mappings": [
262
+ {
263
+ "inputKey": "properties",
264
+ "outputKey": "properties"
265
+ }
266
+ ]
267
+ },
268
+ "order_completed": {
269
+ "enrichments": [
270
+ {
271
+ "staticString": "Order Completed",
272
+ "outputKey": "event"
273
+ }
274
+ ],
275
+ "mappings": [
276
+ {
277
+ "inputKey": "properties",
278
+ "outputKey": "properties"
279
+ }
280
+ ]
281
+ },
282
+ "order_refunded": {
283
+ "enrichments": [
284
+ {
285
+ "staticString": "Order Refunded",
286
+ "outputKey": "event"
287
+ }
288
+ ],
289
+ "mappings": [
290
+ {
291
+ "inputKey": "properties",
292
+ "outputKey": "properties"
293
+ }
294
+ ]
295
+ },
296
+ "order_updated": {
297
+ "enrichments": [
298
+ {
299
+ "staticString": "Order Updated",
300
+ "outputKey": "event"
301
+ }
302
+ ],
303
+ "mappings": [
304
+ {
305
+ "inputKey": "properties",
306
+ "outputKey": "properties"
307
+ }
308
+ ]
309
+ },
310
+ "payment_info_entered": {
311
+ "enrichments": [
312
+ {
313
+ "staticString": "Payment Info Entered",
314
+ "outputKey": "event"
315
+ }
316
+ ],
317
+ "mappings": [
318
+ {
319
+ "inputKey": "properties",
320
+ "outputKey": "properties"
321
+ }
322
+ ]
323
+ },
324
+ "product_added": {
325
+ "enrichments": [
326
+ {
327
+ "staticString": "Product Added",
328
+ "outputKey": "event"
329
+ }
330
+ ],
331
+ "mappings": [
332
+ {
333
+ "inputKey": "properties",
334
+ "outputKey": "properties"
335
+ }
336
+ ]
337
+ },
338
+ "product_added_to_wishlist": {
339
+ "enrichments": [
340
+ {
341
+ "staticString": "Product Added To Wishlist",
342
+ "outputKey": "event"
343
+ }
344
+ ],
345
+ "mappings": [
346
+ {
347
+ "inputKey": "properties",
348
+ "outputKey": "properties"
349
+ }
350
+ ]
351
+ },
352
+ "product_clicked": {
353
+ "enrichments": [
354
+ {
355
+ "staticString": "Product Clicked",
356
+ "outputKey": "event"
357
+ }
358
+ ],
359
+ "mappings": [
360
+ {
361
+ "inputKey": "properties",
362
+ "outputKey": "properties"
363
+ }
364
+ ]
365
+ },
366
+ "product_list_viewed": {
367
+ "enrichments": [
368
+ {
369
+ "staticString": "Product List Viewed",
370
+ "outputKey": "event"
371
+ }
372
+ ],
373
+ "mappings": [
374
+ {
375
+ "inputKey": "properties",
376
+ "outputKey": "properties"
377
+ }
378
+ ]
379
+ },
380
+ "product_removed": {
381
+ "enrichments": [
382
+ {
383
+ "staticString": "Product Removed",
384
+ "outputKey": "event"
385
+ }
386
+ ],
387
+ "mappings": [
388
+ {
389
+ "inputKey": "properties",
390
+ "outputKey": "properties"
391
+ }
392
+ ]
393
+ },
394
+ "product_viewed": {
395
+ "enrichments": [
396
+ {
397
+ "staticString": "Product Viewed",
398
+ "outputKey": "event"
399
+ }
400
+ ],
401
+ "mappings": [
402
+ {
403
+ "inputKey": "properties",
404
+ "outputKey": "properties"
405
+ }
406
+ ]
407
+ },
408
+ "products_searched": {
409
+ "enrichments": [
410
+ {
411
+ "staticString": "Products Searched",
412
+ "outputKey": "event"
413
+ }
414
+ ],
415
+ "mappings": [
416
+ {
417
+ "inputKey": "properties",
418
+ "outputKey": "properties"
419
+ }
420
+ ]
421
+ },
422
+ "promotion_clicked": {
423
+ "enrichments": [
424
+ {
425
+ "staticString": "Promotion Clicked",
426
+ "outputKey": "event"
427
+ }
428
+ ],
429
+ "mappings": [
430
+ {
431
+ "inputKey": "properties",
432
+ "outputKey": "properties"
433
+ }
434
+ ]
435
+ },
436
+ "promotion_viewed": {
437
+ "enrichments": [
438
+ {
439
+ "staticString": "Promotion Viewed",
440
+ "outputKey": "event"
441
+ }
442
+ ],
443
+ "mappings": [
444
+ {
445
+ "inputKey": "properties",
446
+ "outputKey": "properties"
447
+ }
448
+ ]
449
+ }
450
+ }
451
+ }
@@ -0,0 +1 @@
1
+ "5605f319b4d10bff0b1907528b23042f -"
@@ -0,0 +1,3 @@
1
+ {
2
+ "pipeline-router": {}
3
+ }
@@ -0,0 +1 @@
1
+ "2c987af6ecdd5ca6c6f814e45907de8f -"
@@ -0,0 +1,21 @@
1
+ {
2
+ "isDraft": false,
3
+ "isDeprecated": false,
4
+ "isBeta": true,
5
+ "friendlyName": "Pipeline Router",
6
+ "description": "Routes events from one pipeline to one or more others by sending the output events back into the system, creating a directed-acyclic-graph of pipelines for advanced customer-data scenarios.",
7
+ "logo": "https://cdn.metarouter.io/pipeline-router.png",
8
+ "color": "#FFFFFF",
9
+ "eventSource": {
10
+ "isAndroidApp": true,
11
+ "isIosApp": true,
12
+ "isWebApp": true
13
+ },
14
+ "inputSchema": "analytics_js",
15
+ "releaseNotes": [
16
+ {
17
+ "date": "2026-01-14T21:00:00.000Z",
18
+ "note": "Version: 0.1.0\nBeta Version\nPipeline Router initial release"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1 @@
1
+ "e54dda2d88f21b73950fc9f26f98095f -"
@@ -0,0 +1,30 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "params": [
4
+ {
5
+ "name": "DESTINATION_PIPELINE",
6
+ "exampleValue": "my-destination-pipeline",
7
+ "defaultValue": "my-destination-pipeline"
8
+ }
9
+ ],
10
+ "default": {
11
+ "expressions": [
12
+ {
13
+ "lang": "lua",
14
+ "name": "Default Transform",
15
+ "body": "-- must change write key otherwise causes infinite loop\ninput.writeKey = \"$$DESTINATION_PIPELINE$$\"\nreturn input"
16
+ }
17
+ ]
18
+ },
19
+ "eventSpecific": {
20
+ "page": {
21
+ "expressions": [
22
+ {
23
+ "lang": "lua",
24
+ "name": "Event Specific Example",
25
+ "body": "return { _metarouter_batch = {\n {\n writeKey = \"$$DESTINATION_PIPELINE$$\",\n type = \"track\",\n event = \"Test Event1\",\n anonymousId = \"anon-123\"\n },\n {\n writeKey = \"$$DESTINATION_PIPELINE$$\",\n type = \"track\",\n event = \"Test Event2\",\n anonymousId = \"anon-456\"\n },\n }}"
26
+ }
27
+ ]
28
+ }
29
+ }
30
+ }
@@ -1 +1 @@
1
- "595ffe9cde5c819ac7c971c811f0e44a -"
1
+ "dad26766c6d5c1f56745d4b79234fc74 -"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "isDraft": false,
3
3
  "isDeprecated": false,
4
- "isBeta": true,
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
- "8fb053294c109a10ae2fb3f45851555a -"
1
+ "7587643dfdc7107b3bb3ce76f2be8fdf -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.2",
2
+ "version": "2.0.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -1 +1 @@
1
- "1c28bc211bc49c470cb0b252e060ca21 -"
1
+ "64418bc146cac1a014e03da5937d1d2d -"
@@ -36,6 +36,10 @@
36
36
  {
37
37
  "date": "2025-07-30T00:00:00.000Z",
38
38
  "note": "Version: 1.4.0\nReplaced context.traits with traits."
39
+ },
40
+ {
41
+ "date": "2026-01-14T00:00:00.000Z",
42
+ "note": "Version: 1.5.0\nAdded add_data parameters."
39
43
  }
40
44
  ]
41
45
  }
@@ -1 +1 @@
1
- "699904894c56195e6565075601c0583e -"
1
+ "b504616cd19b017b5945106ee69833bc -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.0",
2
+ "version": "1.5.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -34,6 +34,26 @@
34
34
  "inputKey": "context.page.url",
35
35
  "outputKey": "event_source_url"
36
36
  },
37
+ {
38
+ "inputKey": "context.device.adTrackingEnabled",
39
+ "outputKey": "app_data.advertiser_tracking_enabled"
40
+ },
41
+ {
42
+ "inputKey": "context.app.namespace",
43
+ "outputKey": "app_data.app_id"
44
+ },
45
+ {
46
+ "inputKey": "input",
47
+ "outputKey": "app_data.extinfo",
48
+ "transforms": [
49
+ {
50
+ "expression": {
51
+ "lang": "lua",
52
+ "body": "local deviceType = LOWER(input.context.device.type)\nlocal extinfoversion\nif deviceType == 'ios' then\n extinfoversion = 'i2'\nelseif deviceType == 'android' then\n extinfoversion = 'a2'\nend\n\nreturn {\nextinfoversion,\ninput.context.app.name or '',\n'', -- Short Version Example: 1.0\n'', -- Long Version Example: 1.0 long\ninput.context.os.version,\ninput.context.device.model or '',\ninput.context.locale or '',\n'', -- Timezone Abbreviation Example: PDT\ninput.context.network.carrier or '',\ninput.context.screen.width or '',\ninput.context.screen.height or '',\ninput.context.screen.density or '',\n'', -- CPU Cores Example: 2\n'', -- External Storage Size in GB Example: 13\n'', -- Free Space on External Storage in GB Example: 8\ninput.context.timezone or ''\n}"
53
+ }
54
+ }
55
+ ]
56
+ },
37
57
  {
38
58
  "inputKey": "input",
39
59
  "outputKey": "action_source",
@@ -1 +1 @@
1
- "c4d46a3f21b3c16d0bc542d05882cc60 -"
1
+ "4a0f52028e246f118eea89da46a5e385 -"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "isDraft": false,
3
3
  "isDeprecated": false,
4
- "isBeta": true,
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
- "7ff01ec94ba27d3d7eeae7a7a86d96a5 -"
1
+ "c27c638274816ac98efe0d7695dd6423 -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "1.0.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "TEADS_URL_DECORATOR",