@metarouter/ajs-starter-kit 1.0.146 → 1.0.148
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.
- package/.dist/adobe-bdia/kit.etag.json +1 -1
- package/.dist/adobe-bdia/metadata.json +4 -0
- package/.dist/adobe-bdia/playbook.etag.json +1 -1
- package/.dist/adobe-bdia/playbook.json +22 -5
- package/.dist/adobe-experience-platform-interact/kit.etag.json +1 -1
- package/.dist/adobe-experience-platform-interact/metadata.json +6 -2
- package/.dist/adobe-experience-platform-interact/playbook.etag.json +1 -1
- package/.dist/adobe-experience-platform-interact/playbook.json +1 -1
- package/.dist/commission-junction/kit.etag.json +1 -1
- package/.dist/commission-junction/metadata.json +4 -0
- package/.dist/commission-junction/playbook.etag.json +1 -1
- package/.dist/commission-junction/playbook.json +7 -1
- package/.dist/google-analytics-4/connection.etag.json +1 -1
- package/.dist/google-analytics-4/connection.json +1 -1
- package/.dist/google-analytics-4/kit.etag.json +1 -1
- package/.dist/google-analytics-4/metadata.json +4 -0
- package/.dist/google-analytics-4/playbook.etag.json +1 -1
- package/.dist/google-analytics-4/playbook.json +33 -1
- package/.dist/microsoft-ads-capi/kit.etag.json +1 -1
- package/.dist/microsoft-ads-capi/metadata.json +5 -1
- package/.dist/microsoft-ads-capi/playbook.etag.json +1 -1
- package/.dist/microsoft-ads-capi/playbook.json +1 -1
- package/.dist/roomvo/kit.etag.json +1 -1
- package/README.md +8 -36
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"97fdbef95e5ad45de609e624d6aabf22 -"
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
{
|
|
25
25
|
"date": "2025-10-22T21:00:00.000Z",
|
|
26
26
|
"note": "Version: 0.2.0\nLanguage field added"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"date": "2025-10-29T21:00:00.000Z",
|
|
30
|
+
"note": "Version: 0.3.0\nuserAgent generation for native app support\nIncreased possible mappings for pageName"
|
|
27
31
|
}
|
|
28
32
|
]
|
|
29
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"4855dc44721d495a50b37f4c7709f1f5 -"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.3.0",
|
|
3
3
|
"default": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"action": "allow",
|
|
8
8
|
"events": [
|
|
9
9
|
"page",
|
|
10
|
+
"screen",
|
|
10
11
|
""
|
|
11
12
|
]
|
|
12
13
|
}
|
|
@@ -50,12 +51,28 @@
|
|
|
50
51
|
"outputKey": "pageURL"
|
|
51
52
|
},
|
|
52
53
|
{
|
|
53
|
-
"inputKey": "
|
|
54
|
-
"outputKey": "pageName"
|
|
54
|
+
"inputKey": "input",
|
|
55
|
+
"outputKey": "pageName",
|
|
56
|
+
"transforms": [
|
|
57
|
+
{
|
|
58
|
+
"expression": {
|
|
59
|
+
"lang": "lua",
|
|
60
|
+
"body": "return input.context.page.title or input.name or input.properties.name or \"N/A\""
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
]
|
|
55
64
|
},
|
|
56
65
|
{
|
|
57
|
-
"inputKey": "
|
|
58
|
-
"outputKey": "userAgent"
|
|
66
|
+
"inputKey": "input",
|
|
67
|
+
"outputKey": "userAgent",
|
|
68
|
+
"transforms": [
|
|
69
|
+
{
|
|
70
|
+
"expression": {
|
|
71
|
+
"lang": "lua",
|
|
72
|
+
"body": "if input.context.userAgent then\n return input.context.userAgent\nend\n\nlocal os = LOWER(input.context.os.name)\nlocal ua_system = ''\n\nif os == \"android\" then\n ua_system = string.format(\n \"Linux; Android %s; %s %s; Locale/%s\",\n input.context.os.version or \"0\",\n input.context.device.manufacturer or \"Unknown\",\n input.context.device.model or \"UnknownModel\",\n input.context.locale or ''\n )\nelseif os == \"ios\" then\n ua_system = string.format(\n \"%s; CPU %s %s like Mac OS X; Locale/%s\",\n input.context.device.model or \"iPhone\",\n input.context.os.name,\n input.context.os.version or '0',\n input.context.locale or ''\n )\nelse\n ua_system = string.format(\"%s %s; Locale/%s\", input.context.os.name or \"UnknownOS\", input.context.os.version or \"0\", input.context.locale or '')\nend\n\nlocal userAgent = string.format(\n \"%s/%s (%s) %s/%s\",\n input.context.app.name or \"UnknownApp\",\n input.context.app.version or \"0.0\",\n ua_system,\n input.context.library.name or \"UnknownLib\",\n input.context.library.version or \"0.0\"\n)\n\nreturn userAgent"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
]
|
|
59
76
|
},
|
|
60
77
|
{
|
|
61
78
|
"inputKey": "context.ip",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"fa5da4cd718b3500b109f18e2f2a02bf -"
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"isDraft": false,
|
|
3
3
|
"isDeprecated": false,
|
|
4
4
|
"isBeta": false,
|
|
5
|
-
"friendlyName": "Adobe Experience Platform
|
|
6
|
-
"description": "The Adobe Experience Platform
|
|
5
|
+
"friendlyName": "Adobe Experience Platform",
|
|
6
|
+
"description": "The Adobe Experience Platform integration sends event data to a datastream in AEP. This enables audience targeting, experience personalization, reporting, and journey orchestration in Adobe Experience Platform.",
|
|
7
7
|
"logo": "https://cdn.metarouter.io/logo.svg",
|
|
8
8
|
"color": "#2E204B",
|
|
9
9
|
"eventSource": {
|
|
@@ -52,6 +52,10 @@
|
|
|
52
52
|
{
|
|
53
53
|
"date": "2025-08-20T00:00:00.000Z",
|
|
54
54
|
"note": "Version: 1.0.0\nStable Release"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"date": "2025-11-05T00:00:00.000Z",
|
|
58
|
+
"note": "Version: 1.0.1\nUpdated Friendly Name"
|
|
55
59
|
}
|
|
56
60
|
]
|
|
57
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"45bbf3538b06355bab59a084d7b474e9 -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"765fb96d8e8219fbc8e3f0c69c0ebcb5 -"
|
|
@@ -44,6 +44,10 @@
|
|
|
44
44
|
{
|
|
45
45
|
"date": "2025-08-27T00:00:00.000Z",
|
|
46
46
|
"note": "Version: 1.4.0\nRemoved sid and customerStatus mappings\nChanged actionTrackerId scope from eventSpecific to global"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"date": "2025-11-05T00:00:00.000Z",
|
|
50
|
+
"note": "Version: 1.5.0\nAdded a static trackingSource value under customParameters"
|
|
47
51
|
}
|
|
48
52
|
]
|
|
49
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"6f5eb04b4c3c9f9267d83413af97cef7 -"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.5.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "ENTERPRISE_ID",
|
|
@@ -115,6 +115,12 @@
|
|
|
115
115
|
"inputKey": "timestamp",
|
|
116
116
|
"outputKey": "eventTime"
|
|
117
117
|
}
|
|
118
|
+
],
|
|
119
|
+
"expressions": [
|
|
120
|
+
{
|
|
121
|
+
"lang": "lua",
|
|
122
|
+
"body": "return {\n customParameters = {\n { name = \"trackingSource\", value = \"metarouter\" }\n }\n}"
|
|
123
|
+
}
|
|
118
124
|
]
|
|
119
125
|
},
|
|
120
126
|
"order_updated": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"0a4ecfa482b6aee622eb8a1bb78a1c5e -"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"transform": {
|
|
16
16
|
"lang": "lua",
|
|
17
|
-
"body": "request.body = {\n client_id = batch[1].client_id,\n user_id = batch[1].user_id,\n timestamp_micros = batch[1].timestamp_micros,\n events = { batch[1].event }\n}\nreturn request"
|
|
17
|
+
"body": "request.body = {\n client_id = batch[1].client_id,\n user_id = batch[1].user_id,\n timestamp_micros = batch[1].timestamp_micros,\n user_location = batch[1].user_location,\n ip_override = batch[1].ip_override,\n events = { batch[1].event }\n}\nreturn request"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"params": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"6fde9a8efeb0cb5557bcf8fbc019a7df -"
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
{
|
|
33
33
|
"date": "2024-04-10T00:00:00.000Z",
|
|
34
34
|
"note": "Version: 1.1.0\nAdded session data: session ID, session Count\nAdded Engagement Time In Milliseconds"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"date": "2025-10-29T00:00:00.000Z",
|
|
38
|
+
"note": "Version: 1.2.0\nAdded geolocation data with ip_override and user_location fields"
|
|
35
39
|
}
|
|
36
40
|
]
|
|
37
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"73d531a4c5711cebeda2919801bd0eb5 -"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.2.0",
|
|
3
3
|
"global": {
|
|
4
4
|
"enrichments": [
|
|
5
5
|
{
|
|
@@ -71,6 +71,38 @@
|
|
|
71
71
|
{
|
|
72
72
|
"inputKey": "context.providers.googleGtag.data.sessionCount",
|
|
73
73
|
"outputKey": "event.params.session_number"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"inputKey": "context.ip",
|
|
77
|
+
"outputKey": "ip_override"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"inputKey": "traits.address.city",
|
|
81
|
+
"outputKey": "user_location.city"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"inputKey": "input",
|
|
85
|
+
"outputKey": "user_location.region_id",
|
|
86
|
+
"transforms": [
|
|
87
|
+
{
|
|
88
|
+
"expression": {
|
|
89
|
+
"lang": "lua",
|
|
90
|
+
"body": "local country_code = input.traits.address.country\nif country_code ~= nil then\n if input.traits.address.state ~= nil then\n return SUBSTRING(country_code, 0, 2) .. \"-\" .. input.traits.address.state\n end\nend"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"inputKey": "input",
|
|
97
|
+
"outputKey": "user_location.country_id",
|
|
98
|
+
"transforms": [
|
|
99
|
+
{
|
|
100
|
+
"expression": {
|
|
101
|
+
"lang": "lua",
|
|
102
|
+
"body": "local country_alpha_2_format = SUBSTRING(input.traits.address.country, 0, 2)\nif country_alpha_2_format ~= null then\n return country_alpha_2_format\nend"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
74
106
|
}
|
|
75
107
|
]
|
|
76
108
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"4d5c780846b6321fe99367ab7412b318 -"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
3
|
"isDeprecated": false,
|
|
4
|
-
"isBeta":
|
|
4
|
+
"isBeta": false,
|
|
5
5
|
"friendlyName": "Microsoft Ads CAPI",
|
|
6
6
|
"description": "Microsoft Ads is a digital advertising platform that allows businesses to create and manage paid search and display ad campaigns across Microsoft's network, including Bing, MSN, and other partner sites.",
|
|
7
7
|
"logo": "https://cdn.metarouter.io/microsoft-ads-capi.png",
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
{
|
|
21
21
|
"date": "2025-10-22T21:00:00.000Z",
|
|
22
22
|
"note": "Version: 0.2.0\nAdded eventName for all events\nAdded eventLabel for page event for sample mapping"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"date": "2025-11-05T00:00:00.000Z",
|
|
26
|
+
"note": "Version: 1.0.0\nStable Release"
|
|
23
27
|
}
|
|
24
28
|
]
|
|
25
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"3866af7d45108b4e11cd7e1d7fe36ab6 -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"92031716c283131a1873f233edb77a92 -"
|
package/README.md
CHANGED
|
@@ -1,37 +1,9 @@
|
|
|
1
1
|
# MetaRouter Starter Kits
|
|
2
2
|
|
|
3
|
-
### 2025-
|
|
4
|
-
-
|
|
5
|
-
-
|
|
6
|
-
- Adobe Analytics (New)
|
|
7
|
-
- Amazon Data Firehose
|
|
8
|
-
- Amazon Kinesis
|
|
9
|
-
- Amazon S3
|
|
10
|
-
- Amplitude
|
|
11
|
-
- Azure Blob
|
|
12
|
-
- Blueshift
|
|
13
|
-
- Braze
|
|
14
|
-
- CM360 - Floodlights
|
|
15
|
-
- Clinch
|
|
16
|
-
- Google AJSID Segments
|
|
17
|
-
- Google Ads - Conversions
|
|
18
|
-
- Google Analytics
|
|
19
|
-
- Google Analytics 4 (Collect)
|
|
20
|
-
- Google Cloud Storage
|
|
21
|
-
- Google Pub/Sub
|
|
22
|
-
- Impact Radius
|
|
23
|
-
- Kafka
|
|
3
|
+
### 2025-11
|
|
4
|
+
- Adobe Experience Platform
|
|
5
|
+
- Commission Junction
|
|
24
6
|
- Microsoft Ads CAPI
|
|
25
|
-
- Nextdoor - CAPI
|
|
26
|
-
- Perion
|
|
27
|
-
- Pinterest Ads
|
|
28
|
-
- Podscribe
|
|
29
|
-
- Reddit Ads
|
|
30
|
-
- Roomvo
|
|
31
|
-
- Snapchat Ads
|
|
32
|
-
- Snowflake
|
|
33
|
-
- The Trade Desk - Conversions
|
|
34
|
-
- Webhooks
|
|
35
7
|
|
|
36
8
|
| Kit Name | Initial Release Date | Stable Release Date | Latest Release Date | Current Version | Latest Note |
|
|
37
9
|
|----------|----------------------|---------------------|---------------------|-----------------|-------------|
|
|
@@ -39,8 +11,8 @@
|
|
|
39
11
|
| ActionIQ | 2021-06-24 | N/A | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
|
|
40
12
|
| Acuity Ads | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|
|
41
13
|
| Adjust | 2025-09-10 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
|
|
42
|
-
| Adobe Analytics
|
|
43
|
-
| Adobe Experience Platform
|
|
14
|
+
| Adobe Analytics | 2025-10-08 | N/A | 2025-10-29 | Version: 0.3.0 | userAgent generation for native app support Increased possible mappings for pageName |
|
|
15
|
+
| Adobe Experience Platform | 2023-03-21 | 2025-08-20 | 2025-11-05 | Version: 1.0.1 | Updated Friendly Name |
|
|
44
16
|
| Adobe ID | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
45
17
|
| Amazon DSP CAPI | 2025-05-21 | 2025-08-13 | 2025-08-13 | Version: 1.0.0 | Stable Release |
|
|
46
18
|
| Amazon Data Firehose | 2025-02-05 | 2025-04-02 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
@@ -59,7 +31,7 @@
|
|
|
59
31
|
| Button | 2025-02-19 | 2025-03-12 | 2025-07-30 | Version: 1.1.0 | Replaced context.traits with traits. |
|
|
60
32
|
| CM360 - Floodlights | 2021-06-24 | 2025-08-20 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
61
33
|
| Clinch | 2024-04-24 | 2024-06-12 | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
|
|
62
|
-
| Commission Junction | 2024-01-17 | 2024-04-24 | 2025-
|
|
34
|
+
| Commission Junction | 2024-01-17 | 2024-04-24 | 2025-11-05 | Version: 1.5.0 | Added a static trackingSource value under customParameters |
|
|
63
35
|
| Convert | 2023-09-08 | N/A | 2024-11-20 | Version: 0.3.0 | Added new deduplication parameter for all events, `tid` |
|
|
64
36
|
| 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 |
|
|
65
37
|
| Customer.io | 2022-11-07 | N/A | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|
|
@@ -67,7 +39,7 @@
|
|
|
67
39
|
| Google AJSID Segments | 2024-05-29 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
|
|
68
40
|
| Google Ads - Conversions | 2023-07-04 | 2024-04-17 | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
|
|
69
41
|
| Google Analytics | 2021-06-24 | N/A | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
70
|
-
| Google Analytics 4 | 2022-08-11 | N/A |
|
|
42
|
+
| Google Analytics 4 | 2022-08-11 | N/A | 2025-10-29 | Version: 1.2.0 | Added geolocation data with ip_override and user_location fields |
|
|
71
43
|
| Google Analytics 4 (Collect) | 2024-04-24 | 2025-08-20 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
72
44
|
| Google BigQuery | 2021-06-24 | 2023-12-13 | 2025-01-16 | Version: 1.1.0 | Adding support for table overrides |
|
|
73
45
|
| Google Cloud Storage | 2021-06-24 | N/A | 2025-10-15 | Version: 0.2.1 | Added friendly names to expressions |
|
|
@@ -88,7 +60,7 @@
|
|
|
88
60
|
| Merkle | 2021-06-24 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced context.traits with traits. |
|
|
89
61
|
| Meta CAPI | 2021-06-24 | N/A | 2025-08-06 | Version: 1.7.0 | Updated event_time key mapping |
|
|
90
62
|
| Microsoft Ads | 2025-01-22 | 2025-04-02 | 2025-07-30 | Version: 1.1.0 | Replaced context.traits with traits. |
|
|
91
|
-
| Microsoft Ads CAPI | 2025-09-17 |
|
|
63
|
+
| Microsoft Ads CAPI | 2025-09-17 | 2025-11-05 | 2025-11-05 | Version: 1.0.0 | Stable Release |
|
|
92
64
|
| Microsoft Advertising | 2021-06-24 | N/A | 2025-07-16 | Version: 0.3.0 | TABLE_SLICE custom function usage. |
|
|
93
65
|
| Mixpanel | 2022-03-23 | N/A | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
94
66
|
| Moloco Commerce Media | 2024-11-14 | 2025-02-12 | 2025-02-12 | Version: 1.0.0 | New Event: session_started -> Mapped to Moloco's LAND event (web) New Event: application_open -> Mapped to Moloco's LAND event (mobile) Updated Event: screen -> Mapped to Moloco's PAGE_VIEW or HOME event based on input.name and/or input.properties.name (mobile) Updated Event: order_completed -> Added mapping for Moloco's shipping_charge field using MetaRouter's properties.shipping (web & mobile) Stable release |
|