@metarouter/ajs-starter-kit 1.0.149 → 1.0.151

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 (40) hide show
  1. package/.dist/adobe-bdia/kit.etag.json +1 -1
  2. package/.dist/adobe-bdia/metadata.json +4 -0
  3. package/.dist/adobe-bdia/playbook.etag.json +1 -1
  4. package/.dist/adobe-bdia/playbook.json +12 -2
  5. package/.dist/adobe-experience-platform-interact/kit.etag.json +1 -1
  6. package/.dist/adobe-experience-platform-interact/metadata.json +4 -0
  7. package/.dist/adobe-experience-platform-interact/playbook.etag.json +1 -1
  8. package/.dist/adobe-experience-platform-interact/playbook.json +15 -3
  9. package/.dist/amazon-dsp-events/connection.etag.json +1 -0
  10. package/.dist/amazon-dsp-events/connection.json +78 -0
  11. package/.dist/amazon-dsp-events/kit.etag.json +1 -0
  12. package/.dist/amazon-dsp-events/metadata.json +21 -0
  13. package/.dist/amazon-dsp-events/playbook.etag.json +1 -0
  14. package/.dist/amazon-dsp-events/playbook.json +306 -0
  15. package/.dist/commission-junction/kit.etag.json +1 -1
  16. package/.dist/commission-junction/metadata.json +4 -0
  17. package/.dist/commission-junction/playbook.etag.json +1 -1
  18. package/.dist/commission-junction/playbook.json +2 -1
  19. package/.dist/connection-schemas.json +29 -0
  20. package/.dist/engage-front/kit.etag.json +1 -1
  21. package/.dist/engage-front/metadata.json +5 -1
  22. package/.dist/engage-front/playbook.etag.json +1 -1
  23. package/.dist/engage-front/playbook.json +9 -1
  24. package/.dist/google-ad-words/kit.etag.json +1 -1
  25. package/.dist/google-cm360/kit.etag.json +1 -1
  26. package/.dist/rtb-house/connection.etag.json +1 -1
  27. package/.dist/rtb-house/connection.json +4 -5
  28. package/.dist/rtb-house/kit.etag.json +1 -1
  29. package/.dist/rtb-house/metadata.json +4 -0
  30. package/.dist/rtb-house/playbook.etag.json +1 -1
  31. package/.dist/rtb-house/playbook.json +1 -1
  32. package/.dist/wallaroo/connection.etag.json +1 -0
  33. package/.dist/wallaroo/connection.json +65 -0
  34. package/.dist/wallaroo/kit.etag.json +1 -0
  35. package/.dist/wallaroo/metadata.json +21 -0
  36. package/.dist/wallaroo/playbook.etag.json +1 -0
  37. package/.dist/wallaroo/playbook.json +39 -0
  38. package/README.md +13 -13
  39. package/index.js +22 -0
  40. package/package.json +1 -1
@@ -1 +1 @@
1
- "97fdbef95e5ad45de609e624d6aabf22 -"
1
+ "92bd0ac4cbf28c7939865e7af30d323c -"
@@ -28,6 +28,10 @@
28
28
  {
29
29
  "date": "2025-10-29T21:00:00.000Z",
30
30
  "note": "Version: 0.3.0\nuserAgent generation for native app support\nIncreased possible mappings for pageName"
31
+ },
32
+ {
33
+ "date": "2025-11-19T21:00:00.000Z",
34
+ "note": "Version: 0.4.0\nChanged reportSuiteID to a parameter\nAdded marketingCloudVisitorID field"
31
35
  }
32
36
  ]
33
37
  }
@@ -1 +1 @@
1
- "4855dc44721d495a50b37f4c7709f1f5 -"
1
+ "12222c830f9fffcec16505917949c9d0 -"
@@ -1,5 +1,11 @@
1
1
  {
2
- "version": "0.3.0",
2
+ "version": "0.4.0",
3
+ "params": [
4
+ {
5
+ "name": "REPORT_SUITE_ID",
6
+ "exampleValue": "my-report-suite-id"
7
+ }
8
+ ],
3
9
  "default": {
4
10
  "filters": [
5
11
  {
@@ -17,11 +23,15 @@
17
23
  "global": {
18
24
  "enrichments": [
19
25
  {
20
- "staticString": "ADD_REPORT_SUITE_ID_HERE",
26
+ "staticString": "$$REPORT_SUITE_ID$$",
21
27
  "outputKey": "reportSuiteID"
22
28
  }
23
29
  ],
24
30
  "mappings": [
31
+ {
32
+ "inputKey": "context.providers.adobe.mid",
33
+ "outputKey": "marketingCloudVisitorID"
34
+ },
25
35
  {
26
36
  "inputKey": "input",
27
37
  "outputKey": "visitorID",
@@ -1 +1 @@
1
- "fa5da4cd718b3500b109f18e2f2a02bf -"
1
+ "622fe01daa34dcbe02d854726b61a59d -"
@@ -56,6 +56,10 @@
56
56
  {
57
57
  "date": "2025-11-05T00:00:00.000Z",
58
58
  "note": "Version: 1.0.1\nUpdated Friendly Name"
59
+ },
60
+ {
61
+ "date": "2025-11-19T00:00:00.000Z",
62
+ "note": "Version: 1.1.0\nAdded ECID support\nUpdated identityMap mappings"
59
63
  }
60
64
  ]
61
65
  }
@@ -1 +1 @@
1
- "45bbf3538b06355bab59a084d7b474e9 -"
1
+ "205f39b36f887d4bf2f8f8083d2b314d -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.1",
2
+ "version": "1.1.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -14,13 +14,25 @@
14
14
  },
15
15
  "global": {
16
16
  "mappings": [
17
+ {
18
+ "inputKey": "input",
19
+ "outputKey": "event.xdm.identityMap.ECID",
20
+ "transforms": [
21
+ {
22
+ "expression": {
23
+ "body": "local ecid = input.context.providers.adobe.mid\nlocal email = input.traits.email\nif ecid then\n if email then\n return {{ id = ecid, primary = false }}\n end\n return {{ id = ecid, primary = true }}\nend",
24
+ "lang": "lua"
25
+ }
26
+ }
27
+ ]
28
+ },
17
29
  {
18
30
  "inputKey": "input",
19
31
  "outputKey": "event.xdm.identityMap.FPID",
20
32
  "transforms": [
21
33
  {
22
34
  "expression": {
23
- "body": "return {{ id = TO_SHA256_HASH(input.anonymousId), primary = true }}",
35
+ "body": "local ecid = input.context.providers.adobe.mid\nlocal email = input.traits.email\nif ecid or email then\n return {{ id = TO_SHA256_HASH(input.anonymousId), primary = false }}\nend\nreturn {{ id = TO_SHA256_HASH(input.anonymousId), primary = true }}",
24
36
  "lang": "lua"
25
37
  }
26
38
  }
@@ -32,7 +44,7 @@
32
44
  "transforms": [
33
45
  {
34
46
  "expression": {
35
- "body": "local email = input.traits.email\nif email then\n return {{ id = TO_SHA256_HASH(LOWER(TRIM(email))), primary = false }}\nend\nreturn",
47
+ "body": "local email = input.traits.email\nif email then\n return {{ id = TO_SHA256_HASH(LOWER(TRIM(email))), primary = true }}\nend\nreturn",
36
48
  "lang": "lua"
37
49
  }
38
50
  }
@@ -0,0 +1 @@
1
+ "f339f0ba4c678c5e3d7ec3641740ce4e -"
@@ -0,0 +1,78 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "BASE_URL",
5
+ "exampleValue": "my-base-url",
6
+ "defaultValue": "https://advertising-api.amazon.com"
7
+ },
8
+ {
9
+ "name": "ADVERTISER_ID",
10
+ "exampleValue": "my-advertiser-id"
11
+ },
12
+ {
13
+ "name": "CLIENT_ID",
14
+ "exampleValue": "my-client-id"
15
+ },
16
+ {
17
+ "name": "CLIENT_SECRET",
18
+ "exampleValue": "my-client-secret"
19
+ },
20
+ {
21
+ "name": "PROFILE_ID",
22
+ "exampleValue": "my-profile-id"
23
+ },
24
+ {
25
+ "name": "REFRESH_TOKEN",
26
+ "exampleValue": "my-refresh-token"
27
+ }
28
+ ],
29
+ "default": {
30
+ "endpoint": "$$BASE_URL$$/adsApi/v1/create/events",
31
+ "method": "POST",
32
+ "headers": [
33
+ {
34
+ "key": "Content-Type",
35
+ "value": "application/json"
36
+ },
37
+ {
38
+ "key": "Amazon-Ads-ClientId",
39
+ "value": "$$CLIENT_ID$$"
40
+ },
41
+ {
42
+ "key": "Amazon-Ads-AccountId",
43
+ "value": "$$ADVERTISER_ID$$"
44
+ }
45
+ ],
46
+ "batchSize": 250,
47
+ "oauth2Auth": {
48
+ "request": {
49
+ "body": [
50
+ {
51
+ "key": "grant_type",
52
+ "value": "refresh_token"
53
+ },
54
+ {
55
+ "key": "client_id",
56
+ "value": "$$CLIENT_ID$$"
57
+ },
58
+ {
59
+ "key": "client_secret",
60
+ "value": "$$CLIENT_SECRET$$"
61
+ },
62
+ {
63
+ "key": "refresh_token",
64
+ "value": "$$REFRESH_TOKEN$$"
65
+ }
66
+ ],
67
+ "contentType": "application/x-www-form-urlencoded",
68
+ "method": "POST",
69
+ "url": "https://api.amazon.com/auth/o2/token"
70
+ },
71
+ "responseAccessTokenKey": "access_token"
72
+ },
73
+ "transform": {
74
+ "lang": "lua",
75
+ "body": "request.body = { events = batch }\nreturn request"
76
+ }
77
+ }
78
+ }
@@ -0,0 +1 @@
1
+ "f377639137190ba2c3cf2eeb0ced1d98 -"
@@ -0,0 +1,21 @@
1
+ {
2
+ "isDraft": false,
3
+ "isDeprecated": false,
4
+ "isBeta": true,
5
+ "friendlyName": "Amazon DSP - Events",
6
+ "description": "Amazon DSP (Demand-Side Platform) is a programmatic advertising solution that allows advertisers to purchase video, audio, and display ad placements both on Amazon-owned properties and across a network of third-party sites and apps",
7
+ "logo": "https://cdn.metarouter.io/amazon-dsp-capi.png",
8
+ "color": "#FF9900",
9
+ "eventSource": {
10
+ "isAndroidApp": false,
11
+ "isIosApp": false,
12
+ "isWebApp": true
13
+ },
14
+ "inputSchema": "analytics_js",
15
+ "releaseNotes": [
16
+ {
17
+ "date": "2025-12-03T21:00:00.000Z",
18
+ "note": "Version: 0.1.0\nBeta Version\nAmazon DSP - Events initial release"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1 @@
1
+ "ecf5179e82538902140b6c5b95a003f4 -"
@@ -0,0 +1,306 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "global": {
4
+ "filters": [
5
+ {
6
+ "byConditions": {
7
+ "action": "allow",
8
+ "when": {
9
+ "matchesAny": {
10
+ "conditions": [
11
+ {
12
+ "inputPathExists": {
13
+ "inputPath": "traits.email"
14
+ }
15
+ },
16
+ {
17
+ "inputPathExists": {
18
+ "inputPath": "userId"
19
+ }
20
+ }
21
+ ]
22
+ }
23
+ }
24
+ }
25
+ }
26
+ ],
27
+ "enrichments": [
28
+ {
29
+ "staticString": "SERVER_TO_SERVER",
30
+ "outputKey": "eventDescription.eventIngestionMethod"
31
+ },
32
+ {
33
+ "staticString": "",
34
+ "outputKey": "consent.tcf"
35
+ },
36
+ {
37
+ "staticString": "",
38
+ "outputKey": "consent.gpp"
39
+ }
40
+ ],
41
+ "mappings": [
42
+ {
43
+ "inputKey": "input",
44
+ "outputKey": "matchKeys",
45
+ "transforms": [
46
+ {
47
+ "expression": {
48
+ "body": "local email = input.traits.email or input.userId\nif email then return {{ values = {TO_SHA256_HASH(LOWER(TRIM(email)))}, type = \"EMAIL\" }} end",
49
+ "lang": "lua"
50
+ }
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "inputKey": "input",
56
+ "outputKey": "countryCode",
57
+ "transforms": [
58
+ {
59
+ "expression": {
60
+ "lang": "lua",
61
+ "body": "if input.traits.address.country ~= nil then\n return SUBSTRING(input.traits.address.country, 0, 2)\nend\nreturn \"US\""
62
+ }
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "inputKey": "context.ip",
68
+ "outputKey": "consent.geo.ipAddress"
69
+ },
70
+ {
71
+ "inputKey": "input",
72
+ "outputKey": "consent.amazonConsent.amznUserData",
73
+ "transforms": [
74
+ {
75
+ "expression": {
76
+ "body": "consent = input.context.consent.optOut.C0004\nif consent then\n return \"DENIED\"\nend\nreturn \"GRANTED\"",
77
+ "lang": "lua"
78
+ }
79
+ }
80
+ ]
81
+ },
82
+ {
83
+ "inputKey": "input",
84
+ "outputKey": "consent.amazonConsent.amznAdStorage",
85
+ "transforms": [
86
+ {
87
+ "expression": {
88
+ "body": "consent = input.context.consent.optOut.C0004\nif consent then\n return \"DENIED\"\nend\nreturn \"GRANTED\"",
89
+ "lang": "lua"
90
+ }
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "inputKey": "input",
96
+ "outputKey": "eventDescription.eventSource",
97
+ "transforms": [
98
+ {
99
+ "expression": {
100
+ "body": "local deviceType = LOWER(input.context.device.type)\nif input.context.device.type == 'ios' then\n return \"IOS\"\nelseif input.context.device.type == 'android' then\n return \"ANDROID\"\nend\nreturn \"WEBSITE\"",
101
+ "lang": "lua"
102
+ }
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "inputKey": "input",
108
+ "outputKey": "eventTime",
109
+ "transforms": [
110
+ {
111
+ "expression": {
112
+ "lang": "lua",
113
+ "body": "return input.timestamp or input.originalTimestamp or input.sentAt"
114
+ }
115
+ }
116
+ ]
117
+ },
118
+ {
119
+ "inputKey": "messageId",
120
+ "outputKey": "eventId"
121
+ },
122
+ {
123
+ "inputKey": "input",
124
+ "outputKey": "eventDescription.name",
125
+ "transforms": [
126
+ {
127
+ "expression": {
128
+ "lang": "lua",
129
+ "body": "if (input.type == \"track\") then return REPLACE(LOWER(input.event), \" \", \"_\") end\nreturn input.type"
130
+ }
131
+ }
132
+ ]
133
+ }
134
+ ]
135
+ },
136
+ "eventSpecific": {
137
+ "page": {
138
+ "enrichments": [
139
+ {
140
+ "staticString": "PAGE_VIEW",
141
+ "outputKey": "eventDescription.conversionType"
142
+ },
143
+ {
144
+ "staticString": "ADD_DATA_SET_NAME_HERE",
145
+ "outputKey": "eventDescription.dataSetName"
146
+ }
147
+ ]
148
+ },
149
+ "checkout_started": {
150
+ "enrichments": [
151
+ {
152
+ "staticString": "CHECKOUT",
153
+ "outputKey": "eventDescription.conversionType"
154
+ },
155
+ {
156
+ "staticString": "ADD_DATA_SET_NAME_HERE",
157
+ "outputKey": "eventDescription.dataSetName"
158
+ }
159
+ ]
160
+ },
161
+ "order_completed": {
162
+ "enrichments": [
163
+ {
164
+ "staticString": "OFF_AMAZON_PURCHASES",
165
+ "outputKey": "eventDescription.conversionType"
166
+ },
167
+ {
168
+ "staticString": "ADD_DATA_SET_NAME_HERE",
169
+ "outputKey": "eventDescription.dataSetName"
170
+ }
171
+ ],
172
+ "mappings": [
173
+ {
174
+ "inputKey": "input",
175
+ "outputKey": "value",
176
+ "transforms": [
177
+ {
178
+ "expression": {
179
+ "lang": "lua",
180
+ "body": "return TOTAL_VALUE(input.properties.products)"
181
+ }
182
+ }
183
+ ]
184
+ },
185
+ {
186
+ "inputKey": "properties.currency",
187
+ "outputKey": "currencyCode",
188
+ "transforms": [
189
+ {
190
+ "modifyString": "uppercase"
191
+ }
192
+ ],
193
+ "defaultString": "USD"
194
+ },
195
+ {
196
+ "inputKey": "input",
197
+ "outputKey": "unitsSold",
198
+ "transforms": [
199
+ {
200
+ "expression": {
201
+ "lang": "lua",
202
+ "body": "return SUM(MAP(input.properties.products, function (p) return p.quantity or 1 end))"
203
+ }
204
+ }
205
+ ]
206
+ }
207
+ ]
208
+ },
209
+ "product_added": {
210
+ "enrichments": [
211
+ {
212
+ "staticString": "ADD_TO_SHOPPING_CART",
213
+ "outputKey": "eventDescription.conversionType"
214
+ },
215
+ {
216
+ "staticString": "ADD_DATA_SET_NAME_HERE",
217
+ "outputKey": "eventDescription.dataSetName"
218
+ }
219
+ ]
220
+ },
221
+ "product_removed": {
222
+ "enrichments": [
223
+ {
224
+ "staticString": "OTHER",
225
+ "outputKey": "eventDescription.conversionType"
226
+ },
227
+ {
228
+ "staticString": "ADD_DATA_SET_NAME_HERE",
229
+ "outputKey": "eventDescription.dataSetName"
230
+ }
231
+ ]
232
+ },
233
+ "product_clicked": {
234
+ "enrichments": [
235
+ {
236
+ "staticString": "OTHER",
237
+ "outputKey": "eventDescription.conversionType"
238
+ },
239
+ {
240
+ "staticString": "ADD_DATA_SET_NAME_HERE",
241
+ "outputKey": "eventDescription.dataSetName"
242
+ }
243
+ ]
244
+ },
245
+ "product_list_viewed": {
246
+ "enrichments": [
247
+ {
248
+ "staticString": "PAGE_VIEW",
249
+ "outputKey": "eventDescription.conversionType"
250
+ },
251
+ {
252
+ "staticString": "ADD_DATA_SET_NAME_HERE",
253
+ "outputKey": "eventDescription.dataSetName"
254
+ }
255
+ ]
256
+ },
257
+ "product_viewed": {
258
+ "enrichments": [
259
+ {
260
+ "staticString": "PAGE_VIEW",
261
+ "outputKey": "eventDescription.conversionType"
262
+ },
263
+ {
264
+ "staticString": "ADD_DATA_SET_NAME_HERE",
265
+ "outputKey": "eventDescription.dataSetName"
266
+ }
267
+ ]
268
+ },
269
+ "cart_viewed": {
270
+ "enrichments": [
271
+ {
272
+ "staticString": "PAGE_VIEW",
273
+ "outputKey": "eventDescription.conversionType"
274
+ },
275
+ {
276
+ "staticString": "ADD_DATA_SET_NAME_HERE",
277
+ "outputKey": "eventDescription.dataSetName"
278
+ }
279
+ ]
280
+ },
281
+ "products_searched": {
282
+ "enrichments": [
283
+ {
284
+ "staticString": "SEARCH",
285
+ "outputKey": "eventDescription.conversionType"
286
+ },
287
+ {
288
+ "staticString": "ADD_DATA_SET_NAME_HERE",
289
+ "outputKey": "eventDescription.dataSetName"
290
+ }
291
+ ]
292
+ }
293
+ },
294
+ "default": {
295
+ "enrichments": [
296
+ {
297
+ "staticString": "OTHER",
298
+ "outputKey": "eventDescription.conversionType"
299
+ },
300
+ {
301
+ "staticString": "ADD_DATA_SET_NAME_HERE",
302
+ "outputKey": "eventDescription.dataSetName"
303
+ }
304
+ ]
305
+ }
306
+ }
@@ -1 +1 @@
1
- "765fb96d8e8219fbc8e3f0c69c0ebcb5 -"
1
+ "d9ffd44fadecf42bbc9e34d9cc2ed08d -"
@@ -48,6 +48,10 @@
48
48
  {
49
49
  "date": "2025-11-05T00:00:00.000Z",
50
50
  "note": "Version: 1.5.0\nAdded a static trackingSource value under customParameters"
51
+ },
52
+ {
53
+ "date": "2025-11-19T00:00:00.000Z",
54
+ "note": "Version: 1.5.1\nAdded friendly name to trackingSource expression"
51
55
  }
52
56
  ]
53
57
  }
@@ -1 +1 @@
1
- "6f5eb04b4c3c9f9267d83413af97cef7 -"
1
+ "7dd77ba1876cc2e46e640a8ae6de7784 -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.0",
2
+ "version": "1.5.1",
3
3
  "params": [
4
4
  {
5
5
  "name": "ENTERPRISE_ID",
@@ -119,6 +119,7 @@
119
119
  "expressions": [
120
120
  {
121
121
  "lang": "lua",
122
+ "name": "Partner Field",
122
123
  "body": "return {\n customParameters = {\n { name = \"trackingSource\", value = \"metarouter\" }\n }\n}"
123
124
  }
124
125
  ]
@@ -199,6 +199,35 @@
199
199
  "defaultTableOverride": {
200
200
  "type": "string"
201
201
  },
202
+ "fieldOverrides": {
203
+ "type": "array",
204
+ "items": {
205
+ "type": "object",
206
+ "properties": {
207
+ "field": {
208
+ "type": "string"
209
+ },
210
+ "fieldType": {
211
+ "type": "number",
212
+ "description": "0: BIG_QUERY_FIELD_TYPE_UNSPECIFIED; 1: BIG_QUERY_FIELD_TYPE_STRING; 2: BIG_QUERY_FIELD_TYPE_TIMESTAMP",
213
+ "enum": [
214
+ 0,
215
+ 1,
216
+ 2
217
+ ]
218
+ },
219
+ "table": {
220
+ "type": "string"
221
+ }
222
+ },
223
+ "required": [
224
+ "table",
225
+ "field",
226
+ "fieldType"
227
+ ],
228
+ "additionalProperties": false
229
+ }
230
+ },
202
231
  "projectId": {
203
232
  "type": "string"
204
233
  },
@@ -1 +1 @@
1
- "1d423be1c9b190ebd481140acbd89cff -"
1
+ "d0ac10b67a42773937813707ebe18c93 -"
@@ -15,7 +15,11 @@
15
15
  "releaseNotes": [
16
16
  {
17
17
  "date": "2025-11-12T00:00:00.000Z",
18
- "note": "version: 0.1.0\nEngageFront initial release."
18
+ "note": "Version: 0.1.0\nEngageFront initial release."
19
+ },
20
+ {
21
+ "date": "2025-11-19T00:00:00.000Z",
22
+ "note": "Version: 0.2.0\nUpdate playbook with twn_id and attr_cookie."
19
23
  }
20
24
  ]
21
25
  }
@@ -1 +1 @@
1
- "3f881aa3391ce416d6eec89051ac1f29 -"
1
+ "c9b879f5efb6123561407bb59d6a5d59 -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "global": {
4
4
  "filters": [
5
5
  {
@@ -39,6 +39,14 @@
39
39
  "inputKey": "context.ip",
40
40
  "outputKey": "client_ip"
41
41
  },
42
+ {
43
+ "inputKey": "context.providers.engageFront.twn_id",
44
+ "outputKey": "twn_id"
45
+ },
46
+ {
47
+ "inputKey": "context.providers.engageFront.attr_cookie",
48
+ "outputKey": "attr_cookie"
49
+ },
42
50
  {
43
51
  "inputKey": "context.userAgent",
44
52
  "outputKey": "user_agent"
@@ -1 +1 @@
1
- "642c1a302f5400399036457634ec63d5 -"
1
+ "21af8fee9d97d7a46e1811654dd2de87 -"
@@ -1 +1 @@
1
- "69370a7b8adb5b0945163f1867658fb3 -"
1
+ "18289868c72f542397fa4a95554a1105 -"
@@ -1 +1 @@
1
- "fb8612861d40c9dd11f7e0f43b70c79a -"
1
+ "b4b95f9e4fb9bb3eae025f28e74ef78c -"
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "params": [
3
3
  {
4
- "name": "DATA_CENTER",
5
- "exampleValue": "my-data-center",
6
- "defaultValue": "us",
7
- "description": "Data center. Available options: ams (use for European and African users), asia (use for Asian and Australian users), us (use for North and South American users)."
4
+ "name": "API_ENDPOINT_URL",
5
+ "exampleValue": "my-api-endpoint-url",
6
+ "defaultValue": "https://us.creativecdn.com/partner/omni-metarouter/postbacks?"
8
7
  }
9
8
  ],
10
9
  "default": {
11
- "endpoint": "https://$$DATA_CENTER$$.creativecdn.com/partner/omni-metarouter/postbacks?",
10
+ "endpoint": "$$API_ENDPOINT_URL$$",
12
11
  "method": "POST",
13
12
  "headers": [
14
13
  {
@@ -1 +1 @@
1
- "8dbffa28cd37fdc7e70a48a008b506db -"
1
+ "3f86cf4e3dc9d3d68537a1a8de75df55 -"
@@ -28,6 +28,10 @@
28
28
  {
29
29
  "date": "2025-07-30T00:00:00.000Z",
30
30
  "note": "Version: 0.3.1\nReplaced context.traits with traits."
31
+ },
32
+ {
33
+ "date": "2025-12-03T00:00:00.000Z",
34
+ "note": "Version: 0.4.0\nUpdated endpoint to be a parameter"
31
35
  }
32
36
  ]
33
37
  }
@@ -1 +1 @@
1
- "369a8e8fcf83b3185f8cd0f6a269d070 -"
1
+ "220c7511b69ced2403f1a476f5163532 -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.1",
2
+ "version": "0.4.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "PARTNER_KEY",
@@ -0,0 +1 @@
1
+ "1fad08db2120c7989c612c7628848f75 -"
@@ -0,0 +1,65 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "ACCESS_TOKEN",
5
+ "exampleValue": "my-access-token"
6
+ },
7
+ {
8
+ "name": "EXTERNAL_INFERENCE_URL",
9
+ "exampleValue": "my-external-inference-url"
10
+ },
11
+ {
12
+ "name": "WALLAROO_URL",
13
+ "exampleValue": "my-wallaroo-url"
14
+ },
15
+ {
16
+ "name": "CONFIDENTIAL_CLIENT_SECRET",
17
+ "exampleValue": "my-confidential-client-secret"
18
+ },
19
+ {
20
+ "name": "CONFIDENTIAL_CLIENT",
21
+ "exampleValue": "my-confidential-client"
22
+ }
23
+ ],
24
+ "default": {
25
+ "endpoint": "$$EXTERNAL_INFERENCE_URL$$",
26
+ "batchSize": 1,
27
+ "method": "POST",
28
+ "headers": [
29
+ {
30
+ "key": "Content-Type",
31
+ "value": "application/json"
32
+ },
33
+ {
34
+ "key": "Authorization",
35
+ "value": "Bearer $$ACCESS_TOKEN$$"
36
+ }
37
+ ],
38
+ "oauth2Auth": {
39
+ "request": {
40
+ "body": [
41
+ {
42
+ "key": "grant_type",
43
+ "value": "client_credentials"
44
+ },
45
+ {
46
+ "key": "client_id",
47
+ "value": "$$CONFIDENTIAL_CLIENT$$"
48
+ },
49
+ {
50
+ "key": "client_secret",
51
+ "value": "$$CONFIDENTIAL_CLIENT_SECRET$$"
52
+ }
53
+ ],
54
+ "contentType": "application/x-www-form-urlencoded",
55
+ "method": "POST",
56
+ "url": "https://$$WALLAROO_URL$$/auth/realms/master/protocol/openid-connect/token"
57
+ },
58
+ "responseAccessTokenKey": "access_token"
59
+ },
60
+ "transform": {
61
+ "lang": "lua",
62
+ "body": "request.body = batch\nreturn request"
63
+ }
64
+ }
65
+ }
@@ -0,0 +1 @@
1
+ "83afcd4f872dcd31f5e79f5cd241d668 -"
@@ -0,0 +1,21 @@
1
+ {
2
+ "isDraft": false,
3
+ "isDeprecated": false,
4
+ "isBeta": true,
5
+ "friendlyName": "Wallaroo",
6
+ "description": "Wallaroo is an MLOps platform that provides tools for deploying, managing, and monitoring ML models in production.",
7
+ "logo": "https://cdn.metarouter.io/wallaroo.png",
8
+ "color": "#4B9CD3",
9
+ "eventSource": {
10
+ "isAndroidApp": false,
11
+ "isIosApp": false,
12
+ "isWebApp": true
13
+ },
14
+ "inputSchema": "analytics_js",
15
+ "releaseNotes": [
16
+ {
17
+ "date": "2025-12-03T00:00:00.000Z",
18
+ "note": "Version: 0.1.0\nBeta Version\nWallaroo initial release"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1 @@
1
+ "83fcf4a317cca3283735b9a1ca8d6d0b -"
@@ -0,0 +1,39 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "global": {
4
+ "filters": [
5
+ {
6
+ "byEventNames": {
7
+ "action": "allow",
8
+ "events": [
9
+ "identify",
10
+ "page",
11
+ "products_searched",
12
+ "product_list_viewed",
13
+ "product_clicked",
14
+ "product_viewed",
15
+ "product_added",
16
+ "product_removed",
17
+ "cart_viewed",
18
+ "checkout_started",
19
+ "payment_info_entered",
20
+ "order_completed",
21
+ "promotion_clicked",
22
+ "promotion_viewed",
23
+ "product_added_to_wishlist",
24
+ "order_updated",
25
+ "order_refunded",
26
+ "coupon_entered",
27
+ "order_canceled"
28
+ ]
29
+ }
30
+ }
31
+ ],
32
+ "expressions": [
33
+ {
34
+ "lang": "lua",
35
+ "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
+ ]
38
+ }
39
+ }
package/README.md CHANGED
@@ -1,11 +1,9 @@
1
1
  # MetaRouter Starter Kits
2
2
 
3
- ### 2025-11
4
- - Adobe Experience Platform
5
- - Commission Junction
6
- - EngageFront (New)
7
- - Microsoft Ads CAPI
8
- - Teads (New)
3
+ ### 2025-12
4
+ - Amazon DSP - Events (New)
5
+ - RTB House
6
+ - Wallaroo (New)
9
7
 
10
8
  | Kit Name | Initial Release Date | Stable Release Date | Latest Release Date | Current Version | Latest Note |
11
9
  |----------|----------------------|---------------------|---------------------|-----------------|-------------|
@@ -13,9 +11,10 @@
13
11
  | ActionIQ | 2021-06-24 | N/A | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
14
12
  | Acuity Ads | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
15
13
  | Adjust | 2025-09-10 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
16
- | Adobe Analytics | 2025-10-08 | N/A | 2025-10-29 | Version: 0.3.0 | userAgent generation for native app support Increased possible mappings for pageName |
17
- | Adobe Experience Platform | 2023-03-21 | 2025-08-20 | 2025-11-05 | Version: 1.0.1 | Updated Friendly Name |
14
+ | Adobe Analytics | 2025-10-08 | N/A | 2025-11-19 | Version: 0.4.0 | Changed reportSuiteID to a parameter Added marketingCloudVisitorID field |
15
+ | Adobe Experience Platform | 2023-03-21 | 2025-08-20 | 2025-11-19 | Version: 1.1.0 | Added ECID support Updated identityMap mappings |
18
16
  | Adobe ID | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
17
+ | Amazon DSP - Events (New) | 2025-12-03 | N/A | 2025-12-03 | Version: 0.1.0 | Beta Version Amazon DSP - Events initial release |
19
18
  | Amazon DSP CAPI | 2025-05-21 | 2025-08-13 | 2025-08-13 | Version: 1.0.0 | Stable Release |
20
19
  | Amazon Data Firehose | 2025-02-05 | 2025-04-02 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
21
20
  | Amazon Kinesis | 2025-05-21 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
@@ -33,11 +32,11 @@
33
32
  | Button | 2025-02-19 | 2025-03-12 | 2025-07-30 | Version: 1.1.0 | Replaced context.traits with traits. |
34
33
  | CM360 - Floodlights | 2021-06-24 | 2025-08-20 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
35
34
  | Clinch | 2024-04-24 | 2024-06-12 | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
36
- | Commission Junction | 2024-01-17 | 2024-04-24 | 2025-11-05 | Version: 1.5.0 | Added a static trackingSource value under customParameters |
35
+ | Commission Junction | 2024-01-17 | 2024-04-24 | 2025-11-19 | Version: 1.5.1 | Added friendly name to trackingSource expression |
37
36
  | Convert | 2023-09-08 | N/A | 2024-11-20 | Version: 0.3.0 | Added new deduplication parameter for all events, `tid` |
38
37
  | 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 |
39
38
  | Customer.io | 2022-11-07 | N/A | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
40
- | EngageFront (New) | 2025-11-12 | N/A | 2025-11-12 | version: 0.1.0 | EngageFront initial release. |
39
+ | EngageFront | 2025-11-12 | N/A | 2025-11-19 | Version: 0.2.0 | Update playbook with twn_id and attr_cookie. |
41
40
  | Firebase | 2024-01-15 | N/A | 2024-10-23 | Version: 0.2.0 | Updated header `Accept-Encoding: application/json` |
42
41
  | Google AJSID Segments | 2024-05-29 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
43
42
  | Google Ads - Conversions | 2023-07-04 | 2024-04-17 | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
@@ -76,24 +75,25 @@
76
75
  | Pinterest CAPI | 2023-03-07 | N/A | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
77
76
  | Podscribe | 2025-03-12 | 2025-04-09 | 2025-10-15 | Version: 1.2.1 | Added friendly names to expressions |
78
77
  | Podsights | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
79
- | RTB House | 2024-11-20 | N/A | 2025-07-30 | Version: 0.3.1 | Replaced context.traits with traits. |
78
+ | RTB House | 2024-11-20 | N/A | 2025-12-03 | Version: 0.4.0 | Updated endpoint to be a parameter |
80
79
  | Rakuten Conversions | 2025-07-30 | 2025-09-24 | 2025-09-24 | Version: 1.0.0 | Stable Release |
81
80
  | 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 |
82
- | 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 |
83
81
  | Ringier Axel Springer Poland | 2025-06-25 | N/A | 2025-09-24 | Version: 0.3.0 | Stringified products fields in multiple events |
82
+ | 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 |
84
83
  | Roku | 2023-04-27 | N/A | 2025-07-30 | Version: 1.2.0 | Replaced context.traits with traits. |
85
84
  | Roomvo | 2021-08-10 | N/A | 2025-10-15 | Version: 0.2.1 | Added friendly names to expressions |
86
85
  | Salesforce CDP | 2022-05-31 | N/A | 2025-07-30 | Version: 1.2.0 | Replaced originalTimestamp with timestamp |
87
86
  | Snapchat - CAPI | 2024-06-05 | 2024-07-17 | 2025-07-30 | Version: 1.4.0 | Replaced context.traits with traits. |
88
87
  | Snapchat Ads | 2021-06-24 | N/A | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
89
88
  | Snowflake | 2021-06-24 | N/A | 2025-10-15 | Version: 0.1.2 | Added friendly names to expressions |
90
- | Teads (New) | 2025-11-12 | N/A | 2025-11-12 | Version: 0.1.0 | Beta Version Teads initial release |
89
+ | Teads | 2025-11-12 | N/A | 2025-11-12 | Version: 0.1.0 | Beta Version Teads initial release |
91
90
  | The Trade Desk - Conversions | 2025-06-04 | 2025-07-30 | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
92
91
  | TheTradeDesk Conversion Events | 2022-11-29 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced originalTimestamp with timestamp |
93
92
  | 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 |
94
93
  | TikTok | 2023-03-07 | 2023-12-13 | 2025-07-30 | Version: 2.4.0 | Replaced context.traits with traits. |
95
94
  | Treasure Data | 2024-02-21 | 2025-08-20 | 2025-08-20 | Version: 1.0.0 | Stable Release |
96
95
  | 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-03 | Version: 0.1.0 | Beta Version Wallaroo initial release |
97
97
  | Webhooks | 2024-05-29 | 2024-08-07 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
98
98
  | X Ads - Web Conversions | 2024-09-04 | 2024-09-25 | 2025-07-30 | Version: 1.1.0 | Replaced context.traits with traits. |
99
99
  | Xandr | 2021-07-13 | N/A | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
package/index.js CHANGED
@@ -130,6 +130,12 @@ exports['amazon-dsp-capi'] = {
130
130
  metadata: require('./.dist/amazon-dsp-capi/metadata.json')
131
131
  }
132
132
 
133
+ exports['amazon-dsp-events'] = {
134
+ endpointSchema: require('./.dist/amazon-dsp-events/connection.json'),
135
+ playbook: require('./.dist/amazon-dsp-events/playbook.json'),
136
+ metadata: require('./.dist/amazon-dsp-events/metadata.json')
137
+ }
138
+
133
139
  exports.amnet = {
134
140
  endpointSchema: require('./.dist/amnet/connection.json'),
135
141
  playbook: require('./.dist/amnet/playbook.json'),
@@ -549,6 +555,12 @@ exports.videoamp = {
549
555
  metadata: require('./.dist/videoamp/metadata.json')
550
556
  }
551
557
 
558
+ exports.wallaroo = {
559
+ endpointSchema: require('./.dist/wallaroo/connection.json'),
560
+ playbook: require('./.dist/wallaroo/playbook.json'),
561
+ metadata: require('./.dist/wallaroo/metadata.json')
562
+ }
563
+
552
564
  exports['x-ads'] = {
553
565
  endpointSchema: require('./.dist/x-ads/connection.json'),
554
566
  playbook: require('./.dist/x-ads/playbook.json'),
@@ -674,6 +686,11 @@ exports.etags = {
674
686
  playbook: require('./.dist/amazon-dsp-capi/playbook.etag.json'),
675
687
  kit: require('./.dist/amazon-dsp-capi/kit.etag.json')
676
688
  },
689
+ 'amazon-dsp-events': {
690
+ endpointSchema: require('./.dist/amazon-dsp-events/connection.etag.json'),
691
+ playbook: require('./.dist/amazon-dsp-events/playbook.etag.json'),
692
+ kit: require('./.dist/amazon-dsp-events/kit.etag.json')
693
+ },
677
694
  amnet: {
678
695
  endpointSchema: require('./.dist/amnet/connection.etag.json'),
679
696
  playbook: require('./.dist/amnet/playbook.etag.json'),
@@ -1024,6 +1041,11 @@ exports.etags = {
1024
1041
  playbook: require('./.dist/videoamp/playbook.etag.json'),
1025
1042
  kit: require('./.dist/videoamp/kit.etag.json')
1026
1043
  },
1044
+ wallaroo: {
1045
+ endpointSchema: require('./.dist/wallaroo/connection.etag.json'),
1046
+ playbook: require('./.dist/wallaroo/playbook.etag.json'),
1047
+ kit: require('./.dist/wallaroo/kit.etag.json')
1048
+ },
1027
1049
  'x-ads': {
1028
1050
  endpointSchema: require('./.dist/x-ads/connection.etag.json'),
1029
1051
  playbook: require('./.dist/x-ads/playbook.etag.json'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.149",
3
+ "version": "1.0.151",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {