@metarouter/ajs-starter-kit 1.0.164 → 1.0.166

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.
@@ -172,10 +172,7 @@
172
172
  "required": [
173
173
  "audienceId",
174
174
  "customerId",
175
- "developerToken",
176
- "privateKey",
177
- "principalEmail",
178
- "serviceAccountEmail"
175
+ "developerToken"
179
176
  ],
180
177
  "additionalProperties": false
181
178
  },
@@ -1 +1 @@
1
- "83c1f92cbcec738f7cf3689f8f410603 -"
1
+ "266de4c3fcbd6c3eb79e9acb63b203ff -"
@@ -80,6 +80,10 @@
80
80
  {
81
81
  "date": "2026-02-25T00:00:00.000Z",
82
82
  "note": "Version: 1.9.0\nUpgraded v22 to v24."
83
+ },
84
+ {
85
+ "date": "2026-04-08T00:00:00.000Z",
86
+ "note": "Version: 1.10.0\nRemoved LDU (Limited Data Use) default."
83
87
  }
84
88
  ]
85
89
  }
@@ -1 +1 @@
1
- "0fbcbefbb400f10c3c9bcfffd1300b46 -"
1
+ "f4dbd7e521ba6e45b5f211bc62c7b3a7 -"
@@ -1,16 +1,6 @@
1
1
  {
2
- "version": "1.9.0",
2
+ "version": "1.10.0",
3
3
  "global": {
4
- "enrichments": [
5
- {
6
- "staticInt": 0,
7
- "outputKey": "data_processing_options_country"
8
- },
9
- {
10
- "staticInt": 0,
11
- "outputKey": "data_processing_options_state"
12
- }
13
- ],
14
4
  "mappings": [
15
5
  {
16
6
  "inputKey": "input",
@@ -101,13 +91,6 @@
101
91
  "inputKey": "context.providers.facebookTag._fbp",
102
92
  "outputKey": "user_data.fbp"
103
93
  }
104
- ],
105
- "expressions": [
106
- {
107
- "lang": "lua",
108
- "name": "Limited Data Usage",
109
- "body": "return { data_processing_options = { \"LDU\" } }"
110
- }
111
94
  ]
112
95
  },
113
96
  "eventSpecific": {
@@ -1 +1 @@
1
- "6c92f9256d5074dcd25869e1a9281822 -"
1
+ "14226f1d1324e33cba661d56b33e3f3d -"
@@ -60,6 +60,10 @@
60
60
  {
61
61
  "date": "2026-02-04T00:00:00.000Z",
62
62
  "note": "Version: 1.3.0\nAdded cartData.items mapping."
63
+ },
64
+ {
65
+ "date": "2026-04-01T00:00:00.000Z",
66
+ "note": "Version: 1.4.0\nAdded identifier fan-out logic"
63
67
  }
64
68
  ]
65
69
  }
@@ -1 +1 @@
1
- "269b6fd8b6ee84992b9e59bea73f4a7a -"
1
+ "bcb6dbfcc8922e2a94b21fd2efac8358 -"
@@ -1,9 +1,14 @@
1
1
  {
2
- "version": "1.3.0",
2
+ "version": "1.4.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CONFIG_ID",
6
6
  "exampleValue": "floodlight-configuration-id"
7
+ },
8
+ {
9
+ "name": "IDENTIFIER_FAN_OUT",
10
+ "exampleValue": "identifier-fan-out",
11
+ "defaultValue": "false"
7
12
  }
8
13
  ],
9
14
  "default": {
@@ -57,13 +62,25 @@
57
62
  }
58
63
  }
59
64
  ]
65
+ },
66
+ {
67
+ "inputKey": "input",
68
+ "outputKey": "enableIdentifierFanOut",
69
+ "transforms": [
70
+ {
71
+ "expression": {
72
+ "lang": "lua",
73
+ "body": "local val = $$IDENTIFIER_FAN_OUT$$\nreturn TO_BOOL(val)"
74
+ }
75
+ }
76
+ ]
60
77
  }
61
78
  ],
62
79
  "expressions": [
63
80
  {
64
81
  "lang": "lua",
65
82
  "name": "Click, Mobile Device and Match ID(s)",
66
- "body": "local gclid = SPLIT(input.context.providers.googleGtag.data.gclid, \".\", 3)[3];\nlocal dclid = SPLIT(input.context.providers.googleGtag.data.dclid, \".\", 3)[3];\nlocal mobileDeviceId = input.context.device.advertisingId;\nlocal matchId = input.anonymousId;\nreturn (gclid and { gclid = gclid }) or (dclid and { dclid = dclid}) or (mobileDeviceId and { mobileDeviceId = mobileDeviceId}) or (matchId and { matchId = matchId })"
83
+ "body": "if not TO_BOOL(\"$$IDENTIFIER_FAN_OUT$$\") then\n local gclid = SPLIT(input.context.providers.googleGtag.data.gclid, \".\", 3)[3];\n local dclid = SPLIT(input.context.providers.googleGtag.data.dclid, \".\", 3)[3];\n local mobileDeviceId = input.context.device.advertisingId;\n local matchId = input.anonymousId;\n return (gclid and { gclid = gclid }) or (dclid and { dclid = dclid}) or (mobileDeviceId and { mobileDeviceId = mobileDeviceId}) or (matchId and { matchId = matchId })\n end\nreturn {\n gclid = SPLIT(input.context.providers.googleGtag.data.gclid, \".\", 3)[3],\n dclid = SPLIT(input.context.providers.googleGtag.data.dclid, \".\", 3)[3],\n mobileDeviceId = input.context.device.advertisingId,\n matchId = input.anonymousId\n}"
67
84
  }
68
85
  ]
69
86
  },
@@ -1 +1 @@
1
- "ad8cd33f08d5145fc6f4d54d888f72d0 -"
1
+ "ea88d7dd1e638b585b3517d66f9c4993 -"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "isDraft": false,
3
3
  "isDeprecated": false,
4
- "isBeta": true,
4
+ "isBeta": false,
5
5
  "friendlyName": "Hightouch",
6
6
  "description": "Hightouch is a data activation platform that helps organizations operationalize customer and event data by syncing it directly from their data warehouse into downstream tools and systems.",
7
7
  "logo": "https://cdn.metarouter.io/hightouch.png",
@@ -20,6 +20,10 @@
20
20
  {
21
21
  "date": "2026-03-18T21:00:00.000Z",
22
22
  "note": "Version: 0.1.1\nMap full traits object to traits field of identify"
23
+ },
24
+ {
25
+ "date": "2026-04-08T00:00:00.000Z",
26
+ "note": "Version: 1.0.0\nStable Release"
23
27
  }
24
28
  ]
25
29
  }
@@ -1 +1 @@
1
- "eddff853e310aaf4882ae74be87229fe -"
1
+ "059e4f72cf48d8940d37fa9713bc978d -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.1",
2
+ "version": "1.0.0",
3
3
  "global": {
4
4
  "mappings": [
5
5
  {
@@ -1 +1 @@
1
- "f77eb643227d13c5421b32a324597dc7 -"
1
+ "a6cfb24756ac9ddfca5e7b6a795a7c05 -"
@@ -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": "2026-04-08T00:00:00.000Z",
34
+ "note": "Version: 1.3.0\nRemoved LDP (Limited Data Processing) default"
31
35
  }
32
36
  ]
33
37
  }
@@ -1 +1 @@
1
- "189bd1bf0b3bc316e3220f4029890511 -"
1
+ "e98b1e4c8708c9821d6dfe00dc0ef4dd -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.0",
2
+ "version": "1.3.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -17,10 +17,6 @@
17
17
  {
18
18
  "outputKey": "partner_name",
19
19
  "staticString": "MetaRouter"
20
- },
21
- {
22
- "outputKey": "custom_data.opt_out_type",
23
- "staticString": "LDP"
24
20
  }
25
21
  ],
26
22
  "mappings": [
@@ -1 +1 @@
1
- "62762c931c1c4d91b17727f32990854c -"
1
+ "60290ef97287f27a94275685c2c65ffd -"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "isDraft": false,
3
3
  "isDeprecated": false,
4
- "isBeta": true,
4
+ "isBeta": false,
5
5
  "friendlyName": "The Trade Desk - Offline Conversions",
6
6
  "description": "The Trade Desk Offline Conversion Provider API allows partners to send server-side conversion data to The Trade Desk that occurs outside of standard web tracking, such as offline purchases or backend-attributed events.",
7
7
  "logo": "https://cdn.metarouter.io/ttd-offline-conversions.png",
@@ -20,6 +20,10 @@
20
20
  {
21
21
  "date": "2026-02-25T21:00:00.000Z",
22
22
  "note": "Version: 0.1.1\nImpressionId field update"
23
+ },
24
+ {
25
+ "date": "2026-04-08T00:00:00.000Z",
26
+ "note": "Version: 1.0.0\nStable Release"
23
27
  }
24
28
  ]
25
29
  }
@@ -1 +1 @@
1
- "466b1e346498706841fb43077cb1a7c2 -"
1
+ "16c0153c56847992839df948e7247dd3 -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.1",
2
+ "version": "1.0.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "MERCHANT_ID",
@@ -1 +1 @@
1
- "9dca155ae5ca42066940048a91ea621c -"
1
+ "4d85fb79d5e06d12e66f89078d22b0fa -"
@@ -16,6 +16,10 @@
16
16
  {
17
17
  "date": "2026-03-11T21:00:00.000Z",
18
18
  "note": "Version: 0.1.0\nBeta Version\nWirtualna Polska initial release"
19
+ },
20
+ {
21
+ "date": "2026-04-01T21:00:00.000Z",
22
+ "note": "Version: 0.2.0\nAdded field for CEEId identifier"
19
23
  }
20
24
  ]
21
25
  }
@@ -1 +1 @@
1
- "7d6bbb0bd7b844da22f533dd147f4a06 -"
1
+ "3b5ee5a6b915b7a5aeacf2afa7573c95 -"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "PIXEL_ID",
@@ -26,6 +26,10 @@
26
26
  "inputKey": "context.providers.wirtualnaPolska.statid",
27
27
  "outputKey": "statid"
28
28
  },
29
+ {
30
+ "inputKey": "context.providers.ceeId.encrypted.data.value",
31
+ "outputKey": "ceeid"
32
+ },
29
33
  {
30
34
  "inputKey": "anonymousId",
31
35
  "outputKey": "provider_user_id"
package/README.md CHANGED
@@ -1,19 +1,12 @@
1
1
  # MetaRouter Starter Kits
2
2
 
3
- ### 2026-03
4
- - Adjust
5
- - Attentive
6
- - Axon
7
- - Eulerian
8
- - Google Ads - Conversions
9
- - Google Cloud Storage
3
+ ### 2026-04
4
+ - CM360 - Floodlights
10
5
  - Hightouch
11
- - Kargo
12
- - Roomvo
13
- - Stdout (New)
14
- - Wirtualna Polska (New)
15
- - X Ads - Web Conversions
16
- - adMarketplace
6
+ - Meta CAPI
7
+ - Pinterest CAPI
8
+ - The Trade Desk - Offline Conversions
9
+ - Wirtualna Polska
17
10
 
18
11
  | Kit Name | Initial Release Date | Stable Release Date | Latest Release Date | Current Version | Latest Note |
19
12
  |----------|----------------------|---------------------|---------------------|-----------------|-------------|
@@ -42,7 +35,7 @@
42
35
  | Blueshift | 2021-06-24 | 2025-01-22 | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
43
36
  | Braze | 2021-06-24 | N/A | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
44
37
  | Button | 2025-02-19 | 2025-03-12 | 2025-07-30 | Version: 1.1.0 | Replaced context.traits with traits. |
45
- | CM360 - Floodlights | 2021-06-24 | 2025-08-20 | 2026-02-04 | Version: 1.3.0 | Added cartData.items mapping. |
38
+ | CM360 - Floodlights | 2021-06-24 | 2025-08-20 | 2026-04-01 | Version: 1.4.0 | Added identifier fan-out logic |
46
39
  | Clinch | 2024-04-24 | 2024-06-12 | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
47
40
  | Commission Junction | 2024-01-17 | 2024-04-24 | 2025-11-19 | Version: 1.5.1 | Added friendly name to trackingSource expression |
48
41
  | Convert | 2023-09-08 | N/A | 2024-11-20 | Version: 0.3.0 | Added new deduplication parameter for all events, `tid` |
@@ -60,7 +53,7 @@
60
53
  | Google Cloud Storage | 2021-06-24 | 2026-03-18 | 2026-03-18 | Version: 1.0.0 | Stable Release |
61
54
  | Google Pub/Sub | 2021-06-24 | 2023-12-13 | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
62
55
  | Heap | 2024-03-26 | N/A | 2024-10-23 | Version: 0.2.0 | Updated header `Accept-Encoding: application/json` |
63
- | Hightouch | 2026-01-14 | N/A | 2026-03-18 | Version: 0.1.1 | Map full traits object to traits field of identify |
56
+ | Hightouch | 2026-01-14 | 2026-04-08 | 2026-04-08 | Version: 1.0.0 | Stable Release |
64
57
  | HubSpot | 2023-02-20 | N/A | 2025-07-30 | Version: 0.4.0 | Replaced context.traits with traits. |
65
58
  | Impact Radius | 2021-06-24 | N/A | 2025-10-15 | Version: 1.2.1 | Added friendly names to expressions |
66
59
  | InMarket | 2021-07-21 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
@@ -75,7 +68,7 @@
75
68
  | MIQ (Xandr) | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
76
69
  | Magellan AI | 2024-07-24 | 2024-08-07 | 2025-07-30 | Version: 1.2.0 | Replaced context.traits with traits. |
77
70
  | Merkle | 2021-06-24 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced context.traits with traits. |
78
- | Meta CAPI | 2021-06-24 | N/A | 2026-02-25 | Version: 1.9.0 | Upgraded v22 to v24. |
71
+ | Meta CAPI | 2021-06-24 | N/A | 2026-04-08 | Version: 1.10.0 | Removed LDU (Limited Data Use) default. |
79
72
  | Microsoft Ads | 2025-01-22 | 2025-04-02 | 2025-12-17 | Version: 1.2.0 | Deprecating this in favor of the released Microsoft Ads CAPI kit |
80
73
  | Microsoft Ads CAPI | 2025-09-17 | 2025-11-05 | 2025-11-05 | Version: 1.0.0 | Stable Release |
81
74
  | Microsoft Advertising | 2021-06-24 | N/A | 2025-12-17 | Version: 0.4.0 | Deprecating this in favor of the released Microsoft Ads CAPI kit |
@@ -88,7 +81,7 @@
88
81
  | Optimizely | 2026-01-28 | 2026-02-18 | 2026-02-18 | Version: 1.0.0 | Stable Release |
89
82
  | Perion | 2025-05-21 | 2025-07-16 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
90
83
  | Pinterest Ads | 2021-06-24 | N/A | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
91
- | Pinterest CAPI | 2023-03-07 | N/A | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
84
+ | Pinterest CAPI | 2023-03-07 | N/A | 2026-04-08 | Version: 1.3.0 | Removed LDP (Limited Data Processing) default |
92
85
  | Pipeline Router | 2026-01-14 | N/A | 2026-01-14 | Version: 0.1.0 | Beta Version Pipeline Router initial release |
93
86
  | Podscribe | 2025-03-12 | 2025-04-09 | 2025-10-15 | Version: 1.2.1 | Added friendly names to expressions |
94
87
  | Podsights | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
@@ -103,10 +96,10 @@
103
96
  | Snapchat - CAPI | 2024-06-05 | 2024-07-17 | 2026-01-14 | Version: 1.5.0 | Added add_data parameters. |
104
97
  | Snapchat Ads | 2021-06-24 | N/A | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
105
98
  | Snowflake | 2021-06-24 | N/A | 2025-10-15 | Version: 0.1.2 | Added friendly names to expressions |
106
- | Stdout (New) | 2026-03-18 | N/A | 2026-03-18 | Version: 0.1.0 | Beta Version Stdout initial release |
99
+ | Stdout | 2026-03-18 | N/A | 2026-03-18 | Version: 0.1.0 | Beta Version Stdout initial release |
107
100
  | Teads | 2025-11-12 | 2026-01-07 | 2026-01-07 | Version: 1.0.0 | Stable Release |
108
101
  | The Trade Desk - Conversions | 2025-06-04 | 2025-07-30 | 2025-12-10 | Version: 1.2.0 | Updating identifier mappings |
109
- | The Trade Desk - Offline Conversions | 2026-02-25 | N/A | 2026-02-25 | Version: 0.1.1 | ImpressionId field update |
102
+ | The Trade Desk - Offline Conversions | 2026-02-25 | 2026-04-08 | 2026-04-08 | Version: 1.0.0 | Stable Release |
110
103
  | TheTradeDesk Conversion Events | 2022-11-29 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced originalTimestamp with timestamp |
111
104
  | TheTradeDesk Firstparty Advertiser Data | 2022-11-29 | N/A | 2026-01-21 | Version: 1.3.0 | Added DATA_PROVIDER_ID connection param support required for externally sent 1d data (ex: metarouter sending customer 1p data). |
112
105
  | TikTok | 2023-03-07 | 2023-12-13 | 2025-12-17 | Version: 2.5.0 | Added additional standard events Added num_items, content_ids and limited_data_use fields |
@@ -114,7 +107,7 @@
114
107
  | VideoAmp | 2022-11-17 | N/A | 2024-10-23 | Version: 0.3.0 | Added header `Accept-Encoding: application/json` |
115
108
  | Wallaroo | 2025-12-03 | N/A | 2025-12-10 | Version: 0.1.1 | Added expression name |
116
109
  | Webhooks | 2024-05-29 | 2024-08-07 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
117
- | Wirtualna Polska (New) | 2026-03-11 | N/A | 2026-03-11 | Version: 0.1.0 | Beta Version Wirtualna Polska initial release |
110
+ | Wirtualna Polska | 2026-03-11 | N/A | 2026-04-01 | Version: 0.2.0 | Added field for CEEId identifier |
118
111
  | X Ads - Web Conversions | 2024-09-04 | 2024-09-25 | 2026-03-25 | Version: 1.1.1 | Converted some fields to camelCase for schema validation |
119
112
  | Xandr | 2021-07-13 | N/A | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
120
113
  | Yahoo Enhanced Attribution | 2023-03-07 | N/A | 2025-04-09 | Version: 0.4.0 | Deprecated |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.164",
3
+ "version": "1.0.166",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {