@metarouter/ajs-starter-kit 1.0.146 → 1.0.147
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/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/README.md +3 -2
- 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
|
+
"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
|
},
|
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
- Google AJSID Segments
|
|
17
17
|
- Google Ads - Conversions
|
|
18
18
|
- Google Analytics
|
|
19
|
+
- Google Analytics 4
|
|
19
20
|
- Google Analytics 4 (Collect)
|
|
20
21
|
- Google Cloud Storage
|
|
21
22
|
- Google Pub/Sub
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
| ActionIQ | 2021-06-24 | N/A | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
|
|
40
41
|
| Acuity Ads | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|
|
41
42
|
| Adjust | 2025-09-10 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
|
|
42
|
-
| Adobe Analytics (New) | 2025-10-08 | N/A | 2025-10-
|
|
43
|
+
| Adobe Analytics (New) | 2025-10-08 | N/A | 2025-10-29 | Version: 0.3.0 | userAgent generation for native app support Increased possible mappings for pageName |
|
|
43
44
|
| Adobe Experience Platform - Interact | 2023-03-21 | 2025-08-20 | 2025-08-20 | Version: 1.0.0 | Stable Release |
|
|
44
45
|
| Adobe ID | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
45
46
|
| Amazon DSP CAPI | 2025-05-21 | 2025-08-13 | 2025-08-13 | Version: 1.0.0 | Stable Release |
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
| Google AJSID Segments | 2024-05-29 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
|
|
68
69
|
| Google Ads - Conversions | 2023-07-04 | 2024-04-17 | 2025-10-15 | Version: 1.3.1 | Added friendly names to expressions |
|
|
69
70
|
| 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 |
|
|
71
|
+
| 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
72
|
| Google Analytics 4 (Collect) | 2024-04-24 | 2025-08-20 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
72
73
|
| Google BigQuery | 2021-06-24 | 2023-12-13 | 2025-01-16 | Version: 1.1.0 | Adding support for table overrides |
|
|
73
74
|
| Google Cloud Storage | 2021-06-24 | N/A | 2025-10-15 | Version: 0.2.1 | Added friendly names to expressions |
|