@metarouter/ajs-starter-kit 1.0.115 → 1.0.116
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/blueshift/kit.etag.json +1 -1
- package/.dist/blueshift/metadata.json +4 -0
- package/.dist/blueshift/playbook.etag.json +1 -1
- package/.dist/blueshift/playbook.json +3 -27
- package/.dist/google-analytics-4-collect/kit.etag.json +1 -1
- package/.dist/google-analytics-4-collect/metadata.json +4 -0
- package/.dist/google-analytics-4-collect/playbook.etag.json +1 -1
- package/.dist/google-analytics-4-collect/playbook.json +7 -1
- package/README.md +4 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"ca9087f7bf076105bb108cd41fc5f66d"
|
|
@@ -44,6 +44,10 @@
|
|
|
44
44
|
{
|
|
45
45
|
"date": "2024-10-23T00:00:00.000Z",
|
|
46
46
|
"note": "Version: 0.3.0\nAdded header `Accept-Encoding: application/json`"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"date": "2024-12-18T00:00:00.000Z",
|
|
50
|
+
"note": "Version: 0.4.0\nChanged birthday mapping for identify event."
|
|
47
51
|
}
|
|
48
52
|
]
|
|
49
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"c25132d4e291fac5e5f9dcfd270fd929"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.4.0",
|
|
3
3
|
"global": {
|
|
4
4
|
"mappings": [
|
|
5
5
|
{
|
|
@@ -127,36 +127,12 @@
|
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"inputKey": "input",
|
|
130
|
-
"outputKey": "
|
|
130
|
+
"outputKey": "birthday",
|
|
131
131
|
"transforms": [
|
|
132
132
|
{
|
|
133
133
|
"expression": {
|
|
134
134
|
"lang": "lua",
|
|
135
|
-
"body": "local birthday = input.traits.birthday or input.context.traits.birthday\nif birthday then\n
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"inputKey": "input",
|
|
142
|
-
"outputKey": "birth_month",
|
|
143
|
-
"transforms": [
|
|
144
|
-
{
|
|
145
|
-
"expression": {
|
|
146
|
-
"lang": "lua",
|
|
147
|
-
"body": "local birthday = input.traits.birthday or input.context.traits.birthday\nif birthday then\n return tonumber(SPLIT(input.traits.birthday, \"-\", 2)[2])\nend"
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
]
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"inputKey": "input",
|
|
154
|
-
"outputKey": "birth_dayofmonth",
|
|
155
|
-
"transforms": [
|
|
156
|
-
{
|
|
157
|
-
"expression": {
|
|
158
|
-
"lang": "lua",
|
|
159
|
-
"body": "local birthday = input.traits.birthday or input.context.traits.birthday\nif birthday then\n return tonumber(SPLIT(SPLIT(input.traits.birthday, \"-\", 3)[3], \"T\", 1)[1])\nend"
|
|
135
|
+
"body": "local birthday = input.traits.birthday or input.context.traits.birthday\nif birthday then\n birthday = string.sub(birthday, 1, 10)\n return birthday\nend"
|
|
160
136
|
}
|
|
161
137
|
}
|
|
162
138
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"9533e9757e3267ed08d51ae6c7257bce"
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
{
|
|
25
25
|
"date": "2024-10-23T00:00:00.000Z",
|
|
26
26
|
"note": "Version: 0.3.0\nAdded header `Accept-Encoding: application/json`"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"date": "2024-12-18T00:00:00.000Z",
|
|
30
|
+
"note": "Version: 0.4.0\nAdded user property expression for anonymousId."
|
|
27
31
|
}
|
|
28
32
|
]
|
|
29
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"a97907ef94eb10cff7a047317261221b"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.4.0",
|
|
3
3
|
"global": {
|
|
4
4
|
"mappings": [
|
|
5
5
|
{
|
|
@@ -109,6 +109,12 @@
|
|
|
109
109
|
"outputKey": "isDebugMode",
|
|
110
110
|
"staticBool": false
|
|
111
111
|
}
|
|
112
|
+
],
|
|
113
|
+
"expressions": [
|
|
114
|
+
{
|
|
115
|
+
"body": "local up = {}\nup.metarouter_anonymousid = input.anonymousId\n\nlocal output = {} for key, value in pairs(up) do output[\"up.\" .. key] = value\nend\nreturn output",
|
|
116
|
+
"lang": "lua"
|
|
117
|
+
}
|
|
112
118
|
]
|
|
113
119
|
},
|
|
114
120
|
"params": [
|
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@ 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-12
|
|
9
|
+
- Blueshift (BETA)
|
|
10
|
+
- Google Analytics 4 (Collect) (BETA)
|
|
9
11
|
- Moloco (BETA)
|
|
10
12
|
- RTB House (BETA)
|
|
11
13
|
|
|
@@ -29,7 +31,6 @@ previously.
|
|
|
29
31
|
- AppsFlyer Android
|
|
30
32
|
- AppsFlyer iOS
|
|
31
33
|
- Microsoft Advertising (BETA)
|
|
32
|
-
- Blueshift (BETA)
|
|
33
34
|
- Clinch
|
|
34
35
|
- Commission Junction
|
|
35
36
|
- Criteo
|
|
@@ -37,7 +38,6 @@ previously.
|
|
|
37
38
|
- Facebook Pixel
|
|
38
39
|
- Google Ads - Conversions
|
|
39
40
|
- Google Analytics
|
|
40
|
-
- Google Analytics 4 (Collect) (BETA)
|
|
41
41
|
- Firebase (BETA)
|
|
42
42
|
- Heap (BETA)
|
|
43
43
|
- HubSpot (BETA)
|
|
@@ -101,6 +101,8 @@ previously.
|
|
|
101
101
|
|
|
102
102
|
| Kit Name | Date | Latest Note |
|
|
103
103
|
|----------|------|-------------|
|
|
104
|
+
| Blueshift (BETA) | 2024-12 | Version: 0.4.0 Changed birthday mapping for identify event. |
|
|
105
|
+
| Google Analytics 4 (Collect) (BETA) | 2024-12 | Version: 0.4.0 Added user property expression for anonymousId. |
|
|
104
106
|
| Moloco (BETA) | 2024-12 | Version: 0.3.0 Updated `page` events to Moloco's `HOME` or `PAGE_VIEW` event, based on `context.page.path` |
|
|
105
107
|
| RTB House (BETA) | 2024-12 | Version: 0.2.1 Updated Endpoint URL Added new fields for all events: page URL (`su`) and page referrer (`sr`) Added new events: identify, page, products_searched, product_list_viewed, product_viewed, product_added, product_added_to_wishlist, cart_viewed, checkout_started |
|
|
106
108
|
| Adobe Analytics - Experience (BETA) | 2024-11 | Version: 0.6.0 Adding checkout event Updating inputKey for siteSection |
|
|
@@ -120,7 +122,6 @@ previously.
|
|
|
120
122
|
| AppsFlyer Android | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
|
|
121
123
|
| AppsFlyer iOS | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
|
|
122
124
|
| Microsoft Advertising (BETA) | 2024-10 | Version: 0.2.0 Added header `Accept-Encoding: application/json` |
|
|
123
|
-
| Blueshift (BETA) | 2024-10 | Version: 0.3.0 Added header `Accept-Encoding: application/json` |
|
|
124
125
|
| Clinch | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
|
|
125
126
|
| Commission Junction | 2024-10 | Version: 1.2.0 Added header `Accept-Encoding: application/json` |
|
|
126
127
|
| Criteo | 2024-10 | Version: 1.1.0 Added header `Accept-Encoding: application/json` |
|
|
@@ -128,7 +129,6 @@ previously.
|
|
|
128
129
|
| Facebook Pixel | 2024-10 | Version: 1.3.0 Added header `Accept-Encoding: application/json` |
|
|
129
130
|
| Google Ads - Conversions | 2024-10 | Version: 1.3.0 Added header `Accept-Encoding: application/json` |
|
|
130
131
|
| Google Analytics | 2024-10 | Deprecating kit |
|
|
131
|
-
| Google Analytics 4 (Collect) (BETA) | 2024-10 | Version: 0.3.0 Added header `Accept-Encoding: application/json` |
|
|
132
132
|
| Firebase (BETA) | 2024-10 | Version: 0.2.0 Updated header `Accept-Encoding: application/json` |
|
|
133
133
|
| Heap (BETA) | 2024-10 | Version: 0.2.0 Updated header `Accept-Encoding: application/json` |
|
|
134
134
|
| HubSpot (BETA) | 2024-10 | Version: 0.3.0 Added header `Accept-Encoding: application/json` |
|