@metarouter/ajs-starter-kit 1.0.109 → 1.0.111

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 (35) hide show
  1. package/.dist/adobe-analytics/kit.etag.json +1 -1
  2. package/.dist/adobe-analytics/metadata.json +4 -0
  3. package/.dist/adobe-analytics/playbook.etag.json +1 -1
  4. package/.dist/adobe-analytics/playbook.json +32 -2
  5. package/.dist/awin/connection.etag.json +1 -0
  6. package/.dist/awin/connection.json +47 -0
  7. package/.dist/awin/kit.etag.json +1 -0
  8. package/.dist/awin/metadata.json +21 -0
  9. package/.dist/awin/playbook.etag.json +1 -0
  10. package/.dist/awin/playbook.json +103 -0
  11. package/.dist/convert/kit.etag.json +1 -1
  12. package/.dist/convert/metadata.json +4 -0
  13. package/.dist/convert/playbook.etag.json +1 -1
  14. package/.dist/convert/playbook.json +5 -1
  15. package/.dist/moloco/connection.etag.json +1 -0
  16. package/.dist/moloco/connection.json +34 -0
  17. package/.dist/moloco/kit.etag.json +1 -0
  18. package/.dist/moloco/metadata.json +21 -0
  19. package/.dist/moloco/playbook.etag.json +1 -0
  20. package/.dist/moloco/playbook.json +251 -0
  21. package/.dist/rev-jet/kit.etag.json +1 -1
  22. package/.dist/rev-jet/metadata.json +6 -2
  23. package/.dist/rev-jet/playbook.etag.json +1 -1
  24. package/.dist/rev-jet/playbook.json +1 -1
  25. package/.dist/snapchat-capi/kit.etag.json +1 -1
  26. package/.dist/snapchat-capi/metadata.json +4 -0
  27. package/.dist/snapchat-capi/playbook.etag.json +1 -1
  28. package/.dist/snapchat-capi/playbook.json +5 -1
  29. package/.dist/zeotap/kit.etag.json +1 -1
  30. package/.dist/zeotap/metadata.json +4 -0
  31. package/.dist/zeotap/playbook.etag.json +1 -1
  32. package/.dist/zeotap/playbook.json +13 -1
  33. package/README.md +16 -10
  34. package/index.js +22 -0
  35. package/package.json +1 -1
@@ -1 +1 @@
1
- "ce5f9b0337bc778fd4449449363e44a3"
1
+ "019e16a9d770091cb5f5ac406b64ccf5"
@@ -36,6 +36,10 @@
36
36
  {
37
37
  "date": "2024-10-16T00:00:00.000Z",
38
38
  "note": "Version: 0.5.0\nAdding additional parameters for missing reports:\n trackingCode\n siteSection\n referrer"
39
+ },
40
+ {
41
+ "date": "2024-11-20T00:00:00.000Z",
42
+ "note": "Version: 0.6.0\nAdding checkout event\nUpdating inputKey for siteSection"
39
43
  }
40
44
  ]
41
45
  }
@@ -1 +1 @@
1
- "03308bad6d6b6bc728cccdccd58dbe58"
1
+ "b4dbcdba1b8c1e66e2c5d716e852741b"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.5.0",
2
+ "version": "0.6.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -94,7 +94,7 @@
94
94
  "outputKey": "event.xdm.web.webPageDetails.name"
95
95
  },
96
96
  {
97
- "inputKey": "properties.category",
97
+ "inputKey": "properties.path",
98
98
  "outputKey": "event.xdm.web.webPageDetails.siteSection"
99
99
  },
100
100
  {
@@ -280,6 +280,36 @@
280
280
  ]
281
281
  }
282
282
  ]
283
+ },
284
+ "checkout_started": {
285
+ "enrichments": [
286
+ {
287
+ "outputKey": "event.xdm.eventType",
288
+ "staticString": "commerce.checkouts"
289
+ },
290
+ {
291
+ "outputKey": "event.xdm.commerce.checkouts.value",
292
+ "staticInt": 1
293
+ }
294
+ ],
295
+ "mappings": [
296
+ {
297
+ "inputKey": "messageId",
298
+ "outputKey": "event.xdm.commerce.checkouts.id"
299
+ },
300
+ {
301
+ "inputKey": "input",
302
+ "outputKey": "event.xdm.productListItems",
303
+ "transforms": [
304
+ {
305
+ "expression": {
306
+ "lang": "lua",
307
+ "body": "return MAP(input.properties.products, function(p)\n local productCategories = { { categoryID = p.category } }\n return {\n productCategories = productCategories,\n SKU = p.sku,\n name = p.name,\n priceTotal = p.price * (p.quantity or 1),\n quantity = p.quantity or 1\n }\nend)"
308
+ }
309
+ }
310
+ ]
311
+ }
312
+ ]
283
313
  }
284
314
  }
285
315
  }
@@ -0,0 +1 @@
1
+ "ea59cced578cf91b26392db9a6183a50"
@@ -0,0 +1,47 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "ADVERTISER_ID",
5
+ "exampleValue": "my-advertiser-id"
6
+ },
7
+ {
8
+ "name": "API_KEY",
9
+ "exampleValue": "my-api-key"
10
+ }
11
+ ],
12
+ "default": {
13
+ "batchSize": 1,
14
+ "endpoint": "https://api.awin.com/s2s/advertiser/$$ADVERTISER_ID$$/orders",
15
+ "method": "POST",
16
+ "headers": [
17
+ {
18
+ "key": "Accept-Encoding",
19
+ "value": "application/json"
20
+ },
21
+ {
22
+ "key": "Content-Type",
23
+ "value": "application/json"
24
+ },
25
+ {
26
+ "key": "User-Agent",
27
+ "fromEventKey": "context.userAgent"
28
+ },
29
+ {
30
+ "key": "X-Forwarded-For",
31
+ "fromEventKey": "context.ip"
32
+ },
33
+ {
34
+ "key": "X-Real-IP",
35
+ "fromEventKey": "context.ip"
36
+ },
37
+ {
38
+ "key": "x-api-key",
39
+ "value": "$$API_KEY$$"
40
+ }
41
+ ],
42
+ "transform": {
43
+ "lang": "lua",
44
+ "body": "request.body = { orders = batch }\nreturn request"
45
+ }
46
+ }
47
+ }
@@ -0,0 +1 @@
1
+ "c2e007830845cd889b91ab0660ca8850"
@@ -0,0 +1,21 @@
1
+ {
2
+ "isDraft": false,
3
+ "isDeprecated": false,
4
+ "isBeta": true,
5
+ "friendlyName": "AWIN",
6
+ "description": "AWIN is a global affiliate marketing network that connects advertisers and publishers to drive sales and generate leads.",
7
+ "logo": "https://cdn.metarouter.io/awin.png",
8
+ "color": "#FF6600",
9
+ "eventSource": {
10
+ "isAndroidApp": true,
11
+ "isIosApp": true,
12
+ "isWebApp": true
13
+ },
14
+ "inputSchema": "analytics_js",
15
+ "releaseNotes": [
16
+ {
17
+ "date": "2024-11-14T22:00:00.000Z",
18
+ "note": "Version: 0.1.0\nBeta Version\nAWIN initial release"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1 @@
1
+ "ac5496168f383a075c9667862aa0f9ef"
@@ -0,0 +1,103 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "params": [
4
+ {
5
+ "name": "ADVERTISER_ID",
6
+ "exampleValue": "my-advertiser-id"
7
+ }
8
+ ],
9
+ "default": {
10
+ "filters": [
11
+ {
12
+ "byEventNames": {
13
+ "action": "allow",
14
+ "events": [
15
+ ""
16
+ ]
17
+ }
18
+ }
19
+ ]
20
+ },
21
+ "eventSpecific": {
22
+ "order_completed": {
23
+ "mappings": [
24
+ {
25
+ "inputKey": "input",
26
+ "outputKey": "awc",
27
+ "transforms": [
28
+ {
29
+ "expression": {
30
+ "lang": "lua",
31
+ "body": "return input.context.providers.awin.awc or (input.context.providers.awin.gclid and 'gclid_$$ADVERTISER_ID$$_' .. input.context.providers.awin.gclid) or ''"
32
+ }
33
+ }
34
+ ]
35
+ },
36
+ {
37
+ "inputKey": "properties.order_id",
38
+ "outputKey": "orderReference"
39
+ },
40
+ {
41
+ "inputKey": "input",
42
+ "outputKey": "amount",
43
+ "transforms": [
44
+ {
45
+ "expression": {
46
+ "lang": "lua",
47
+ "body": "return SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))"
48
+ }
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "inputKey": "properties.currency",
54
+ "outputKey": "currency",
55
+ "transforms": [
56
+ {
57
+ "modifyString": "uppercase"
58
+ }
59
+ ],
60
+ "defaultString": "USD"
61
+ },
62
+ {
63
+ "inputKey": "properties.coupon",
64
+ "outputKey": "voucher"
65
+ },
66
+ {
67
+ "inputKey": "input",
68
+ "outputKey": "commissionGroups",
69
+ "transforms": [
70
+ {
71
+ "expression": {
72
+ "lang": "lua",
73
+ "body": "return {{\n code = 'DEFAULT',\n amount = SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))\n}}"
74
+ }
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "inputKey": "input",
80
+ "outputKey": "basket",
81
+ "transforms": [
82
+ {
83
+ "expression": {
84
+ "lang": "lua",
85
+ "body": "return MAP(\n input.properties.products,\n function (p)\n return {\n id = p.product_id or '',\n sku = p.sku or '',\n name = p.name,\n price = p.price,\n quantity = p.quantity or 1,\n commissionGroupCode = 'DEFAULT',\n category = p.category or ''\n }\n end\n)"
86
+ }
87
+ }
88
+ ]
89
+ }
90
+ ],
91
+ "enrichments": [
92
+ {
93
+ "outputKey": "channel",
94
+ "staticString": "aw"
95
+ },
96
+ {
97
+ "outputKey": "isTest",
98
+ "staticBool": false
99
+ }
100
+ ]
101
+ }
102
+ }
103
+ }
@@ -1 +1 @@
1
- "8128321330d2ffe6b5feb0440a52d27d"
1
+ "ecb4beee278e6b704f25b9bb29d7e2ce"
@@ -24,6 +24,10 @@
24
24
  {
25
25
  "date": "2024-10-23T00:00:00.000Z",
26
26
  "note": "Version: 0.2.0\nUpdated header `Accept-Encoding: application/json`"
27
+ },
28
+ {
29
+ "date": "2024-11-20T00:00:00.000Z",
30
+ "note": "Version: 0.3.0\nAdded new deduplication parameter for all events, `tid`"
27
31
  }
28
32
  ]
29
33
  }
@@ -1 +1 @@
1
- "463bb879e313087fb076c749fe7637f5"
1
+ "6620dcdc1ba553653dcd368c7b7f144e"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.0",
2
+ "version": "0.3.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "ACCOUNT_ID",
@@ -42,6 +42,10 @@
42
42
  }
43
43
  ],
44
44
  "mappings": [
45
+ {
46
+ "inputKey": "messageId",
47
+ "outputKey": "tid"
48
+ },
45
49
  {
46
50
  "inputKey": "input",
47
51
  "outputKey": "seg.browser",
@@ -0,0 +1 @@
1
+ "d818194a33ded718398d2b3d345ef8db"
@@ -0,0 +1,34 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "ENDPOINT",
5
+ "exampleValue": "my-endpoint"
6
+ },
7
+ {
8
+ "name": "API_KEY",
9
+ "exampleValue": "my-api-key"
10
+ }
11
+ ],
12
+ "default": {
13
+ "endpoint": "$$ENDPOINT$$",
14
+ "method": "POST",
15
+ "headers": [
16
+ {
17
+ "key": "Accept-Encoding",
18
+ "value": "application/json"
19
+ },
20
+ {
21
+ "key": "accept",
22
+ "value": "application/json"
23
+ },
24
+ {
25
+ "key": "Content-Type",
26
+ "value": "application/json"
27
+ },
28
+ {
29
+ "key": "x-api-key",
30
+ "value": "$$API_KEY$$"
31
+ }
32
+ ]
33
+ }
34
+ }
@@ -0,0 +1 @@
1
+ "aa11e2732a5f6021a95b6a440ebd8ded"
@@ -0,0 +1,21 @@
1
+ {
2
+ "isDraft": false,
3
+ "isDeprecated": false,
4
+ "isBeta": true,
5
+ "friendlyName": "Moloco",
6
+ "description": "Moloco is a machine learning-driven advertising platform that helps businesses optimize their advertising campaigns.",
7
+ "logo": "https://cdn.metarouter.io/moloco.png",
8
+ "color": "#007BFF",
9
+ "eventSource": {
10
+ "isAndroidApp": true,
11
+ "isIosApp": true,
12
+ "isWebApp": true
13
+ },
14
+ "inputSchema": "analytics_js",
15
+ "releaseNotes": [
16
+ {
17
+ "date": "2024-11-14T22:00:00.000Z",
18
+ "note": "Version: 0.1.0\nBeta Version"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1 @@
1
+ "f58c961ddf546a8f4eb095b15ecd4fb5"
@@ -0,0 +1,251 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "default": {
4
+ "filters": [
5
+ {
6
+ "byEventNames": {
7
+ "action": "allow",
8
+ "events": [
9
+ ""
10
+ ]
11
+ }
12
+ }
13
+ ]
14
+ },
15
+ "global": {
16
+ "mappings": [
17
+ {
18
+ "inputKey": "userId",
19
+ "outputKey": "user_id"
20
+ },
21
+ {
22
+ "inputKey": "input",
23
+ "outputKey": "timestamp",
24
+ "transforms": [
25
+ {
26
+ "expression": {
27
+ "body": "return MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(input.timestamp or input.originalTimestamp or input.sentAt, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))",
28
+ "lang": "lua"
29
+ }
30
+ }
31
+ ]
32
+ },
33
+ {
34
+ "inputKey": "input",
35
+ "outputKey": "channel_type",
36
+ "transforms": [
37
+ {
38
+ "expression": {
39
+ "body": "if input.context.app.name or input.context.device.type or input.context.os.name then return 'APP' end\nreturn 'SITE'",
40
+ "lang": "lua"
41
+ }
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "inputKey": "context.page.path",
47
+ "outputKey": "page_id"
48
+ },
49
+ {
50
+ "inputKey": "context.page.referrer",
51
+ "outputKey": "referrer_page_id"
52
+ },
53
+ {
54
+ "inputKey": "anonymousId",
55
+ "outputKey": "device.persistent_id"
56
+ },
57
+ {
58
+ "inputKey": "input",
59
+ "outputKey": "device.os",
60
+ "transforms": [
61
+ {
62
+ "expression": {
63
+ "body": "local lower_device_type = LOWER(input.context.device.type)\nif lower_device_type == 'ios' or lower_device_type == 'android' then\n return lower_device_type\nend",
64
+ "lang": "lua"
65
+ }
66
+ }
67
+ ]
68
+ },
69
+ {
70
+ "inputKey": "context.os.version",
71
+ "outputKey": "device.os_version"
72
+ },
73
+ {
74
+ "inputKey": "context.device.model",
75
+ "outputKey": "device.model"
76
+ },
77
+ {
78
+ "inputKey": "context.userAgent",
79
+ "outputKey": "device.ua"
80
+ },
81
+ {
82
+ "inputKey": "input",
83
+ "outputKey": "language",
84
+ "transforms": [
85
+ {
86
+ "expression": {
87
+ "body": "return SPLIT(input.context.locale, \"-\", 2)[1]",
88
+ "lang": "lua"
89
+ }
90
+ }
91
+ ]
92
+ }
93
+ ]
94
+ },
95
+ "eventSpecific": {
96
+ "page": {
97
+ "enrichments": [
98
+ {
99
+ "outputKey": "event_type",
100
+ "staticString": "PAGE_VIEW"
101
+ }
102
+ ]
103
+ },
104
+ "screen": {
105
+ "enrichments": [
106
+ {
107
+ "outputKey": "event_type",
108
+ "staticString": "PAGE_VIEW"
109
+ }
110
+ ]
111
+ },
112
+ "products_searched": {
113
+ "enrichments": [
114
+ {
115
+ "outputKey": "event_type",
116
+ "staticString": "SEARCH"
117
+ }
118
+ ],
119
+ "mappings": [
120
+ {
121
+ "inputKey": "properties.query",
122
+ "outputKey": "search_query"
123
+ }
124
+ ]
125
+ },
126
+ "product_viewed": {
127
+ "enrichments": [
128
+ {
129
+ "outputKey": "event_type",
130
+ "staticString": "ITEM_PAGE_VIEW"
131
+ }
132
+ ],
133
+ "mappings": [
134
+ {
135
+ "inputKey": "input",
136
+ "outputKey": "items",
137
+ "transforms": [
138
+ {
139
+ "expression": {
140
+ "body": "return {{\n id = input.properties.product_id or input.properties.sku,\n price = {\n currency = UPPER(input.properties.currency or 'USD'),\n amount = input.properties.price\n },\n quantity = input.properties.quantity or 1,\n}}",
141
+ "lang": "lua"
142
+ }
143
+ }
144
+ ]
145
+ }
146
+ ]
147
+ },
148
+ "product_added": {
149
+ "enrichments": [
150
+ {
151
+ "outputKey": "event_type",
152
+ "staticString": "ADD_TO_CART"
153
+ }
154
+ ],
155
+ "mappings": [
156
+ {
157
+ "inputKey": "input",
158
+ "outputKey": "items",
159
+ "transforms": [
160
+ {
161
+ "expression": {
162
+ "body": "return {{\n id = input.properties.product_id or input.properties.sku,\n price = {\n currency = UPPER(input.properties.currency or 'USD'),\n amount = input.properties.price\n },\n quantity = input.properties.quantity or 1,\n}}",
163
+ "lang": "lua"
164
+ }
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "inputKey": "input",
170
+ "outputKey": "revenue",
171
+ "transforms": [
172
+ {
173
+ "expression": {
174
+ "lang": "lua",
175
+ "body": "return {\n currency = UPPER(input.properties.currency or 'USD'),\n amount = input.properties.price * (input.properties.quantity or 1)\n}"
176
+ }
177
+ }
178
+ ]
179
+ }
180
+ ]
181
+ },
182
+ "product_added_to_wishlist": {
183
+ "enrichments": [
184
+ {
185
+ "outputKey": "event_type",
186
+ "staticString": "ADD_TO_WISHLIST"
187
+ }
188
+ ],
189
+ "mappings": [
190
+ {
191
+ "inputKey": "input",
192
+ "outputKey": "items",
193
+ "transforms": [
194
+ {
195
+ "expression": {
196
+ "body": "return {{\n id = input.properties.product_id or input.properties.sku,\n price = {\n currency = UPPER(input.properties.currency or 'USD'),\n amount = input.properties.price\n },\n quantity = input.properties.quantity or 1,\n}}",
197
+ "lang": "lua"
198
+ }
199
+ }
200
+ ]
201
+ },
202
+ {
203
+ "inputKey": "input",
204
+ "outputKey": "revenue",
205
+ "transforms": [
206
+ {
207
+ "expression": {
208
+ "lang": "lua",
209
+ "body": "return {\n currency = UPPER(input.properties.currency or 'USD'),\n amount = input.properties.price * (input.properties.quantity or 1)\n}"
210
+ }
211
+ }
212
+ ]
213
+ }
214
+ ]
215
+ },
216
+ "order_completed": {
217
+ "enrichments": [
218
+ {
219
+ "outputKey": "event_type",
220
+ "staticString": "PURCHASE"
221
+ }
222
+ ],
223
+ "mappings": [
224
+ {
225
+ "inputKey": "input",
226
+ "outputKey": "items",
227
+ "transforms": [
228
+ {
229
+ "expression": {
230
+ "body": "return MAP(\n input.properties.products,\n function (p)\n return {\n id = p.product_id or p.sku,\n price = {\n currency = UPPER(p.currency or 'USD'),\n amount = p.price\n },\n quantity = p.quantity or 1,\n }\n end\n)",
231
+ "lang": "lua"
232
+ }
233
+ }
234
+ ]
235
+ },
236
+ {
237
+ "inputKey": "input",
238
+ "outputKey": "revenue",
239
+ "transforms": [
240
+ {
241
+ "expression": {
242
+ "lang": "lua",
243
+ "body": "return {\n currency = UPPER(input.properties.currency or 'USD'),\n amount = SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))\n}"
244
+ }
245
+ }
246
+ ]
247
+ }
248
+ ]
249
+ }
250
+ }
251
+ }
@@ -1 +1 @@
1
- "3f71bfeb688cdd45dbc620b0f2bb4b05"
1
+ "0e7aa858feb833181e85a958c2a7cccf"
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "isDraft": false,
3
3
  "isDeprecated": false,
4
- "isBeta": true,
5
- "friendlyName": "RevJet",
4
+ "isBeta": false,
5
+ "friendlyName": "Innervate",
6
6
  "description": "A tool designed to help enterprises manage how advertising content is personalized across media channels,\nincluding dynamic creative optimization and experimentation.",
7
7
  "logo": "https://cdn.metarouter.io/logo.svg",
8
8
  "color": "#FF430A",
@@ -32,6 +32,10 @@
32
32
  {
33
33
  "date": "2024-10-23T00:00:00.000Z",
34
34
  "note": "Version: 0.2.0\nAdded header `Accept-Encoding: application/json`"
35
+ },
36
+ {
37
+ "date": "2024-11-14T00:00:00.000Z",
38
+ "note": "Version: 1.0.0\nUpdated friendly name\nStable release"
35
39
  }
36
40
  ]
37
41
  }
@@ -1 +1 @@
1
- "6fc10ae4a3757264f082958ec35cecb6"
1
+ "95b72f131692edbf296baa0183be0561"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.0",
2
+ "version": "1.0.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "V10",
@@ -1 +1 @@
1
- "0e1bf291cee9bf32cb236000f46132cf"
1
+ "df78b2ed13506c726fc9ad98a69a5f09"
@@ -28,6 +28,10 @@
28
28
  {
29
29
  "date": "2024-10-23T00:00:00.000Z",
30
30
  "note": "Version: 1.2.0\nAdded header `Accept-Encoding: application/json`"
31
+ },
32
+ {
33
+ "date": "2024-11-20T00:00:00.000Z",
34
+ "note": "Version: 1.3.0\nAdded the `_scid` cookie value as `user_data.sc_cookie1`"
31
35
  }
32
36
  ]
33
37
  }
@@ -1 +1 @@
1
- "a0364988d1a322017cc842b8f02c66a0"
1
+ "1e7079544bc462286e9c65c95cafa5d9"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.0",
2
+ "version": "1.3.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -59,6 +59,10 @@
59
59
  "inputKey": "context.providers.snapchatCAPI.ScCid",
60
60
  "outputKey": "user_data.sc_click_id"
61
61
  },
62
+ {
63
+ "inputKey": "context.providers.snapchatCAPI._scid",
64
+ "outputKey": "user_data.sc_cookie1"
65
+ },
62
66
  {
63
67
  "inputKey": "context.ip",
64
68
  "outputKey": "user_data.client_ip_address"
@@ -1 +1 @@
1
- "76b0c46c1a037fe7630b911dcdf31cd3"
1
+ "c1a5c8cff98216b22b816128b725dc3f"
@@ -24,6 +24,10 @@
24
24
  {
25
25
  "date": "2024-10-23T00:00:00.000Z",
26
26
  "note": "Version: 0.3.0\nAdded header `Accept-Encoding: application/json`"
27
+ },
28
+ {
29
+ "date": "2024-11-14T00:00:00.000Z",
30
+ "note": "Version: 0.4.0\nAdded new mapping for `context_country`"
27
31
  }
28
32
  ]
29
33
  }
@@ -1 +1 @@
1
- "835b3500f6aa04406463b5f49b4cfc47"
1
+ "ffdf7c90e019c5ba0973670de854c1fe"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.0",
2
+ "version": "0.4.0",
3
3
  "global": {
4
4
  "enrichments": [
5
5
  {
@@ -65,6 +65,18 @@
65
65
  "toHash": "md5"
66
66
  }
67
67
  ]
68
+ },
69
+ {
70
+ "inputKey": "input",
71
+ "outputKey": "context_country",
72
+ "transforms": [
73
+ {
74
+ "expression": {
75
+ "lang": "lua",
76
+ "body": "local languageCountry = SPLIT(input.context.locale, \"-\", 2)[2]\nreturn UPPER(languageCountry)"
77
+ }
78
+ }
79
+ ]
68
80
  }
69
81
  ],
70
82
  "spreadings": [
package/README.md CHANGED
@@ -5,10 +5,18 @@ event methods, you will create a rich, actionable data set from your website, mo
5
5
  server, and other sources. It is particularly useful for tracking the pages or screens your
6
6
  users visit, the actions they take on your property, and whether the user has been identified
7
7
  previously.
8
+ ## 2024-11
9
+ - Adobe Analytics - Experience (BETA)
10
+ - AWIN (BETA)
11
+ - Convert (BETA)
12
+ - Moloco (BETA)
13
+ - Innervate
14
+ - Snapchat - CAPI
15
+ - Zeotap (BETA)
16
+
8
17
  ## 2024-10
9
18
  - ActionIQ
10
19
  - Acuity Ads
11
- - Adobe Analytics - Experience (BETA)
12
20
  - Adobe ID (BETA)
13
21
  - Amnet (BETA)
14
22
  - Amobee
@@ -20,7 +28,6 @@ previously.
20
28
  - Blueshift (BETA)
21
29
  - Clinch
22
30
  - Commission Junction
23
- - Convert (BETA)
24
31
  - Criteo
25
32
  - Customer.io
26
33
  - Facebook Pixel
@@ -45,12 +52,10 @@ previously.
45
52
  - Pinterest CAPI
46
53
  - Podsights (BETA)
47
54
  - Reddit Ads
48
- - RevJet (BETA)
49
55
  - Roku
50
56
  - Roomvo (BETA)
51
57
  - Salesforce CDP
52
58
  - Snapchat Ads
53
- - Snapchat - CAPI
54
59
  - TheTradeDesk Conversion Events
55
60
  - TheTradeDesk Firstparty Advertiser Data
56
61
  - TikTok
@@ -58,7 +63,6 @@ previously.
58
63
  - Xandr
59
64
  - Yahoo Enhanced Attribution (BETA)
60
65
  - Yahoo Offline Conversion
61
- - Zeotap (BETA)
62
66
 
63
67
  ## 2024-09
64
68
  - CM360 - Floodlights (BETA)
@@ -94,9 +98,15 @@ previously.
94
98
 
95
99
  | Kit Name | Date | Latest Note |
96
100
  |----------|------|-------------|
101
+ | Adobe Analytics - Experience (BETA) | 2024-11 | Version: 0.6.0 Adding checkout event Updating inputKey for siteSection |
102
+ | AWIN (BETA) | 2024-11 | Version: 0.1.0 Beta Version AWIN initial release |
103
+ | Convert (BETA) | 2024-11 | Version: 0.3.0 Added new deduplication parameter for all events, `tid` |
104
+ | Moloco (BETA) | 2024-11 | Version: 0.1.0 Beta Version |
105
+ | Innervate | 2024-11 | Version: 1.0.0 Updated friendly name Stable release |
106
+ | Snapchat - CAPI | 2024-11 | Version: 1.3.0 Added the `_scid` cookie value as `user_data.sc_cookie1` |
107
+ | Zeotap (BETA) | 2024-11 | Version: 0.4.0 Added new mapping for `context_country` |
97
108
  | ActionIQ | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
98
109
  | Acuity Ads | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
99
- | Adobe Analytics - Experience (BETA) | 2024-10 | Version: 0.5.0 Adding additional parameters for missing reports: trackingCode siteSection referrer |
100
110
  | Adobe ID (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
101
111
  | Amnet (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
102
112
  | Amobee | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
@@ -108,7 +118,6 @@ previously.
108
118
  | Blueshift (BETA) | 2024-10 | Version: 0.3.0 Added header `Accept-Encoding: application/json` |
109
119
  | Clinch | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
110
120
  | Commission Junction | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
111
- | Convert (BETA) | 2024-10 | Version: 0.2.0 Updated header `Accept-Encoding: application/json` |
112
121
  | Criteo | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
113
122
  | Customer.io | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
114
123
  | Facebook Pixel | 2024-10 | Version: 1.3.0 Added header `Accept-Encoding: application/json` |
@@ -133,12 +142,10 @@ previously.
133
142
  | Pinterest CAPI | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
134
143
  | Podsights (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
135
144
  | Reddit Ads | 2024-10 | Version: 1.3.0 Added header `Accept-Encoding: application/json` |
136
- | RevJet (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
137
145
  | Roku | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
138
146
  | Roomvo (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
139
147
  | Salesforce CDP | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
140
148
  | Snapchat Ads | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
141
- | Snapchat - CAPI | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
142
149
  | TheTradeDesk Conversion Events | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
143
150
  | TheTradeDesk Firstparty Advertiser Data | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
144
151
  | TikTok | 2024-10 | Version: 2.2.0 Added header `Accept-Encoding: application/json` |
@@ -146,7 +153,6 @@ previously.
146
153
  | Xandr | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
147
154
  | Yahoo Enhanced Attribution (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
148
155
  | Yahoo Offline Conversion | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
149
- | Zeotap (BETA) | 2024-10 | Version: 0.3.0 Added header `Accept-Encoding: application/json` |
150
156
  | CM360 - Floodlights (BETA) | 2024-09 | Version 0.4.0 Friendly name renaming Description and color updated |
151
157
  | Iterable (BETA) | 2024-09 | Version: 0.1.0 Beta Version Iterable initial release |
152
158
  | X Ads - Web Conversions | 2024-09 | Version: 1.0.0 Stable release |
package/index.js CHANGED
@@ -124,6 +124,12 @@ exports['apps-flyer-ios'] = {
124
124
  metadata: require('./.dist/apps-flyer-ios/metadata.json')
125
125
  }
126
126
 
127
+ exports.awin = {
128
+ endpointSchema: require('./.dist/awin/connection.json'),
129
+ playbook: require('./.dist/awin/playbook.json'),
130
+ metadata: require('./.dist/awin/metadata.json')
131
+ }
132
+
127
133
  exports['bing-ads'] = {
128
134
  endpointSchema: require('./.dist/bing-ads/connection.json'),
129
135
  playbook: require('./.dist/bing-ads/playbook.json'),
@@ -297,6 +303,12 @@ exports.mixpanel = {
297
303
  metadata: require('./.dist/mixpanel/metadata.json')
298
304
  }
299
305
 
306
+ exports.moloco = {
307
+ endpointSchema: require('./.dist/moloco/connection.json'),
308
+ playbook: require('./.dist/moloco/playbook.json'),
309
+ metadata: require('./.dist/moloco/metadata.json')
310
+ }
311
+
300
312
  exports['movable-ink'] = {
301
313
  endpointSchema: require('./.dist/movable-ink/connection.json'),
302
314
  playbook: require('./.dist/movable-ink/playbook.json'),
@@ -548,6 +560,11 @@ exports.etags = {
548
560
  playbook: require('./.dist/apps-flyer-ios/playbook.etag.json'),
549
561
  kit: require('./.dist/apps-flyer-ios/kit.etag.json')
550
562
  },
563
+ awin: {
564
+ endpointSchema: require('./.dist/awin/connection.etag.json'),
565
+ playbook: require('./.dist/awin/playbook.etag.json'),
566
+ kit: require('./.dist/awin/kit.etag.json')
567
+ },
551
568
  'bing-ads': {
552
569
  endpointSchema: require('./.dist/bing-ads/connection.etag.json'),
553
570
  playbook: require('./.dist/bing-ads/playbook.etag.json'),
@@ -691,6 +708,11 @@ exports.etags = {
691
708
  playbook: require('./.dist/mixpanel/playbook.etag.json'),
692
709
  kit: require('./.dist/mixpanel/kit.etag.json')
693
710
  },
711
+ moloco: {
712
+ endpointSchema: require('./.dist/moloco/connection.etag.json'),
713
+ playbook: require('./.dist/moloco/playbook.etag.json'),
714
+ kit: require('./.dist/moloco/kit.etag.json')
715
+ },
694
716
  'movable-ink': {
695
717
  endpointSchema: require('./.dist/movable-ink/connection.etag.json'),
696
718
  playbook: require('./.dist/movable-ink/playbook.etag.json'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.109",
3
+ "version": "1.0.111",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {