@metarouter/ajs-starter-kit 1.0.139 → 1.0.140
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/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 +11 -57
- package/.dist/criteo/kit.etag.json +1 -1
- package/.dist/criteo/metadata.json +5 -1
- package/.dist/criteo/playbook.etag.json +1 -1
- package/.dist/criteo/playbook.json +3 -39
- package/.dist/linkedin-conversions/kit.etag.json +1 -1
- package/.dist/linkedin-conversions/metadata.json +5 -1
- package/.dist/linkedin-conversions/playbook.etag.json +1 -1
- package/.dist/linkedin-conversions/playbook.json +1 -1
- package/.dist/rakuten-conversions/kit.etag.json +1 -1
- package/.dist/rakuten-conversions/metadata.json +4 -0
- package/.dist/rakuten-conversions/playbook.etag.json +1 -1
- package/.dist/rakuten-conversions/playbook.json +25 -1
- package/README.md +10 -8
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"247cb32da33c45b9903d8927754991d9"
|
|
@@ -40,6 +40,10 @@
|
|
|
40
40
|
{
|
|
41
41
|
"date": "2025-07-30T00:00:00.000Z",
|
|
42
42
|
"note": "Version: 1.3.0\nReplaced originalTimestamp with timestamp"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"date": "2025-08-27T00:00:00.000Z",
|
|
46
|
+
"note": "Version: 1.4.0\nRemoved sid and customerStatus mappings\nChanged actionTrackerId scope from eventSpecific to global"
|
|
43
47
|
}
|
|
44
48
|
]
|
|
45
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"32e96f8d90ddef19d8a1e6b51b04e6a1"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.4.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "ENTERPRISE_ID",
|
|
@@ -19,8 +19,16 @@
|
|
|
19
19
|
],
|
|
20
20
|
"mappings": [
|
|
21
21
|
{
|
|
22
|
-
"inputKey": "
|
|
23
|
-
"outputKey": "
|
|
22
|
+
"inputKey": "input",
|
|
23
|
+
"outputKey": "actionTrackerId",
|
|
24
|
+
"transforms": [
|
|
25
|
+
{
|
|
26
|
+
"expression": {
|
|
27
|
+
"lang": "lua",
|
|
28
|
+
"body": "return TO_TRUNCATED_INT($$ACTION_TRACKER_ID$$)"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
24
32
|
},
|
|
25
33
|
{
|
|
26
34
|
"inputKey": "properties.order_id",
|
|
@@ -48,18 +56,6 @@
|
|
|
48
56
|
"eventSpecific": {
|
|
49
57
|
"order_completed": {
|
|
50
58
|
"mappings": [
|
|
51
|
-
{
|
|
52
|
-
"inputKey": "input",
|
|
53
|
-
"outputKey": "actionTrackerId",
|
|
54
|
-
"transforms": [
|
|
55
|
-
{
|
|
56
|
-
"expression": {
|
|
57
|
-
"lang": "lua",
|
|
58
|
-
"body": "return TO_TRUNCATED_INT($$ACTION_TRACKER_ID$$)"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
59
|
{
|
|
64
60
|
"inputKey": "context.providers.commissionJunction.cjevent",
|
|
65
61
|
"outputKey": "cjEvent"
|
|
@@ -85,15 +81,6 @@
|
|
|
85
81
|
}
|
|
86
82
|
]
|
|
87
83
|
},
|
|
88
|
-
{
|
|
89
|
-
"inputKey": "properties.customerStatus",
|
|
90
|
-
"outputKey": "customerStatus",
|
|
91
|
-
"transforms": [
|
|
92
|
-
{
|
|
93
|
-
"toScalar": "string"
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
84
|
{
|
|
98
85
|
"inputKey": "properties.revenue",
|
|
99
86
|
"outputKey": "verticalParameters.orderSubtotal",
|
|
@@ -132,18 +119,6 @@
|
|
|
132
119
|
},
|
|
133
120
|
"order_updated": {
|
|
134
121
|
"mappings": [
|
|
135
|
-
{
|
|
136
|
-
"inputKey": "input",
|
|
137
|
-
"outputKey": "actionTrackerId",
|
|
138
|
-
"transforms": [
|
|
139
|
-
{
|
|
140
|
-
"expression": {
|
|
141
|
-
"lang": "lua",
|
|
142
|
-
"body": "return TO_TRUNCATED_INT($$ACTION_TRACKER_ID$$)"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
]
|
|
146
|
-
},
|
|
147
122
|
{
|
|
148
123
|
"inputKey": "properties.revenue",
|
|
149
124
|
"outputKey": "amount"
|
|
@@ -165,15 +140,6 @@
|
|
|
165
140
|
}
|
|
166
141
|
]
|
|
167
142
|
},
|
|
168
|
-
{
|
|
169
|
-
"inputKey": "properties.customerStatus",
|
|
170
|
-
"outputKey": "customerStatus",
|
|
171
|
-
"transforms": [
|
|
172
|
-
{
|
|
173
|
-
"toScalar": "string"
|
|
174
|
-
}
|
|
175
|
-
]
|
|
176
|
-
},
|
|
177
143
|
{
|
|
178
144
|
"inputKey": "properties.revenue",
|
|
179
145
|
"outputKey": "verticalParameters.orderSubtotal",
|
|
@@ -212,18 +178,6 @@
|
|
|
212
178
|
},
|
|
213
179
|
"order_canceled": {
|
|
214
180
|
"mappings": [
|
|
215
|
-
{
|
|
216
|
-
"inputKey": "input",
|
|
217
|
-
"outputKey": "actionTrackerId",
|
|
218
|
-
"transforms": [
|
|
219
|
-
{
|
|
220
|
-
"expression": {
|
|
221
|
-
"lang": "lua",
|
|
222
|
-
"body": "return TO_TRUNCATED_INT($$ACTION_TRACKER_ID$$)"
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
]
|
|
226
|
-
},
|
|
227
181
|
{
|
|
228
182
|
"inputKey": "timestamp",
|
|
229
183
|
"outputKey": "updateTime"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"bfa6cada883394c1344e53a55110e24f"
|
|
@@ -39,7 +39,11 @@
|
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"date": "2025-07-30T00:00:00.000Z",
|
|
42
|
-
"note": "
|
|
42
|
+
"note": "Version: 2.0.0\nEndpoint updated to `https://sslwidget.criteo.com/s2s/v2/event`"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"date": "2025-09-03T00:00:00.000Z",
|
|
46
|
+
"note": "Version: 2.1.0\nRemoved id node and added alternate_ids array in playbook.yaml"
|
|
43
47
|
}
|
|
44
48
|
]
|
|
45
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"99ca1b962294230b240498fc701a4a47"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
2
|
+
"version": "2.1.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "PARTNER_ID",
|
|
@@ -42,48 +42,12 @@
|
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"inputKey": "input",
|
|
45
|
-
"outputKey": "
|
|
45
|
+
"outputKey": "alternate_ids",
|
|
46
46
|
"transforms": [
|
|
47
47
|
{
|
|
48
48
|
"expression": {
|
|
49
49
|
"lang": "lua",
|
|
50
|
-
"body": "return LOWER(TRIM(
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"inputKey": "traits.email",
|
|
57
|
-
"outputKey": "id.email.sha256_md5",
|
|
58
|
-
"transforms": [
|
|
59
|
-
{
|
|
60
|
-
"expression": {
|
|
61
|
-
"lang": "lua",
|
|
62
|
-
"body": "return TO_SHA256_HASH(TO_MD5_HASH(LOWER(TRIM(input.traits.email))))"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"inputKey": "input",
|
|
69
|
-
"outputKey": "id.email.md5",
|
|
70
|
-
"transforms": [
|
|
71
|
-
{
|
|
72
|
-
"expression": {
|
|
73
|
-
"lang": "lua",
|
|
74
|
-
"body": "return TO_MD5_HASH(LOWER(TRIM(input.traits.email)))"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"inputKey": "input",
|
|
81
|
-
"outputKey": "id.email.sha256",
|
|
82
|
-
"transforms": [
|
|
83
|
-
{
|
|
84
|
-
"expression": {
|
|
85
|
-
"lang": "lua",
|
|
86
|
-
"body": "return TO_SHA256_HASH(LOWER(TRIM(input.traits.email)))"
|
|
50
|
+
"body": "local email = input.traits and input.traits.email\nif not email or TRIM(email) == \"\" then\n return {}\nend\n\nlocal cleaned = LOWER(TRIM(email))\nreturn {\n {\n type = \"email\",\n hash_method = \"sha256\",\n value = TO_SHA256_HASH(cleaned)\n },\n {\n type = \"email\",\n hash_method = \"md5\",\n value = TO_MD5_HASH(cleaned)\n },\n {\n type = \"email\",\n hash_method = \"sha256_md5\",\n value = TO_SHA256_HASH(TO_MD5_HASH(cleaned))\n },\n {\n type = \"email\",\n hash_method = \"none\",\n value = cleaned\n }\n}"
|
|
87
51
|
}
|
|
88
52
|
}
|
|
89
53
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"21fe14ecbba65c79bfc1f4d8458c5f3b"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
3
|
"isDeprecated": false,
|
|
4
|
-
"isBeta":
|
|
4
|
+
"isBeta": false,
|
|
5
5
|
"friendlyName": "Linkedin Ads - Conversions",
|
|
6
6
|
"description": "LinkedIn Ads is LinkedIn’s advertising platform that allows businesses to target professionals based on attributes like job title, industry, company size, and seniority.",
|
|
7
7
|
"logo": "https://cdn.metarouter.io/linkedin-conversions.svg",
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
{
|
|
25
25
|
"date": "2025-08-13T00:00:00.000Z",
|
|
26
26
|
"note": "Version: 0.3.0\nReplaced enrichment with Lua mapping, defaulted currency to 'USD'."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"date": "2025-09-03T00:00:00.000Z",
|
|
30
|
+
"note": "Version: 1.0.0\nStable Release"
|
|
27
31
|
}
|
|
28
32
|
]
|
|
29
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"b39fec9be8901634d8310379b49f4458"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"1b79ef41075ef8ac9c3d7d51c6faf702"
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
{
|
|
17
17
|
"date": "2025-07-30T21:00:00.000Z",
|
|
18
18
|
"note": "Version: 0.1.0\nBeta Version\nRakuten Conversions initial release"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"date": "2025-09-03T21:00:00.000Z",
|
|
22
|
+
"note": "Version: 0.2.0\nAdding namelist field to order_canceled and order_completed events"
|
|
19
23
|
}
|
|
20
24
|
]
|
|
21
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"8669607097e71ffda520c6672b1a10cb"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.2.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "MERCHANT_ID",
|
|
@@ -128,6 +128,18 @@
|
|
|
128
128
|
"inputKey": "properties.checkout_id",
|
|
129
129
|
"outputKey": "altord"
|
|
130
130
|
},
|
|
131
|
+
{
|
|
132
|
+
"inputKey": "input",
|
|
133
|
+
"outputKey": "namelist",
|
|
134
|
+
"transforms": [
|
|
135
|
+
{
|
|
136
|
+
"expression": {
|
|
137
|
+
"lang": "lua",
|
|
138
|
+
"body": "local namelist = JOIN(MAP(input.properties.products, function (p) return p.name or \"\" end), \"|\")\nif input.properties.discount then namelist = namelist .. \"|Discount\" end\nreturn namelist"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
131
143
|
{
|
|
132
144
|
"inputKey": "input",
|
|
133
145
|
"outputKey": "brandlist",
|
|
@@ -229,6 +241,18 @@
|
|
|
229
241
|
"inputKey": "properties.checkout_id",
|
|
230
242
|
"outputKey": "altord"
|
|
231
243
|
},
|
|
244
|
+
{
|
|
245
|
+
"inputKey": "input",
|
|
246
|
+
"outputKey": "namelist",
|
|
247
|
+
"transforms": [
|
|
248
|
+
{
|
|
249
|
+
"expression": {
|
|
250
|
+
"lang": "lua",
|
|
251
|
+
"body": "local namelist = JOIN(MAP(input.properties.products, function (p) return p.name or \"\" end), \"|\")\nif input.properties.discount then namelist = namelist .. \"|Discount\" end\nreturn namelist"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
},
|
|
232
256
|
{
|
|
233
257
|
"inputKey": "input",
|
|
234
258
|
"outputKey": "brandlist",
|
package/README.md
CHANGED
|
@@ -5,15 +5,20 @@ event methods, you will create a rich, actionable data set from your website, mo
|
|
|
5
5
|
server, and other sources. It is particularly useful for tracking the pages or screens your
|
|
6
6
|
users visit, the actions they take on your property, and whether the user has been identified
|
|
7
7
|
previously.
|
|
8
|
+
## 2025-09
|
|
9
|
+
- Criteo
|
|
10
|
+
- Linkedin Ads - Conversions
|
|
11
|
+
- Rakuten Conversions (BETA)
|
|
12
|
+
|
|
8
13
|
## 2025-08
|
|
9
14
|
- Adobe Experience Platform - Interact
|
|
10
15
|
- Amazon DSP CAPI
|
|
11
16
|
- Amperity
|
|
17
|
+
- Commission Junction
|
|
12
18
|
- Meta CAPI
|
|
13
19
|
- Google Analytics 4 (Collect)
|
|
14
20
|
- CM360 - Floodlights
|
|
15
21
|
- Kochava
|
|
16
|
-
- Linkedin Ads - Conversions (BETA)
|
|
17
22
|
- Treasure Data
|
|
18
23
|
- Zeotap
|
|
19
24
|
|
|
@@ -23,8 +28,6 @@ previously.
|
|
|
23
28
|
- Blueshift
|
|
24
29
|
- Button
|
|
25
30
|
- Clinch
|
|
26
|
-
- Commission Junction
|
|
27
|
-
- Criteo
|
|
28
31
|
- HubSpot (BETA)
|
|
29
32
|
- Magellan AI
|
|
30
33
|
- Merkle
|
|
@@ -33,7 +36,6 @@ previously.
|
|
|
33
36
|
- Nextdoor - CAPI
|
|
34
37
|
- Perion
|
|
35
38
|
- Podscribe
|
|
36
|
-
- Rakuten Conversions (BETA)
|
|
37
39
|
- Ringier Axel Springer Poland (BETA)
|
|
38
40
|
- Reddit Ads
|
|
39
41
|
- Ringier Axel Springer Poland
|
|
@@ -126,14 +128,17 @@ previously.
|
|
|
126
128
|
|
|
127
129
|
| Kit Name | Date | Latest Note |
|
|
128
130
|
|----------|------|-------------|
|
|
131
|
+
| Criteo | 2025-09 | Version: 2.1.0 Removed id node and added alternate_ids array in playbook.yaml |
|
|
132
|
+
| Linkedin Ads - Conversions | 2025-09 | Version: 1.0.0 Stable Release |
|
|
133
|
+
| Rakuten Conversions (BETA) | 2025-09 | Version: 0.2.0 Adding namelist field to order_canceled and order_completed events |
|
|
129
134
|
| Adobe Experience Platform - Interact | 2025-08 | Version: 1.0.0 Stable Release |
|
|
130
135
|
| Amazon DSP CAPI | 2025-08 | Version: 1.0.0 Stable Release |
|
|
131
136
|
| Amperity | 2025-08 | Version: 1.0.0 Stable Release |
|
|
137
|
+
| Commission Junction | 2025-08 | Version: 1.4.0 Removed sid and customerStatus mappings Changed actionTrackerId scope from eventSpecific to global |
|
|
132
138
|
| Meta CAPI | 2025-08 | Version: 1.7.0 Updated event_time key mapping |
|
|
133
139
|
| Google Analytics 4 (Collect) | 2025-08 | Version: 1.0.0 Stable Release |
|
|
134
140
|
| CM360 - Floodlights | 2025-08 | Version: 1.0.0 Stable Release |
|
|
135
141
|
| Kochava | 2025-08 | Version: 1.0.0 Stable Release |
|
|
136
|
-
| Linkedin Ads - Conversions (BETA) | 2025-08 | Version: 0.3.0 Replaced enrichment with Lua mapping, defaulted currency to 'USD'. |
|
|
137
142
|
| Treasure Data | 2025-08 | Version: 1.0.0 Stable Release |
|
|
138
143
|
| Zeotap | 2025-08 | Version: 1.0.0 Stable Release |
|
|
139
144
|
| ActionIQ | 2025-07 | Version: 1.3.0 Updated Lua timestamp fallback logic to use input.timestamp |
|
|
@@ -141,8 +146,6 @@ previously.
|
|
|
141
146
|
| Blueshift | 2025-07 | Version: 1.1.0 Replaced context.traits with traits. |
|
|
142
147
|
| Button | 2025-07 | Version: 1.1.0 Replaced context.traits with traits. |
|
|
143
148
|
| Clinch | 2025-07 | Version: 1.3.0 Replaced context.traits with traits. |
|
|
144
|
-
| Commission Junction | 2025-07 | Version: 1.3.0 Replaced originalTimestamp with timestamp |
|
|
145
|
-
| Criteo | 2025-07 | Endpoint updated to `https://sslwidget.criteo.com/s2s/v2/event` |
|
|
146
149
|
| HubSpot (BETA) | 2025-07 | Version: 0.4.0 Replaced context.traits with traits. |
|
|
147
150
|
| Magellan AI | 2025-07 | Version: 1.2.0 Replaced context.traits with traits. |
|
|
148
151
|
| Merkle | 2025-07 | Version: 1.3.0 Replaced context.traits with traits. |
|
|
@@ -151,7 +154,6 @@ previously.
|
|
|
151
154
|
| Nextdoor - CAPI | 2025-07 | Version: 1.3.0 Replaced context.traits with traits. |
|
|
152
155
|
| Perion | 2025-07 | Version: 1.0.0 Stable Release |
|
|
153
156
|
| Podscribe | 2025-07 | Version: 1.1.0 Replaced context.traits with traits. |
|
|
154
|
-
| Rakuten Conversions (BETA) | 2025-07 | Version: 0.1.0 Beta Version Rakuten Conversions initial release |
|
|
155
157
|
| Ringier Axel Springer Poland (BETA) | 2025-07 | Version: 0.2.0 Replaced context.traits with traits. |
|
|
156
158
|
| Reddit Ads | 2025-07 | Version: 1.5.0 Replaced context.traits with traits. |
|
|
157
159
|
| Ringier Axel Springer Poland | 2025-07 | Version: 1.1.0 Replaced context.traits with traits. |
|