@metarouter/ajs-starter-kit 1.0.110 → 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.
@@ -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
  }
@@ -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",
@@ -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"
package/README.md CHANGED
@@ -6,15 +6,17 @@ server, and other sources. It is particularly useful for tracking the pages or s
6
6
  users visit, the actions they take on your property, and whether the user has been identified
7
7
  previously.
8
8
  ## 2024-11
9
+ - Adobe Analytics - Experience (BETA)
9
10
  - AWIN (BETA)
11
+ - Convert (BETA)
10
12
  - Moloco (BETA)
11
13
  - Innervate
14
+ - Snapchat - CAPI
12
15
  - Zeotap (BETA)
13
16
 
14
17
  ## 2024-10
15
18
  - ActionIQ
16
19
  - Acuity Ads
17
- - Adobe Analytics - Experience (BETA)
18
20
  - Adobe ID (BETA)
19
21
  - Amnet (BETA)
20
22
  - Amobee
@@ -26,7 +28,6 @@ previously.
26
28
  - Blueshift (BETA)
27
29
  - Clinch
28
30
  - Commission Junction
29
- - Convert (BETA)
30
31
  - Criteo
31
32
  - Customer.io
32
33
  - Facebook Pixel
@@ -55,7 +56,6 @@ previously.
55
56
  - Roomvo (BETA)
56
57
  - Salesforce CDP
57
58
  - Snapchat Ads
58
- - Snapchat - CAPI
59
59
  - TheTradeDesk Conversion Events
60
60
  - TheTradeDesk Firstparty Advertiser Data
61
61
  - TikTok
@@ -98,13 +98,15 @@ previously.
98
98
 
99
99
  | Kit Name | Date | Latest Note |
100
100
  |----------|------|-------------|
101
+ | Adobe Analytics - Experience (BETA) | 2024-11 | Version: 0.6.0 Adding checkout event Updating inputKey for siteSection |
101
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` |
102
104
  | Moloco (BETA) | 2024-11 | Version: 0.1.0 Beta Version |
103
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` |
104
107
  | Zeotap (BETA) | 2024-11 | Version: 0.4.0 Added new mapping for `context_country` |
105
108
  | ActionIQ | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
106
109
  | Acuity Ads | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
107
- | Adobe Analytics - Experience (BETA) | 2024-10 | Version: 0.5.0 Adding additional parameters for missing reports: trackingCode siteSection referrer |
108
110
  | Adobe ID (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
109
111
  | Amnet (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
110
112
  | Amobee | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
@@ -116,7 +118,6 @@ previously.
116
118
  | Blueshift (BETA) | 2024-10 | Version: 0.3.0 Added header `Accept-Encoding: application/json` |
117
119
  | Clinch | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
118
120
  | Commission Junction | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
119
- | Convert (BETA) | 2024-10 | Version: 0.2.0 Updated header `Accept-Encoding: application/json` |
120
121
  | Criteo | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
121
122
  | Customer.io | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
122
123
  | Facebook Pixel | 2024-10 | Version: 1.3.0 Added header `Accept-Encoding: application/json` |
@@ -145,7 +146,6 @@ previously.
145
146
  | Roomvo (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
146
147
  | Salesforce CDP | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
147
148
  | Snapchat Ads | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
148
- | Snapchat - CAPI | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
149
149
  | TheTradeDesk Conversion Events | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
150
150
  | TheTradeDesk Firstparty Advertiser Data | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
151
151
  | TikTok | 2024-10 | Version: 2.2.0 Added header `Accept-Encoding: application/json` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.110",
3
+ "version": "1.0.111",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {