@metarouter/ajs-starter-kit 1.0.127 → 1.0.128

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 (37) hide show
  1. package/.dist/connection-schemas.json +0 -28
  2. package/.dist/facebook-pixel/kit.etag.json +1 -1
  3. package/.dist/facebook-pixel/metadata.json +6 -2
  4. package/.dist/facebook-pixel/playbook.etag.json +1 -1
  5. package/.dist/facebook-pixel/playbook.json +1 -1
  6. package/.dist/podscribe/kit.etag.json +1 -1
  7. package/.dist/podscribe/metadata.json +5 -1
  8. package/.dist/podscribe/playbook.etag.json +1 -1
  9. package/.dist/podscribe/playbook.json +1 -1
  10. package/.dist/reddit-ads/kit.etag.json +1 -1
  11. package/.dist/reddit-ads/metadata.json +4 -0
  12. package/.dist/reddit-ads/playbook.etag.json +1 -1
  13. package/.dist/reddit-ads/playbook.json +13 -1
  14. package/.dist/ringier-axel-springer-poland/connection.etag.json +1 -1
  15. package/.dist/ringier-axel-springer-poland/connection.json +4 -0
  16. package/.dist/ringier-axel-springer-poland/kit.etag.json +1 -1
  17. package/.dist/ringier-axel-springer-poland/metadata.json +5 -1
  18. package/.dist/ringier-axel-springer-poland/playbook.etag.json +1 -1
  19. package/.dist/ringier-axel-springer-poland/playbook.json +2 -2
  20. package/.dist/x-ads/kit.etag.json +1 -1
  21. package/.dist/yahoo-enhanced-attribution/kit.etag.json +1 -1
  22. package/.dist/yahoo-enhanced-attribution/metadata.json +5 -1
  23. package/.dist/yahoo-enhanced-attribution/playbook.etag.json +1 -1
  24. package/.dist/yahoo-enhanced-attribution/playbook.json +1 -1
  25. package/.dist/yahoo-offline-conversion/kit.etag.json +1 -1
  26. package/.dist/yahoo-offline-conversion/metadata.json +5 -1
  27. package/.dist/yahoo-offline-conversion/playbook.etag.json +1 -1
  28. package/.dist/yahoo-offline-conversion/playbook.json +1 -1
  29. package/README.md +12 -12
  30. package/index.js +0 -10
  31. package/package.json +1 -1
  32. package/.dist/kinesis/connection.etag.json +0 -1
  33. package/.dist/kinesis/connection.json +0 -9
  34. package/.dist/kinesis/kit.etag.json +0 -1
  35. package/.dist/kinesis/metadata.json +0 -33
  36. package/.dist/kinesis/playbook.etag.json +0 -1
  37. package/.dist/kinesis/playbook.json +0 -11
@@ -292,34 +292,6 @@
292
292
  ],
293
293
  "additionalProperties": false
294
294
  },
295
- "kinesis": {
296
- "type": "object",
297
- "properties": {
298
- "accessKey": {
299
- "type": "string"
300
- },
301
- "backlogCount": {
302
- "type": "number"
303
- },
304
- "region": {
305
- "type": "string"
306
- },
307
- "secretKey": {
308
- "type": "string"
309
- },
310
- "streamName": {
311
- "type": "string"
312
- }
313
- },
314
- "required": [
315
- "region",
316
- "accessKey",
317
- "secretKey",
318
- "streamName",
319
- "backlogCount"
320
- ],
321
- "additionalProperties": false
322
- },
323
295
  "s3": {
324
296
  "type": "object",
325
297
  "properties": {
@@ -1 +1 @@
1
- "72e40c09f33acab51ea4e98d3cff20bb"
1
+ "286e3b1b510eff77d6aefbdbf0eccc12"
@@ -2,8 +2,8 @@
2
2
  "isDraft": false,
3
3
  "isDeprecated": false,
4
4
  "isBeta": false,
5
- "friendlyName": "Facebook Pixel",
6
- "description": "Use audience data to optimize your advertising placements on Facebook's ad networks and measure campaign performance.",
5
+ "friendlyName": "Meta CAPI",
6
+ "description": "Use audience data to optimize your advertising placements on Meta's ad networks and measure campaign performance.",
7
7
  "logo": "https://cdn.metarouter.io/logo.svg",
8
8
  "color": "#4267B2",
9
9
  "eventSource": {
@@ -60,6 +60,10 @@
60
60
  {
61
61
  "date": "2025-03-26T00:00:00.000Z",
62
62
  "note": "Version: 1.4.0\nUpdating default Facebook API version to 22.0\nAdding additional event mappings\nAdding app event mappings"
63
+ },
64
+ {
65
+ "date": "2025-04-09T00:00:00.000Z",
66
+ "note": "Version: 1.5.0\nFriendly name updated"
63
67
  }
64
68
  ]
65
69
  }
@@ -1 +1 @@
1
- "a65011d622b88ef5cf67e77d4dd75b14"
1
+ "1cc1115fe6da005e64cda63015785db8"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.0",
2
+ "version": "1.5.0",
3
3
  "global": {
4
4
  "enrichments": [
5
5
  {
@@ -1 +1 @@
1
- "452a0143cf13dcf5e5b4055a84545688"
1
+ "535415e5fdfd12b74463a24690207c69"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "isDraft": false,
3
3
  "isDeprecated": false,
4
- "isBeta": true,
4
+ "isBeta": false,
5
5
  "friendlyName": "Podscribe",
6
6
  "description": "Podscribe is a podcast attribution and analytics platform that helps advertisers, agencies, and publishers measure the effectiveness of podcast advertising.",
7
7
  "logo": "https://cdn.metarouter.io/podscribe.png",
@@ -16,6 +16,10 @@
16
16
  {
17
17
  "date": "2025-03-12T22:00:00.000Z",
18
18
  "note": "Version: 0.1.0\nBeta Version\nPodscribe initial release"
19
+ },
20
+ {
21
+ "date": "2025-04-09T22:00:00.000Z",
22
+ "note": "Version: 1.0.0\nStable release"
19
23
  }
20
24
  ]
21
25
  }
@@ -1 +1 @@
1
- "5eba1d298e1c3c277d6fd56fc61ec87e"
1
+ "9f4b3ded4a30ae0d18e347091c2c3220"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "1.0.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "ADVERTISER_ID",
@@ -1 +1 @@
1
- "ec7476e17971074586a645d2252e5bb0"
1
+ "643371d485ee9237accb5819b16980a8"
@@ -32,6 +32,10 @@
32
32
  {
33
33
  "date": "2024-10-23T00:00:00.000Z",
34
34
  "note": "Version: 1.3.0\nAdded header `Accept-Encoding: application/json`"
35
+ },
36
+ {
37
+ "date": "2025-04-09T00:00:00.000Z",
38
+ "note": "Version: 1.4.0\nAdded mapping for phone number"
35
39
  }
36
40
  ]
37
41
  }
@@ -1 +1 @@
1
- "dfe9734dc9c9aba459fa5419979e1a29"
1
+ "628c79a89d559a84d20eaa428a09890f"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.0",
2
+ "version": "1.4.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
@@ -54,6 +54,18 @@
54
54
  "toHash": "sha256"
55
55
  }
56
56
  ]
57
+ },
58
+ {
59
+ "inputKey": "input",
60
+ "outputKey": "user.phone_number",
61
+ "transforms": [
62
+ {
63
+ "expression": {
64
+ "lang": "lua",
65
+ "body": "-- Phone number must start with + sign and country code, E164 format to be exact e.g.: +16505551212\nreturn input.traits.phone or input.context.traits.phone"
66
+ }
67
+ }
68
+ ]
57
69
  }
58
70
  ]
59
71
  },
@@ -1 +1 @@
1
- "f7ba21c9d32bd7c5a9219a45191a1523"
1
+ "409c8c05e59f086ac102dc429de65f19"
@@ -19,6 +19,10 @@
19
19
  {
20
20
  "key": "User-Agent",
21
21
  "fromEventKey": "context.userAgent"
22
+ },
23
+ {
24
+ "key": "X-Forwarded-For",
25
+ "fromEventKey": "context.ip"
22
26
  }
23
27
  ],
24
28
  "method": "GET",
@@ -1 +1 @@
1
- "a7833745bcb2a928104b1cbd86aa646c"
1
+ "c739765d8eb3c0a704caffeb7c2983ab"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "isDraft": false,
3
3
  "isDeprecated": false,
4
- "isBeta": true,
4
+ "isBeta": false,
5
5
  "friendlyName": "Ringier Axel Springer Poland",
6
6
  "description": "Ringier Axel Springer Poland (RASP) is a leading digital media and technology company that provides advertising services such as programmatic ads, branded content, display advertising, and audience targeting, leveraging its large digital reach.",
7
7
  "logo": "https://cdn.metarouter.io/ringier-axel-springer-poland.png",
@@ -16,6 +16,10 @@
16
16
  {
17
17
  "date": "2025-03-05T22:00:00.000Z",
18
18
  "note": "Version: 0.1.0\nBeta Version\nRingier Axel Springer Poland initial release"
19
+ },
20
+ {
21
+ "date": "2025-04-09T22:00:00.000Z",
22
+ "note": "Version: 1.0.0\nNew header: `X-Forwarded-For`\nParam update: `adp_session` retrieved from new sync field `context.providers.ringierAxelSpringerPoland.adp_session`\nStable release"
19
23
  }
20
24
  ]
21
25
  }
@@ -1 +1 @@
1
- "bbf45d438ba19a7bd53b2cddc6433b56"
1
+ "21c3fd30f2f8d352300cbc55b7636fcc"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "1.0.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "PIXEL_ID",
@@ -35,7 +35,7 @@
35
35
  "outputKey": "aid"
36
36
  },
37
37
  {
38
- "inputKey": "context.providers.ringierAxelSpringerPoland.sessionID",
38
+ "inputKey": "context.providers.ringierAxelSpringerPoland.adp_session",
39
39
  "outputKey": "adp_session"
40
40
  },
41
41
  {
@@ -1 +1 @@
1
- "99a5cbd4110e78a93de142b57658de40"
1
+ "14fef641a569ed6645df0e0dbcd1dbb1"
@@ -1 +1 @@
1
- "a3416c112c6fb24fea7d058094e707a4"
1
+ "fbed825d1c544a7b5fa09349276e8bc9"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "isDraft": false,
3
- "isDeprecated": false,
3
+ "isDeprecated": true,
4
4
  "isBeta": true,
5
5
  "friendlyName": "Yahoo Enhanced Attribution",
6
6
  "description": "Yahoo Enhanced Attribution works by leveraging a click ID to count post-click conversions, using a privacy-friendly mechanism that doesn’t require or depend on a 3rd-party cookie.",
@@ -28,6 +28,10 @@
28
28
  {
29
29
  "date": "2024-10-23T00:00:00.000Z",
30
30
  "note": "Version: 0.3.0\nAdded default value for the OAUTH2_REQUEST_URL param"
31
+ },
32
+ {
33
+ "date": "2025-04-09T00:00:00.000Z",
34
+ "note": "Version: 0.4.0\nDeprecated"
31
35
  }
32
36
  ]
33
37
  }
@@ -1 +1 @@
1
- "3a41396966b6dedb3b7f8173c522c0d8"
1
+ "ed8e468a47d20e17c30f57a370ab3c5a"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.0",
2
+ "version": "0.4.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "PIXEL_ID",
@@ -1 +1 @@
1
- "e0ba16527d72753b8a45cb490ce52351"
1
+ "c2e7fc9852cc3441b6e5b8f8d75b5d09"
@@ -2,7 +2,7 @@
2
2
  "isDraft": false,
3
3
  "isDeprecated": false,
4
4
  "isBeta": false,
5
- "friendlyName": "Yahoo Offline Conversion",
5
+ "friendlyName": "Yahoo Pixel API",
6
6
  "description": "Create and manage offline tracking pixels that measure the impact of your digital ad spend on driving visits to your stores or stores where your products are sold.",
7
7
  "logo": "https://cdn.metarouter.io/logo.svg",
8
8
  "color": "#FA1200",
@@ -28,6 +28,10 @@
28
28
  {
29
29
  "date": "2024-10-23T00:00:00.000Z",
30
30
  "note": "Version: 1.2.0\nAdded default value for the OAUTH2_REQUEST_URL param"
31
+ },
32
+ {
33
+ "date": "2025-04-09T00:00:00.000Z",
34
+ "note": "Version: 1.3.0\nFriendly name updated"
31
35
  }
32
36
  ]
33
37
  }
@@ -1 +1 @@
1
- "aece3e133e47cac735981279c74bd10c"
1
+ "127738af3408be47ea416717696def44"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.0",
2
+ "version": "1.3.0",
3
3
  "default": {
4
4
  "filters": [
5
5
  {
package/README.md CHANGED
@@ -7,15 +7,18 @@ users visit, the actions they take on your property, and whether the user has be
7
7
  previously.
8
8
  ## 2025-04
9
9
  - Amazon Data Firehose
10
+ - Meta CAPI
10
11
  - Microsoft Ads
12
+ - Podscribe
13
+ - Reddit Ads
14
+ - Ringier Axel Springer Poland
15
+ - Yahoo Enhanced Attribution (BETA)
16
+ - Yahoo Pixel API
11
17
 
12
18
  ## 2025-03
13
19
  - Adobe Experience Platform - Interact (BETA)
14
20
  - Amplitude
15
21
  - Button
16
- - Facebook Pixel
17
- - Podscribe (BETA)
18
- - Ringier Axel Springer Poland (BETA)
19
22
  - TikTok
20
23
 
21
24
  ## 2025-02
@@ -70,7 +73,6 @@ previously.
70
73
  - Pinterest Ads
71
74
  - Pinterest CAPI
72
75
  - Podsights (BETA)
73
- - Reddit Ads
74
76
  - Roku
75
77
  - Roomvo (BETA)
76
78
  - Salesforce CDP
@@ -79,8 +81,6 @@ previously.
79
81
  - TheTradeDesk Firstparty Advertiser Data
80
82
  - VideoAmp (BETA)
81
83
  - Xandr
82
- - Yahoo Enhanced Attribution (BETA)
83
- - Yahoo Offline Conversion
84
84
 
85
85
  ## 2024-09
86
86
  - CM360 - Floodlights (BETA)
@@ -115,13 +115,16 @@ previously.
115
115
  | Kit Name | Date | Latest Note |
116
116
  |----------|------|-------------|
117
117
  | Amazon Data Firehose | 2025-04 | Version: 1.0.0 Stable release |
118
+ | Meta CAPI | 2025-04 | Version: 1.5.0 Friendly name updated |
118
119
  | Microsoft Ads | 2025-04 | Version: 1.0.0 Microsoft Ads stable release |
120
+ | Podscribe | 2025-04 | Version: 1.0.0 Stable release |
121
+ | Reddit Ads | 2025-04 | Version: 1.4.0 Added mapping for phone number |
122
+ | Ringier Axel Springer Poland | 2025-04 | Version: 1.0.0 New header: `X-Forwarded-For` Param update: `adp_session` retrieved from new sync field `context.providers.ringierAxelSpringerPoland.adp_session` Stable release |
123
+ | Yahoo Enhanced Attribution (BETA) | 2025-04 | Version: 0.4.0 Deprecated |
124
+ | Yahoo Pixel API | 2025-04 | Version: 1.3.0 Friendly name updated |
119
125
  | Adobe Experience Platform - Interact (BETA) | 2025-03 | Version: 0.7.0 Updated friendlyName Updated kit name |
120
126
  | Amplitude | 2025-03 | Version: 1.2.0 Added API_URL param to accommodate Amplitude's EU residency server |
121
127
  | Button | 2025-03 | Version: 0.1.1 Fix stanza spelling |
122
- | Facebook Pixel | 2025-03 | Version: 1.4.0 Updating default Facebook API version to 22.0 Adding additional event mappings Adding app event mappings |
123
- | Podscribe (BETA) | 2025-03 | Version: 0.1.0 Beta Version Podscribe initial release |
124
- | Ringier Axel Springer Poland (BETA) | 2025-03 | Version: 0.1.0 Beta Version Ringier Axel Springer Poland initial release |
125
128
  | TikTok | 2025-03 | Version: 2.3.0 Mapping updates due to TikTok API changes |
126
129
  | AWIN | 2025-02 | Version: 1.0.0 Stable release |
127
130
  | Merkle | 2025-02 | Version: 1.2.0 Updated mappings to comply with Merkle's requirements Added required fields: ipAddress, userAgent, pageUrl Added optional fields: rawEmail Updated type field of page event to viewpage |
@@ -166,7 +169,6 @@ previously.
166
169
  | Pinterest Ads | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
167
170
  | Pinterest CAPI | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
168
171
  | Podsights (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
169
- | Reddit Ads | 2024-10 | Version: 1.3.0 Added header `Accept-Encoding: application/json` |
170
172
  | Roku | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
171
173
  | Roomvo (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
172
174
  | Salesforce CDP | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
@@ -175,8 +177,6 @@ previously.
175
177
  | TheTradeDesk Firstparty Advertiser Data | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
176
178
  | VideoAmp (BETA) | 2024-10 | Version: 0.3.0 Added header `Accept-Encoding: application/json` |
177
179
  | Xandr | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
178
- | Yahoo Enhanced Attribution (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
179
- | Yahoo Offline Conversion | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
180
180
  | CM360 - Floodlights (BETA) | 2024-09 | Version 0.4.0 Friendly name renaming Description and color updated |
181
181
  | X Ads - Web Conversions | 2024-09 | Version: 1.0.0 Stable release |
182
182
  | Webhooks | 2024-08 | Version: 1.0.0 Stable release |
package/index.js CHANGED
@@ -50,12 +50,6 @@ exports.kafka = {
50
50
  metadata: require('./.dist/kafka/metadata.json')
51
51
  }
52
52
 
53
- exports.kinesis = {
54
- connectionTemplate: connectionSchemas.properties.kinesis,
55
- playbook: require('./.dist/kinesis/playbook.json'),
56
- metadata: require('./.dist/kinesis/metadata.json')
57
- }
58
-
59
53
  exports.s3 = {
60
54
  connectionTemplate: connectionSchemas.properties.s3,
61
55
  playbook: require('./.dist/s3/playbook.json'),
@@ -536,10 +530,6 @@ exports.etags = {
536
530
  playbook: require('./.dist/kafka/playbook.etag.json'),
537
531
  kit: require('./.dist/kafka/kit.etag.json')
538
532
  },
539
- kinesis: {
540
- playbook: require('./.dist/kinesis/playbook.etag.json'),
541
- kit: require('./.dist/kinesis/kit.etag.json')
542
- },
543
533
  s3: {
544
534
  playbook: require('./.dist/s3/playbook.etag.json'),
545
535
  kit: require('./.dist/s3/kit.etag.json')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.127",
3
+ "version": "1.0.128",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1 +0,0 @@
1
- "301e7dca8012bb65edcf9b34c91759b8"
@@ -1,9 +0,0 @@
1
- {
2
- "kinesis": {
3
- "region": "my-region",
4
- "accessKey": "my-access-key",
5
- "secretKey": "my-secret-key",
6
- "streamName": "my-stream-name",
7
- "backlogCount": 1000
8
- }
9
- }
@@ -1 +0,0 @@
1
- "afc539443e8ecfbc8e1b55b037eb1792"
@@ -1,33 +0,0 @@
1
- {
2
- "isDraft": true,
3
- "isDeprecated": true,
4
- "isBeta": false,
5
- "friendlyName": "Kinesis",
6
- "description": "Amazon Kinesis enables you to process and analyze data as it arrives and respond instantly\ninstead of having to wait until all your data is collected before the processing can begin.",
7
- "logo": "https://cdn.metarouter.io/logo.svg",
8
- "color": "#f58532",
9
- "eventSource": {
10
- "isAndroidApp": true,
11
- "isIosApp": true,
12
- "isWebApp": true
13
- },
14
- "inputSchema": "analytics_js",
15
- "releaseNotes": [
16
- {
17
- "date": "2021-06-24T00:00:00.000Z",
18
- "note": "Kinesis initial release."
19
- },
20
- {
21
- "date": "2022-11-16T00:00:00.000Z",
22
- "note": "Add isBeta field"
23
- },
24
- {
25
- "date": "2023-12-13T00:00:00.000Z",
26
- "note": "Marked as unstable version: 0.1.0"
27
- },
28
- {
29
- "date": "2024-02-13T00:00:00.000Z",
30
- "note": "Removed Identity"
31
- }
32
- ]
33
- }
@@ -1 +0,0 @@
1
- "2f96353725e4cd845fe0ae3025f691ae"
@@ -1,11 +0,0 @@
1
- {
2
- "version": "0.2.0",
3
- "global": {
4
- "expressions": [
5
- {
6
- "body": "return input",
7
- "lang": "lua"
8
- }
9
- ]
10
- }
11
- }