@metarouter/ajs-starter-kit 1.0.148 → 1.0.149

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.
@@ -0,0 +1 @@
1
+ "935661bda4433864fd9419bed106d530 -"
@@ -0,0 +1,26 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "API_KEY",
5
+ "exampleValue": "my-api-key"
6
+ }
7
+ ],
8
+ "default": {
9
+ "endpoint": "https://paxbeacon.theweathernetwork.com/metarouter/events",
10
+ "method": "POST",
11
+ "headers": [
12
+ {
13
+ "key": "Accept-Encoding",
14
+ "value": "application/json"
15
+ },
16
+ {
17
+ "key": "Content-Type",
18
+ "value": "application/json"
19
+ },
20
+ {
21
+ "key": "Authorization",
22
+ "value": "Api-Key $$API_KEY$$"
23
+ }
24
+ ]
25
+ }
26
+ }
@@ -0,0 +1 @@
1
+ "1d423be1c9b190ebd481140acbd89cff -"
@@ -0,0 +1,21 @@
1
+ {
2
+ "isDraft": false,
3
+ "isDeprecated": false,
4
+ "isBeta": true,
5
+ "friendlyName": "EngageFront",
6
+ "description": "EngageFront is a demand-side platform (DSP) that allows advertisers and agencies to run multichannel programmatic campaigns through a self-serve interface.",
7
+ "logo": "https://drive.google.com/file/d/1xQqRag88PDht-NBwakfYOPlVVaiRx4lY/view?usp=sharing",
8
+ "color": "#238497",
9
+ "eventSource": {
10
+ "isAndroidApp": false,
11
+ "isIosApp": false,
12
+ "isWebApp": true
13
+ },
14
+ "inputSchema": "analytics_js",
15
+ "releaseNotes": [
16
+ {
17
+ "date": "2025-11-12T00:00:00.000Z",
18
+ "note": "version: 0.1.0\nEngageFront initial release."
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1 @@
1
+ "3f881aa3391ce416d6eec89051ac1f29 -"
@@ -0,0 +1,76 @@
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
+ ]
28
+ }
29
+ }
30
+ ],
31
+ "enrichments": [
32
+ {
33
+ "staticString": "ADD_YOUR_VALUE_HERE",
34
+ "outputKey": "ef_[ADD_CAMPAIGN_OR_ADVERTISER]_id"
35
+ }
36
+ ],
37
+ "mappings": [
38
+ {
39
+ "inputKey": "context.ip",
40
+ "outputKey": "client_ip"
41
+ },
42
+ {
43
+ "inputKey": "context.userAgent",
44
+ "outputKey": "user_agent"
45
+ },
46
+ {
47
+ "inputKey": "input",
48
+ "outputKey": "timestamp",
49
+ "transforms": [
50
+ {
51
+ "expression": {
52
+ "lang": "lua",
53
+ "body": "return REPLACE(input.timestamp,'Z','000')"
54
+ }
55
+ }
56
+ ]
57
+ },
58
+ {
59
+ "inputKey": "input",
60
+ "outputKey": "event_name",
61
+ "transforms": [
62
+ {
63
+ "expression": {
64
+ "lang": "lua",
65
+ "body": "if (input.type == \"track\") then return REPLACE(LOWER(input.event), \" \", \"_\") end\nreturn input.type"
66
+ }
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "inputKey": "context.page.referrer",
72
+ "outputKey": "referer"
73
+ }
74
+ ]
75
+ }
76
+ }
@@ -1 +1 @@
1
- "21af8fee9d97d7a46e1811654dd2de87 -"
1
+ "642c1a302f5400399036457634ec63d5 -"
@@ -1 +1 @@
1
- "18289868c72f542397fa4a95554a1105 -"
1
+ "69370a7b8adb5b0945163f1867658fb3 -"
@@ -1 +1 @@
1
- "92031716c283131a1873f233edb77a92 -"
1
+ "cc798f49d695e504352a909a1b0e93a9 -"
@@ -0,0 +1 @@
1
+ "8f4e4be125e49b832a55f51c218837fc -"
@@ -0,0 +1,16 @@
1
+ {
2
+ "default": {
3
+ "endpoint": "https://obtr.teads.tv/unifiedPixel",
4
+ "method": "GET",
5
+ "headers": [
6
+ {
7
+ "key": "Accept-Encoding",
8
+ "value": "application/json"
9
+ },
10
+ {
11
+ "key": "Content-Type",
12
+ "value": "application/json"
13
+ }
14
+ ]
15
+ }
16
+ }
@@ -0,0 +1 @@
1
+ "c4d46a3f21b3c16d0bc542d05882cc60 -"
@@ -0,0 +1,21 @@
1
+ {
2
+ "isDraft": false,
3
+ "isDeprecated": false,
4
+ "isBeta": true,
5
+ "friendlyName": "Teads",
6
+ "description": "Teads is a global advertising platform specializing in outstream video and display ads that appear within premium publisher content.",
7
+ "logo": "https://cdn.metarouter.io/teads.png",
8
+ "color": "#3300BF",
9
+ "eventSource": {
10
+ "isAndroidApp": false,
11
+ "isIosApp": false,
12
+ "isWebApp": true
13
+ },
14
+ "inputSchema": "analytics_js",
15
+ "releaseNotes": [
16
+ {
17
+ "date": "2025-11-12T21:00:00.000Z",
18
+ "note": "Version: 0.1.0\nBeta Version\nTeads initial release"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1 @@
1
+ "7ff01ec94ba27d3d7eeae7a7a86d96a5 -"
@@ -0,0 +1,290 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "params": [
4
+ {
5
+ "name": "TEADS_URL_DECORATOR",
6
+ "exampleValue": "my-teads-url-decorator",
7
+ "description": "Your custom URL Decorator for Teads"
8
+ }
9
+ ],
10
+ "global": {
11
+ "mappings": [
12
+ {
13
+ "inputKey": "context.providers.teads.$$TEADS_URL_DECORATOR$$",
14
+ "outputKey": "ob_click_id"
15
+ },
16
+ {
17
+ "inputKey": "timestamp",
18
+ "outputKey": "timestamp",
19
+ "transforms": [
20
+ {
21
+ "expression": {
22
+ "lang": "lua",
23
+ "body": "local timestamp = input.timestamp or input.sentAt or input.originalTimestamp\ntimestamp = TO_STRING(timestamp)\nreturn SUBSTRING(timestamp, 0, 19)"
24
+ }
25
+ }
26
+ ]
27
+ }
28
+ ]
29
+ },
30
+ "default": {
31
+ "filters": [
32
+ {
33
+ "byEventNames": {
34
+ "action": "allow",
35
+ "events": [
36
+ ""
37
+ ]
38
+ }
39
+ }
40
+ ]
41
+ },
42
+ "eventSpecific": {
43
+ "page": {
44
+ "enrichments": [
45
+ {
46
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
47
+ "outputKey": "name"
48
+ }
49
+ ]
50
+ },
51
+ "products_searched": {
52
+ "enrichments": [
53
+ {
54
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
55
+ "outputKey": "name"
56
+ }
57
+ ]
58
+ },
59
+ "product_list_viewed": {
60
+ "enrichments": [
61
+ {
62
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
63
+ "outputKey": "name"
64
+ }
65
+ ],
66
+ "mappings": [
67
+ {
68
+ "inputKey": "input",
69
+ "outputKey": "orderValue",
70
+ "transforms": [
71
+ {
72
+ "expression": {
73
+ "lang": "lua",
74
+ "body": "return TOTAL_VALUE(input.properties.products)"
75
+ }
76
+ }
77
+ ]
78
+ }
79
+ ]
80
+ },
81
+ "product_clicked": {
82
+ "enrichments": [
83
+ {
84
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
85
+ "outputKey": "name"
86
+ }
87
+ ],
88
+ "mappings": [
89
+ {
90
+ "inputKey": "properties.price",
91
+ "outputKey": "orderValue"
92
+ }
93
+ ]
94
+ },
95
+ "product_viewed": {
96
+ "enrichments": [
97
+ {
98
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
99
+ "outputKey": "name"
100
+ }
101
+ ],
102
+ "mappings": [
103
+ {
104
+ "inputKey": "properties.price",
105
+ "outputKey": "orderValue"
106
+ },
107
+ {
108
+ "inputKey": "properties.currency",
109
+ "outputKey": "currency",
110
+ "transforms": [
111
+ {
112
+ "modifyString": "uppercase"
113
+ }
114
+ ]
115
+ }
116
+ ]
117
+ },
118
+ "product_added": {
119
+ "enrichments": [
120
+ {
121
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
122
+ "outputKey": "name"
123
+ }
124
+ ],
125
+ "mappings": [
126
+ {
127
+ "inputKey": "properties.cart_id",
128
+ "outputKey": "orderId"
129
+ },
130
+ {
131
+ "inputKey": "properties.price",
132
+ "outputKey": "orderValue"
133
+ }
134
+ ]
135
+ },
136
+ "product_removed": {
137
+ "enrichments": [
138
+ {
139
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
140
+ "outputKey": "name"
141
+ }
142
+ ],
143
+ "mappings": [
144
+ {
145
+ "inputKey": "properties.cart_id",
146
+ "outputKey": "orderId"
147
+ },
148
+ {
149
+ "inputKey": "properties.price",
150
+ "outputKey": "orderValue"
151
+ }
152
+ ]
153
+ },
154
+ "cart_viewed": {
155
+ "enrichments": [
156
+ {
157
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
158
+ "outputKey": "name"
159
+ }
160
+ ],
161
+ "mappings": [
162
+ {
163
+ "inputKey": "properties.cart_id",
164
+ "outputKey": "orderId"
165
+ },
166
+ {
167
+ "inputKey": "properties.currency",
168
+ "outputKey": "currency",
169
+ "transforms": [
170
+ {
171
+ "modifyString": "uppercase"
172
+ }
173
+ ]
174
+ },
175
+ {
176
+ "inputKey": "input",
177
+ "outputKey": "orderValue",
178
+ "transforms": [
179
+ {
180
+ "expression": {
181
+ "lang": "lua",
182
+ "body": "return TOTAL_VALUE(input.properties.products)"
183
+ }
184
+ }
185
+ ]
186
+ }
187
+ ]
188
+ },
189
+ "checkout_started": {
190
+ "enrichments": [
191
+ {
192
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
193
+ "outputKey": "name"
194
+ }
195
+ ],
196
+ "mappings": [
197
+ {
198
+ "inputKey": "properties.order_id",
199
+ "outputKey": "orderId"
200
+ },
201
+ {
202
+ "inputKey": "properties.currency",
203
+ "outputKey": "currency",
204
+ "transforms": [
205
+ {
206
+ "modifyString": "uppercase"
207
+ }
208
+ ]
209
+ },
210
+ {
211
+ "inputKey": "input",
212
+ "outputKey": "orderValue",
213
+ "transforms": [
214
+ {
215
+ "expression": {
216
+ "lang": "lua",
217
+ "body": "return TOTAL_VALUE(input.properties.products)"
218
+ }
219
+ }
220
+ ]
221
+ }
222
+ ]
223
+ },
224
+ "payment_info_entered": {
225
+ "enrichments": [
226
+ {
227
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
228
+ "outputKey": "name"
229
+ }
230
+ ],
231
+ "mappings": [
232
+ {
233
+ "inputKey": "properties.order_id",
234
+ "outputKey": "orderId"
235
+ }
236
+ ]
237
+ },
238
+ "order_completed": {
239
+ "enrichments": [
240
+ {
241
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
242
+ "outputKey": "name"
243
+ }
244
+ ],
245
+ "mappings": [
246
+ {
247
+ "inputKey": "properties.order_id",
248
+ "outputKey": "orderId"
249
+ },
250
+ {
251
+ "inputKey": "properties.currency",
252
+ "outputKey": "currency",
253
+ "transforms": [
254
+ {
255
+ "modifyString": "uppercase"
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "inputKey": "input",
261
+ "outputKey": "orderValue",
262
+ "transforms": [
263
+ {
264
+ "expression": {
265
+ "lang": "lua",
266
+ "body": "return TOTAL_VALUE(input.properties.products)"
267
+ }
268
+ }
269
+ ]
270
+ }
271
+ ]
272
+ },
273
+ "promotion_clicked": {
274
+ "enrichments": [
275
+ {
276
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
277
+ "outputKey": "name"
278
+ }
279
+ ]
280
+ },
281
+ "promotion_viewed": {
282
+ "enrichments": [
283
+ {
284
+ "staticString": "ADD_EVENT_BASED_CONVERSION_NAME_HERE",
285
+ "outputKey": "name"
286
+ }
287
+ ]
288
+ }
289
+ }
290
+ }
package/README.md CHANGED
@@ -3,7 +3,9 @@
3
3
  ### 2025-11
4
4
  - Adobe Experience Platform
5
5
  - Commission Junction
6
+ - EngageFront (New)
6
7
  - Microsoft Ads CAPI
8
+ - Teads (New)
7
9
 
8
10
  | Kit Name | Initial Release Date | Stable Release Date | Latest Release Date | Current Version | Latest Note |
9
11
  |----------|----------------------|---------------------|---------------------|-----------------|-------------|
@@ -35,6 +37,7 @@
35
37
  | Convert | 2023-09-08 | N/A | 2024-11-20 | Version: 0.3.0 | Added new deduplication parameter for all events, `tid` |
36
38
  | 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 |
37
39
  | 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. |
38
41
  | Firebase | 2024-01-15 | N/A | 2024-10-23 | Version: 0.2.0 | Updated header `Accept-Encoding: application/json` |
39
42
  | Google AJSID Segments | 2024-05-29 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
40
43
  | Google Ads - Conversions | 2023-07-04 | 2024-04-17 | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
@@ -76,14 +79,15 @@
76
79
  | RTB House | 2024-11-20 | N/A | 2025-07-30 | Version: 0.3.1 | Replaced context.traits with traits. |
77
80
  | Rakuten Conversions | 2025-07-30 | 2025-09-24 | 2025-09-24 | Version: 1.0.0 | Stable Release |
78
81
  | 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 |
79
- | Ringier Axel Springer Poland | 2025-06-25 | N/A | 2025-09-24 | Version: 0.3.0 | Stringified products fields in multiple events |
80
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
+ | Ringier Axel Springer Poland | 2025-06-25 | N/A | 2025-09-24 | Version: 0.3.0 | Stringified products fields in multiple events |
81
84
  | Roku | 2023-04-27 | N/A | 2025-07-30 | Version: 1.2.0 | Replaced context.traits with traits. |
82
85
  | Roomvo | 2021-08-10 | N/A | 2025-10-15 | Version: 0.2.1 | Added friendly names to expressions |
83
86
  | Salesforce CDP | 2022-05-31 | N/A | 2025-07-30 | Version: 1.2.0 | Replaced originalTimestamp with timestamp |
84
87
  | Snapchat - CAPI | 2024-06-05 | 2024-07-17 | 2025-07-30 | Version: 1.4.0 | Replaced context.traits with traits. |
85
88
  | Snapchat Ads | 2021-06-24 | N/A | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
86
89
  | 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 |
87
91
  | The Trade Desk - Conversions | 2025-06-04 | 2025-07-30 | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
88
92
  | TheTradeDesk Conversion Events | 2022-11-29 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced originalTimestamp with timestamp |
89
93
  | 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 |
package/index.js CHANGED
@@ -237,6 +237,12 @@ exports['customer-io'] = {
237
237
  metadata: require('./.dist/customer-io/metadata.json')
238
238
  }
239
239
 
240
+ exports['engage-front'] = {
241
+ endpointSchema: require('./.dist/engage-front/connection.json'),
242
+ playbook: require('./.dist/engage-front/playbook.json'),
243
+ metadata: require('./.dist/engage-front/metadata.json')
244
+ }
245
+
240
246
  exports['facebook-pixel'] = {
241
247
  endpointSchema: require('./.dist/facebook-pixel/connection.json'),
242
248
  playbook: require('./.dist/facebook-pixel/playbook.json'),
@@ -489,6 +495,12 @@ exports['snapchat-capi'] = {
489
495
  metadata: require('./.dist/snapchat-capi/metadata.json')
490
496
  }
491
497
 
498
+ exports['teads'] = {
499
+ endpointSchema: require('./.dist/teads/connection.json'),
500
+ playbook: require('./.dist/teads/playbook.json'),
501
+ metadata: require('./.dist/teads/metadata.json')
502
+ }
503
+
492
504
  exports['thetradedesk-conversion-events'] = {
493
505
  endpointSchema: require('./.dist/thetradedesk-conversion-events/connection.json'),
494
506
  playbook: require('./.dist/thetradedesk-conversion-events/playbook.json'),
@@ -753,6 +765,11 @@ exports.etags = {
753
765
  playbook: require('./.dist/customer-io/playbook.etag.json'),
754
766
  kit: require('./.dist/customer-io/kit.etag.json')
755
767
  },
768
+ 'engage-front': {
769
+ endpointSchema: require('./.dist/engage-front/connection.etag.json'),
770
+ playbook: require('./.dist/engage-front/playbook.etag.json'),
771
+ metadata: require('./.dist/engage-front/kit.etag.json')
772
+ },
756
773
  'facebook-pixel': {
757
774
  endpointSchema: require('./.dist/facebook-pixel/connection.etag.json'),
758
775
  playbook: require('./.dist/facebook-pixel/playbook.etag.json'),
@@ -962,6 +979,11 @@ exports.etags = {
962
979
  playbook: require('./.dist/snapchat-capi/playbook.etag.json'),
963
980
  kit: require('./.dist/snapchat-capi/kit.etag.json')
964
981
  },
982
+ 'teads': {
983
+ endpointSchema: require('./.dist/teads/connection.etag.json'),
984
+ playbook: require('./.dist/teads/playbook.etag.json'),
985
+ kit: require('./.dist/teads/kit.etag.json')
986
+ },
965
987
  'thetradedesk-conversion-events': {
966
988
  endpointSchema: require('./.dist/thetradedesk-conversion-events/connection.etag.json'),
967
989
  playbook: require('./.dist/thetradedesk-conversion-events/playbook.etag.json'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.148",
3
+ "version": "1.0.149",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {