@metarouter/ajs-starter-kit 1.0.154 → 1.0.156

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 (53) hide show
  1. package/.dist/ad-marketplace/connection.etag.json +1 -0
  2. package/.dist/ad-marketplace/connection.json +23 -0
  3. package/.dist/ad-marketplace/kit.etag.json +1 -0
  4. package/.dist/ad-marketplace/metadata.json +21 -0
  5. package/.dist/ad-marketplace/playbook.etag.json +1 -0
  6. package/.dist/ad-marketplace/playbook.json +394 -0
  7. package/.dist/attentive/kit.etag.json +1 -1
  8. package/.dist/attentive/metadata.json +4 -0
  9. package/.dist/attentive/playbook.etag.json +1 -1
  10. package/.dist/attentive/playbook.json +101 -303
  11. package/.dist/connection-schemas.json +4 -0
  12. package/.dist/engage-front/kit.etag.json +1 -1
  13. package/.dist/engage-front/metadata.json +4 -0
  14. package/.dist/engage-front/playbook.etag.json +1 -1
  15. package/.dist/engage-front/playbook.json +153 -22
  16. package/.dist/google-cm360/kit.etag.json +1 -1
  17. package/.dist/google-cm360/metadata.json +4 -0
  18. package/.dist/google-cm360/playbook.etag.json +1 -1
  19. package/.dist/google-cm360/playbook.json +17 -22
  20. package/.dist/hightouch/connection.etag.json +1 -0
  21. package/.dist/hightouch/connection.json +87 -0
  22. package/.dist/hightouch/kit.etag.json +1 -0
  23. package/.dist/hightouch/metadata.json +21 -0
  24. package/.dist/hightouch/playbook.etag.json +1 -0
  25. package/.dist/hightouch/playbook.json +451 -0
  26. package/.dist/pipeline-router/connection.etag.json +1 -0
  27. package/.dist/pipeline-router/connection.json +3 -0
  28. package/.dist/pipeline-router/kit.etag.json +1 -0
  29. package/.dist/pipeline-router/metadata.json +21 -0
  30. package/.dist/pipeline-router/playbook.etag.json +1 -0
  31. package/.dist/pipeline-router/playbook.json +30 -0
  32. package/.dist/rasp/kit.etag.json +1 -1
  33. package/.dist/rasp/metadata.json +5 -1
  34. package/.dist/rasp/playbook.etag.json +1 -1
  35. package/.dist/rasp/playbook.json +1 -1
  36. package/.dist/ringier-axel-springer-poland/kit.etag.json +1 -1
  37. package/.dist/ringier-axel-springer-poland/metadata.json +5 -1
  38. package/.dist/ringier-axel-springer-poland/playbook.etag.json +1 -1
  39. package/.dist/ringier-axel-springer-poland/playbook.json +1 -1
  40. package/.dist/snapchat-capi/kit.etag.json +1 -1
  41. package/.dist/snapchat-capi/metadata.json +4 -0
  42. package/.dist/snapchat-capi/playbook.etag.json +1 -1
  43. package/.dist/snapchat-capi/playbook.json +21 -1
  44. package/.dist/thetradedesk-data-advertiser-firstparty/connection.etag.json +1 -1
  45. package/.dist/thetradedesk-data-advertiser-firstparty/connection.json +6 -1
  46. package/.dist/thetradedesk-data-advertiser-firstparty/kit.etag.json +1 -1
  47. package/.dist/thetradedesk-data-advertiser-firstparty/metadata.json +4 -0
  48. package/.dist/thetradedesk-data-advertiser-firstparty/playbook.etag.json +1 -1
  49. package/.dist/thetradedesk-data-advertiser-firstparty/playbook.json +1 -1
  50. package/.dist/yahoo-enhanced-attribution/kit.etag.json +1 -1
  51. package/README.md +20 -7
  52. package/index.js +32 -11
  53. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ "1577ebaf89da86bed10d28b8a68f3eb9 -"
@@ -0,0 +1,23 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "ACCESS_TOKEN",
5
+ "defaultValue": "b1c6d505d9e84fc3a1dc3b296832546c",
6
+ "exampleValue": "my-access-token"
7
+ }
8
+ ],
9
+ "default": {
10
+ "endpoint": "https://conversion-data.admarketplace.com/v1/event?",
11
+ "method": "POST",
12
+ "headers": [
13
+ {
14
+ "key": "Authorization",
15
+ "value": "Bearer $$ACCESS_TOKEN$$"
16
+ }
17
+ ],
18
+ "transform": {
19
+ "lang": "lua",
20
+ "body": "local params = {}\nfor key, val in pairs(batch[1]) do\n table.insert(params, QUERY_ESCAPE(key)..\"=\"..QUERY_ESCAPE(val))\nend\nrequest.url = request.url .. JOIN(params, '&')\nrequest.body = {}\nreturn request"
21
+ }
22
+ }
23
+ }
@@ -0,0 +1 @@
1
+ "9b270356d8eeca9625e4b9c2af5c452e -"
@@ -0,0 +1,21 @@
1
+ {
2
+ "isDraft": false,
3
+ "isDeprecated": false,
4
+ "isBeta": true,
5
+ "friendlyName": "adMarketplace",
6
+ "description": "adMarketplace is a performance advertising platform that connects advertisers and publishers through native search placements outside traditional search engines.",
7
+ "logo": "https://cdn.metarouter.io/adMarketplace.png",
8
+ "color": "#0077B5",
9
+ "eventSource": {
10
+ "isAndroidApp": false,
11
+ "isIosApp": false,
12
+ "isWebApp": true
13
+ },
14
+ "inputSchema": "analytics_js",
15
+ "releaseNotes": [
16
+ {
17
+ "date": "2026-01-21T21:00:00.000Z",
18
+ "note": "Version: 0.1.0\nBeta Version\nadMarketplace initial release"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1 @@
1
+ "6d3fe3c6ec7068bf4f1123114227a78f -"
@@ -0,0 +1,394 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "params": [
4
+ {
5
+ "name": "ADVERTISER_ID",
6
+ "exampleValue": "my-advertiser-id"
7
+ },
8
+ {
9
+ "name": "AD_MARKETPLACE_URL_DECORATOR",
10
+ "exampleValue": "my-ad-marketplace-url-decorator",
11
+ "description": "Your custom URL Decorator for AdMarketplace"
12
+ }
13
+ ],
14
+ "default": {
15
+ "filters": [
16
+ {
17
+ "byEventNames": {
18
+ "action": "allow",
19
+ "events": [
20
+ ""
21
+ ]
22
+ }
23
+ }
24
+ ]
25
+ },
26
+ "global": {
27
+ "enrichments": [
28
+ {
29
+ "staticString": "$$ADVERTISER_ID$$",
30
+ "outputKey": "advertiser-id"
31
+ },
32
+ {
33
+ "staticString": "1",
34
+ "outputKey": "conversion-time-source"
35
+ }
36
+ ],
37
+ "mappings": [
38
+ {
39
+ "inputKey": "context.providers.adMarketplace.$$AD_MARKETPLACE_URL_DECORATOR$$",
40
+ "outputKey": "click-id"
41
+ },
42
+ {
43
+ "inputKey": "input",
44
+ "outputKey": "custom-info",
45
+ "transforms": [
46
+ {
47
+ "expression": {
48
+ "lang": "lua",
49
+ "body": "if (input.type == \"track\") then return REPLACE(LOWER(input.event), \" \", \"_\") end\nreturn input.type"
50
+ }
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "inputKey": "input",
56
+ "outputKey": "conversion-time",
57
+ "transforms": [
58
+ {
59
+ "expression": {
60
+ "lang": "lua",
61
+ "body": "local timestamp = input.timestamp or input.sentAt or input.originalTimestamp\ntimestamp = TO_STRING(timestamp)\nreturn SUBSTRING(timestamp, 0, 19) .. 'Z'"
62
+ }
63
+ }
64
+ ]
65
+ }
66
+ ]
67
+ },
68
+ "eventSpecific": {
69
+ "identify": {
70
+ "enrichments": [
71
+ {
72
+ "staticString": "ADD_EVENT_ID_HERE",
73
+ "outputKey": "event-id"
74
+ }
75
+ ]
76
+ },
77
+ "page": {
78
+ "enrichments": [
79
+ {
80
+ "staticString": "ADD_EVENT_ID_HERE",
81
+ "outputKey": "event-id"
82
+ }
83
+ ]
84
+ },
85
+ "product_list_viewed": {
86
+ "enrichments": [
87
+ {
88
+ "staticString": "ADD_EVENT_ID_HERE",
89
+ "outputKey": "event-id"
90
+ }
91
+ ],
92
+ "mappings": [
93
+ {
94
+ "inputKey": "properties.category",
95
+ "outputKey": "product-category"
96
+ }
97
+ ]
98
+ },
99
+ "product_clicked": {
100
+ "enrichments": [
101
+ {
102
+ "staticString": "ADD_EVENT_ID_HERE",
103
+ "outputKey": "event-id"
104
+ }
105
+ ],
106
+ "mappings": [
107
+ {
108
+ "inputKey": "properties.category",
109
+ "outputKey": "product-category"
110
+ },
111
+ {
112
+ "inputKey": "input",
113
+ "outputKey": "order-value",
114
+ "transforms": [
115
+ {
116
+ "expression": {
117
+ "lang": "lua",
118
+ "body": "return TOTAL_VALUE(input.properties)"
119
+ }
120
+ }
121
+ ]
122
+ }
123
+ ]
124
+ },
125
+ "product_viewed": {
126
+ "enrichments": [
127
+ {
128
+ "staticString": "ADD_EVENT_ID_HERE",
129
+ "outputKey": "event-id"
130
+ }
131
+ ],
132
+ "mappings": [
133
+ {
134
+ "inputKey": "properties.category",
135
+ "outputKey": "product-category"
136
+ },
137
+ {
138
+ "inputKey": "input",
139
+ "outputKey": "order-value",
140
+ "transforms": [
141
+ {
142
+ "expression": {
143
+ "lang": "lua",
144
+ "body": "return TOTAL_VALUE(input.properties)"
145
+ }
146
+ }
147
+ ]
148
+ }
149
+ ]
150
+ },
151
+ "product_added": {
152
+ "enrichments": [
153
+ {
154
+ "staticString": "ADD_EVENT_ID_HERE",
155
+ "outputKey": "event-id"
156
+ }
157
+ ],
158
+ "mappings": [
159
+ {
160
+ "inputKey": "properties.category",
161
+ "outputKey": "product-category"
162
+ },
163
+ {
164
+ "inputKey": "input",
165
+ "outputKey": "order-value",
166
+ "transforms": [
167
+ {
168
+ "expression": {
169
+ "lang": "lua",
170
+ "body": "return TOTAL_VALUE(input.properties)"
171
+ }
172
+ }
173
+ ]
174
+ }
175
+ ]
176
+ },
177
+ "product_removed": {
178
+ "enrichments": [
179
+ {
180
+ "staticString": "ADD_EVENT_ID_HERE",
181
+ "outputKey": "event-id"
182
+ }
183
+ ],
184
+ "mappings": [
185
+ {
186
+ "inputKey": "properties.category",
187
+ "outputKey": "product-category"
188
+ },
189
+ {
190
+ "inputKey": "input",
191
+ "outputKey": "order-value",
192
+ "transforms": [
193
+ {
194
+ "expression": {
195
+ "lang": "lua",
196
+ "body": "return TOTAL_VALUE(input.properties)"
197
+ }
198
+ }
199
+ ]
200
+ }
201
+ ]
202
+ },
203
+ "cart_viewed": {
204
+ "enrichments": [
205
+ {
206
+ "staticString": "ADD_EVENT_ID_HERE",
207
+ "outputKey": "event-id"
208
+ }
209
+ ],
210
+ "mappings": [
211
+ {
212
+ "inputKey": "input",
213
+ "outputKey": "order-value",
214
+ "transforms": [
215
+ {
216
+ "expression": {
217
+ "lang": "lua",
218
+ "body": "return TOTAL_VALUE(input.properties.products)"
219
+ }
220
+ }
221
+ ]
222
+ }
223
+ ]
224
+ },
225
+ "checkout_started": {
226
+ "enrichments": [
227
+ {
228
+ "staticString": "ADD_EVENT_ID_HERE",
229
+ "outputKey": "event-id"
230
+ }
231
+ ],
232
+ "mappings": [
233
+ {
234
+ "inputKey": "properties.value",
235
+ "outputKey": "order-value"
236
+ },
237
+ {
238
+ "inputKey": "properties.order_id",
239
+ "outputKey": "unique-id"
240
+ }
241
+ ]
242
+ },
243
+ "payment_info_entered": {
244
+ "enrichments": [
245
+ {
246
+ "staticString": "ADD_EVENT_ID_HERE",
247
+ "outputKey": "event-id"
248
+ }
249
+ ],
250
+ "mappings": [
251
+ {
252
+ "inputKey": "properties.order_id",
253
+ "outputKey": "unique-id"
254
+ }
255
+ ]
256
+ },
257
+ "order_completed": {
258
+ "enrichments": [
259
+ {
260
+ "staticString": "ADD_EVENT_ID_HERE",
261
+ "outputKey": "event-id"
262
+ }
263
+ ],
264
+ "mappings": [
265
+ {
266
+ "inputKey": "properties.total",
267
+ "outputKey": "order-value"
268
+ },
269
+ {
270
+ "inputKey": "properties.order_id",
271
+ "outputKey": "unique-id"
272
+ }
273
+ ]
274
+ },
275
+ "promotion_clicked": {
276
+ "enrichments": [
277
+ {
278
+ "staticString": "ADD_EVENT_ID_HERE",
279
+ "outputKey": "event-id"
280
+ }
281
+ ]
282
+ },
283
+ "promotion_viewed": {
284
+ "enrichments": [
285
+ {
286
+ "staticString": "ADD_EVENT_ID_HERE",
287
+ "outputKey": "event-id"
288
+ }
289
+ ]
290
+ },
291
+ "product_added_to_wishlist": {
292
+ "enrichments": [
293
+ {
294
+ "staticString": "ADD_EVENT_ID_HERE",
295
+ "outputKey": "event-id"
296
+ }
297
+ ],
298
+ "mappings": [
299
+ {
300
+ "inputKey": "properties.category",
301
+ "outputKey": "product-category"
302
+ },
303
+ {
304
+ "inputKey": "input",
305
+ "outputKey": "order-value",
306
+ "transforms": [
307
+ {
308
+ "expression": {
309
+ "lang": "lua",
310
+ "body": "return TOTAL_VALUE(input.properties)"
311
+ }
312
+ }
313
+ ]
314
+ }
315
+ ]
316
+ },
317
+ "order_updated": {
318
+ "enrichments": [
319
+ {
320
+ "staticString": "ADD_EVENT_ID_HERE",
321
+ "outputKey": "event-id"
322
+ }
323
+ ],
324
+ "mappings": [
325
+ {
326
+ "inputKey": "properties.total",
327
+ "outputKey": "order-value"
328
+ },
329
+ {
330
+ "inputKey": "properties.order_id",
331
+ "outputKey": "unique-id"
332
+ }
333
+ ]
334
+ },
335
+ "order_refunded": {
336
+ "enrichments": [
337
+ {
338
+ "staticString": "ADD_EVENT_ID_HERE",
339
+ "outputKey": "event-id"
340
+ }
341
+ ],
342
+ "mappings": [
343
+ {
344
+ "inputKey": "properties.total",
345
+ "outputKey": "order-value"
346
+ },
347
+ {
348
+ "inputKey": "properties.order_id",
349
+ "outputKey": "unique-id"
350
+ }
351
+ ]
352
+ },
353
+ "order_canceled": {
354
+ "enrichments": [
355
+ {
356
+ "staticString": "ADD_EVENT_ID_HERE",
357
+ "outputKey": "event-id"
358
+ }
359
+ ],
360
+ "mappings": [
361
+ {
362
+ "inputKey": "properties.total",
363
+ "outputKey": "order-value"
364
+ },
365
+ {
366
+ "inputKey": "properties.order_id",
367
+ "outputKey": "unique-id"
368
+ }
369
+ ]
370
+ },
371
+ "coupon_entered": {
372
+ "enrichments": [
373
+ {
374
+ "staticString": "ADD_EVENT_ID_HERE",
375
+ "outputKey": "event-id"
376
+ }
377
+ ],
378
+ "mappings": [
379
+ {
380
+ "inputKey": "properties.order_id",
381
+ "outputKey": "unique-id"
382
+ }
383
+ ]
384
+ },
385
+ "products_searched": {
386
+ "enrichments": [
387
+ {
388
+ "staticString": "ADD_EVENT_ID_HERE",
389
+ "outputKey": "event-id"
390
+ }
391
+ ]
392
+ }
393
+ }
394
+ }
@@ -1 +1 @@
1
- "6df94116da387b9ff6408e78ba4db8d7 -"
1
+ "b5a06219baee521020809d379b817bf4 -"
@@ -16,6 +16,10 @@
16
16
  {
17
17
  "date": "2025-12-17T00:00:00.000Z",
18
18
  "note": "Version: 0.1.0\nBeta Version\nAttentive initial release."
19
+ },
20
+ {
21
+ "date": "2026-01-14T00:00:00.000Z",
22
+ "note": "Version: 0.2.0\nUpdated customIdentifiers mapping logic, and added a conditional filter for userId, phone, and email."
19
23
  }
20
24
  ]
21
25
  }
@@ -1 +1 @@
1
- "167996fcbfc1aba0b8a7bfab399015ad -"
1
+ "45b84c3a2f2a85a7de0e7964a6961a6c -"