@metarouter/ajs-starter-kit 1.0.158 → 1.0.160
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/ad-marketplace/connection.etag.json +1 -1
- package/.dist/ad-marketplace/connection.json +6 -1
- package/.dist/ad-marketplace/kit.etag.json +1 -1
- package/.dist/ad-marketplace/metadata.json +4 -0
- package/.dist/ad-marketplace/playbook.etag.json +1 -1
- package/.dist/ad-marketplace/playbook.json +1 -1
- package/.dist/amazon-dsp-events/kit.etag.json +1 -1
- package/.dist/amazon-dsp-events/metadata.json +5 -1
- package/.dist/amazon-dsp-events/playbook.etag.json +1 -1
- package/.dist/amazon-dsp-events/playbook.json +1 -1
- package/.dist/connection-schemas.json +0 -1
- package/.dist/facebook-pixel/connection.etag.json +1 -1
- package/.dist/facebook-pixel/connection.json +1 -1
- package/.dist/facebook-pixel/kit.etag.json +1 -1
- package/.dist/facebook-pixel/metadata.json +4 -0
- package/.dist/facebook-pixel/playbook.etag.json +1 -1
- package/.dist/facebook-pixel/playbook.json +1 -1
- package/.dist/kargo/connection.etag.json +1 -0
- package/.dist/kargo/connection.json +28 -0
- package/.dist/kargo/kit.etag.json +1 -0
- package/.dist/kargo/metadata.json +21 -0
- package/.dist/kargo/playbook.etag.json +1 -0
- package/.dist/kargo/playbook.json +257 -0
- package/.dist/optimizely/kit.etag.json +1 -1
- package/.dist/optimizely/metadata.json +5 -1
- package/.dist/optimizely/playbook.etag.json +1 -1
- package/.dist/optimizely/playbook.json +1 -1
- package/.dist/ttd-offline-conversions/connection.etag.json +1 -0
- package/.dist/ttd-offline-conversions/connection.json +40 -0
- package/.dist/ttd-offline-conversions/kit.etag.json +1 -0
- package/.dist/ttd-offline-conversions/metadata.json +25 -0
- package/.dist/ttd-offline-conversions/playbook.etag.json +1 -0
- package/.dist/ttd-offline-conversions/playbook.json +122 -0
- package/README.md +11 -4
- package/index.js +22 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"5f38ace235302b56c28fcc569a6dde8d -"
|
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
"name": "ACCESS_TOKEN",
|
|
5
5
|
"defaultValue": "b1c6d505d9e84fc3a1dc3b296832546c",
|
|
6
6
|
"exampleValue": "my-access-token"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "API_ENDPOINT_URL",
|
|
10
|
+
"exampleValue": "my-api-endpoint",
|
|
11
|
+
"defaultValue": "https://conversion-data.admarketplace.com/v1/event"
|
|
7
12
|
}
|
|
8
13
|
],
|
|
9
14
|
"default": {
|
|
10
|
-
"endpoint": "
|
|
15
|
+
"endpoint": "$$API_ENDPOINT_URL$$?",
|
|
11
16
|
"method": "POST",
|
|
12
17
|
"headers": [
|
|
13
18
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"38b83a2a384b40e3dbcc6d03c27b2221 -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"f5c1eb1f60bb775ccae865fbe06076ea -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"e9dcb43ae59088d15044fdedffd95f2d -"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
3
|
"isDeprecated": false,
|
|
4
|
-
"isBeta":
|
|
4
|
+
"isBeta": false,
|
|
5
5
|
"friendlyName": "Amazon DSP - Events",
|
|
6
6
|
"description": "Amazon DSP (Demand-Side Platform) is a programmatic advertising solution that allows advertisers to purchase video, audio, and display ad placements both on Amazon-owned properties and across a network of third-party sites and apps",
|
|
7
7
|
"logo": "https://cdn.metarouter.io/amazon-dsp-capi.png",
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
{
|
|
21
21
|
"date": "2026-01-28T21:00:00.000Z",
|
|
22
22
|
"note": "Version: 0.2.0\nAmazon DSP - Events added match_id"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"date": "2026-02-18T21:00:00.000Z",
|
|
26
|
+
"note": "Version: 1.0.0\nStable Release"
|
|
23
27
|
}
|
|
24
28
|
]
|
|
25
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"52424acbedb8d3e1e0d2230e54e5d67d -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"69975b853aa3a22fd502ec912bd5a16d -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"83c1f92cbcec738f7cf3689f8f410603 -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"0fbcbefbb400f10c3c9bcfffd1300b46 -"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"18b5308797a69d77af0a9db962884f17 -"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"params": [
|
|
3
|
+
{
|
|
4
|
+
"name": "PARTNER_ID",
|
|
5
|
+
"exampleValue": "my-partner-id",
|
|
6
|
+
"description": "The partner ID of the account you are sending the data to. Please reach out to your Kargo representative if you do not have this value."
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"default": {
|
|
10
|
+
"method": "POST",
|
|
11
|
+
"headers": [
|
|
12
|
+
{
|
|
13
|
+
"key": "Content-Type",
|
|
14
|
+
"value": "application/json"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"key": "Accept-Encoding",
|
|
18
|
+
"value": "application/json"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"endpoint": "https://kds-pixel2.kargo.com/api/v1/event",
|
|
22
|
+
"batchSize": 1,
|
|
23
|
+
"transform": {
|
|
24
|
+
"body": "request.body = batch[1]\nrequest.body.partner_id = \"$$PARTNER_ID$$\"\nreturn request",
|
|
25
|
+
"lang": "lua"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"d1f25b939568b01fe00c42fd77ac67a4 -"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"isDraft": false,
|
|
3
|
+
"isDeprecated": false,
|
|
4
|
+
"isBeta": true,
|
|
5
|
+
"friendlyName": "Kargo",
|
|
6
|
+
"description": "Kargo is a digital advertising technology company that helps brands deliver high-impact, creative ad experiences across mobile, web, connected TV, and social platforms.",
|
|
7
|
+
"logo": "https://cdn.metarouter.io/kargo.png",
|
|
8
|
+
"color": "#0073e6",
|
|
9
|
+
"eventSource": {
|
|
10
|
+
"isAndroidApp": true,
|
|
11
|
+
"isIosApp": true,
|
|
12
|
+
"isWebApp": true
|
|
13
|
+
},
|
|
14
|
+
"inputSchema": "analytics_js",
|
|
15
|
+
"releaseNotes": [
|
|
16
|
+
{
|
|
17
|
+
"date": "2026-02-25T00:00:00.000Z",
|
|
18
|
+
"note": "Version: 0.1.0\nBeta Version\nKargo Event API initial release"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"556a909b7801ac71a72fad924fe3d185 -"
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.1.0",
|
|
3
|
+
"default": {
|
|
4
|
+
"filters": [
|
|
5
|
+
{
|
|
6
|
+
"byEventNames": {
|
|
7
|
+
"action": "allow",
|
|
8
|
+
"events": [
|
|
9
|
+
""
|
|
10
|
+
]
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"global": {
|
|
16
|
+
"filters": [
|
|
17
|
+
{
|
|
18
|
+
"byConditions": {
|
|
19
|
+
"action": "allow",
|
|
20
|
+
"when": {
|
|
21
|
+
"inputPathExists": {
|
|
22
|
+
"inputPath": "context.providers.kargo.puid"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"mappings": [
|
|
29
|
+
{
|
|
30
|
+
"inputKey": "context.page.referrer",
|
|
31
|
+
"outputKey": "client_referer"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"inputKey": "context.page.url",
|
|
35
|
+
"outputKey": "page_url"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"eventSpecific": {
|
|
40
|
+
"identify": {
|
|
41
|
+
"enrichments": [
|
|
42
|
+
{
|
|
43
|
+
"staticString": "identify",
|
|
44
|
+
"outputKey": "event"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"mappings": [
|
|
48
|
+
{
|
|
49
|
+
"inputKey": "traits",
|
|
50
|
+
"outputKey": "params"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"inputKey": "context.providers.kargo.puid",
|
|
54
|
+
"outputKey": "params.lex_id"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"page": {
|
|
59
|
+
"enrichments": [
|
|
60
|
+
{
|
|
61
|
+
"staticString": "page",
|
|
62
|
+
"outputKey": "event"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"mappings": [
|
|
66
|
+
{
|
|
67
|
+
"inputKey": "properties",
|
|
68
|
+
"outputKey": "params"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"inputKey": "context.providers.kargo.puid",
|
|
72
|
+
"outputKey": "params.lex_id"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"products_searched": {
|
|
77
|
+
"enrichments": [
|
|
78
|
+
{
|
|
79
|
+
"staticString": "products_searched",
|
|
80
|
+
"outputKey": "event"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"mappings": [
|
|
84
|
+
{
|
|
85
|
+
"inputKey": "properties",
|
|
86
|
+
"outputKey": "params"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"inputKey": "context.providers.kargo.puid",
|
|
90
|
+
"outputKey": "params.lex_id"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"product_list_viewed": {
|
|
95
|
+
"enrichments": [
|
|
96
|
+
{
|
|
97
|
+
"staticString": "product_list_viewed",
|
|
98
|
+
"outputKey": "event"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"mappings": [
|
|
102
|
+
{
|
|
103
|
+
"inputKey": "properties",
|
|
104
|
+
"outputKey": "params"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"inputKey": "context.providers.kargo.puid",
|
|
108
|
+
"outputKey": "params.lex_id"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
"product_clicked": {
|
|
113
|
+
"enrichments": [
|
|
114
|
+
{
|
|
115
|
+
"staticString": "product_clicked",
|
|
116
|
+
"outputKey": "event"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"mappings": [
|
|
120
|
+
{
|
|
121
|
+
"inputKey": "properties",
|
|
122
|
+
"outputKey": "params"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"inputKey": "context.providers.kargo.puid",
|
|
126
|
+
"outputKey": "params.lex_id"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"product_viewed": {
|
|
131
|
+
"enrichments": [
|
|
132
|
+
{
|
|
133
|
+
"staticString": "product_viewed",
|
|
134
|
+
"outputKey": "event"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"mappings": [
|
|
138
|
+
{
|
|
139
|
+
"inputKey": "properties",
|
|
140
|
+
"outputKey": "params"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"inputKey": "context.providers.kargo.puid",
|
|
144
|
+
"outputKey": "params.lex_id"
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
"product_added": {
|
|
149
|
+
"enrichments": [
|
|
150
|
+
{
|
|
151
|
+
"staticString": "product_added",
|
|
152
|
+
"outputKey": "event"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"mappings": [
|
|
156
|
+
{
|
|
157
|
+
"inputKey": "properties",
|
|
158
|
+
"outputKey": "params"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"inputKey": "context.providers.kargo.puid",
|
|
162
|
+
"outputKey": "params.lex_id"
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
"product_removed": {
|
|
167
|
+
"enrichments": [
|
|
168
|
+
{
|
|
169
|
+
"staticString": "product_removed",
|
|
170
|
+
"outputKey": "event"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"mappings": [
|
|
174
|
+
{
|
|
175
|
+
"inputKey": "properties",
|
|
176
|
+
"outputKey": "params"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"inputKey": "context.providers.kargo.puid",
|
|
180
|
+
"outputKey": "params.lex_id"
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
"cart_viewed": {
|
|
185
|
+
"enrichments": [
|
|
186
|
+
{
|
|
187
|
+
"staticString": "cart_viewed",
|
|
188
|
+
"outputKey": "event"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"mappings": [
|
|
192
|
+
{
|
|
193
|
+
"inputKey": "properties",
|
|
194
|
+
"outputKey": "params"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"inputKey": "context.providers.kargo.puid",
|
|
198
|
+
"outputKey": "params.lex_id"
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
"checkout_started": {
|
|
203
|
+
"enrichments": [
|
|
204
|
+
{
|
|
205
|
+
"staticString": "checkout_started",
|
|
206
|
+
"outputKey": "event"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"mappings": [
|
|
210
|
+
{
|
|
211
|
+
"inputKey": "properties",
|
|
212
|
+
"outputKey": "params"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"inputKey": "context.providers.kargo.puid",
|
|
216
|
+
"outputKey": "params.lex_id"
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
"payment_info_entered": {
|
|
221
|
+
"enrichments": [
|
|
222
|
+
{
|
|
223
|
+
"staticString": "payment_info_entered",
|
|
224
|
+
"outputKey": "event"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"mappings": [
|
|
228
|
+
{
|
|
229
|
+
"inputKey": "properties",
|
|
230
|
+
"outputKey": "params"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"inputKey": "context.providers.kargo.puid",
|
|
234
|
+
"outputKey": "params.lex_id"
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
"order_completed": {
|
|
239
|
+
"enrichments": [
|
|
240
|
+
{
|
|
241
|
+
"staticString": "order_completed",
|
|
242
|
+
"outputKey": "event"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"mappings": [
|
|
246
|
+
{
|
|
247
|
+
"inputKey": "properties",
|
|
248
|
+
"outputKey": "params"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"inputKey": "context.providers.kargo.puid",
|
|
252
|
+
"outputKey": "params.lex_id"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"347a291400dfd815ac18c24e32c69682 -"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
3
|
"isDeprecated": false,
|
|
4
|
-
"isBeta":
|
|
4
|
+
"isBeta": false,
|
|
5
5
|
"friendlyName": "Optimizely",
|
|
6
6
|
"description": "Optimizely is a powerful experimentation platform designed to help businesses optimize digital experiences through A/B testing, feature flags, and personalization.",
|
|
7
7
|
"logo": "https://cdn.metarouter.io/optimizely.png",
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
{
|
|
21
21
|
"date": "2026-02-04T00:00:00.000Z",
|
|
22
22
|
"note": "Version: 0.1.1\nOrder attributes alphabetically"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"date": "2026-02-18T00:00:00.000Z",
|
|
26
|
+
"note": "Version: 1.0.0\nStable Release"
|
|
23
27
|
}
|
|
24
28
|
]
|
|
25
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"8bc5a231e3f432b44b6b8d9d112b2d0e -"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"6d55cbb39090fbf2dd55012459601b1d -"
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"params": [
|
|
3
|
+
{
|
|
4
|
+
"name": "SECRET_KEY",
|
|
5
|
+
"exampleValue": "my-secret-key"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"name": "DATA_PROVIDER_ID",
|
|
9
|
+
"exampleValue": "my-data-provider-id"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"default": {
|
|
13
|
+
"endpoint": "https://offlineattrib.adsrvr.org/providerapi/offlineconversion",
|
|
14
|
+
"headers": [
|
|
15
|
+
{
|
|
16
|
+
"key": "Accept",
|
|
17
|
+
"value": "application/json"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"key": "Accept-Encoding",
|
|
21
|
+
"value": "application/json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"key": "Content-Type",
|
|
25
|
+
"value": "application/json"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"method": "POST",
|
|
29
|
+
"batchSize": 500,
|
|
30
|
+
"transform": {
|
|
31
|
+
"lang": "lua",
|
|
32
|
+
"body": "request.body = { Items = batch, DataProviderId = \"$$DATA_PROVIDER_ID$$\" }\nreturn request"
|
|
33
|
+
},
|
|
34
|
+
"providerAuth": {
|
|
35
|
+
"tradedesk": {
|
|
36
|
+
"secretKey": "$$SECRET_KEY$$"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"62762c931c1c4d91b17727f32990854c -"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"isDraft": false,
|
|
3
|
+
"isDeprecated": false,
|
|
4
|
+
"isBeta": true,
|
|
5
|
+
"friendlyName": "The Trade Desk - Offline Conversions",
|
|
6
|
+
"description": "The Trade Desk Offline Conversion Provider API allows partners to send server-side conversion data to The Trade Desk that occurs outside of standard web tracking, such as offline purchases or backend-attributed events.",
|
|
7
|
+
"logo": "https://cdn.metarouter.io/ttd-offline-conversions.png",
|
|
8
|
+
"color": "#0099FA",
|
|
9
|
+
"eventSource": {
|
|
10
|
+
"isAndroidApp": true,
|
|
11
|
+
"isIosApp": true,
|
|
12
|
+
"isWebApp": true
|
|
13
|
+
},
|
|
14
|
+
"inputSchema": "analytics_js",
|
|
15
|
+
"releaseNotes": [
|
|
16
|
+
{
|
|
17
|
+
"date": "2026-02-25T21:00:00.000Z",
|
|
18
|
+
"note": "Version: 0.1.0\nBeta Version\nThe Trade Desk - Offline Conversions initial release"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"date": "2026-02-25T21:00:00.000Z",
|
|
22
|
+
"note": "Version: 0.1.1\nImpressionId field update"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"466b1e346498706841fb43077cb1a7c2 -"
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.1.1",
|
|
3
|
+
"params": [
|
|
4
|
+
{
|
|
5
|
+
"name": "MERCHANT_ID",
|
|
6
|
+
"exampleValue": "my-merchant-id"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "TRACKING_TAG_ID",
|
|
10
|
+
"exampleValue": "my-tracking-tag-id"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"global": {
|
|
14
|
+
"enrichments": [
|
|
15
|
+
{
|
|
16
|
+
"staticString": "$$MERCHANT_ID$$",
|
|
17
|
+
"outputKey": "MerchantId"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"staticString": "$$TRACKING_TAG_ID$$",
|
|
21
|
+
"outputKey": "TrackingTagId"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"uuid": "v4",
|
|
25
|
+
"outputKey": "ImpressionId"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"mappings": [
|
|
29
|
+
{
|
|
30
|
+
"inputKey": "context.providers.theTradeDesk.ttd_id",
|
|
31
|
+
"outputKey": "TDID"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"inputKey": "input",
|
|
35
|
+
"outputKey": "UID2",
|
|
36
|
+
"transforms": [
|
|
37
|
+
{
|
|
38
|
+
"expression": {
|
|
39
|
+
"lang": "lua",
|
|
40
|
+
"body": "local uid2 = input.context.providers.unifiedId2.encrypted.data.body\n\nif uid2.email_hash[1].u then\n return uid2.email_hash[1].u\nelseif uid2.phone_hash[1].u then\n return uid2.phone_hash[1].u\nend"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"inputKey": "context.device.advertisingId",
|
|
47
|
+
"outputKey": "DAID"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"inputKey": "timestamp",
|
|
51
|
+
"outputKey": "TimestampUtc"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"inputKey": "traits.address.city",
|
|
55
|
+
"outputKey": "City"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"expressions": [
|
|
59
|
+
{
|
|
60
|
+
"lang": "lua",
|
|
61
|
+
"name": "Country & Region",
|
|
62
|
+
"body": "local country = input.traits.address.country\nlocal region = input.traits.address.state\nif country then\n if region then\n return { Country = country, Region = region}\n end\nend"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"default": {
|
|
67
|
+
"filters": [
|
|
68
|
+
{
|
|
69
|
+
"byEventNames": {
|
|
70
|
+
"action": "allow",
|
|
71
|
+
"events": [
|
|
72
|
+
""
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"eventSpecific": {
|
|
79
|
+
"order_completed": {
|
|
80
|
+
"enrichments": [
|
|
81
|
+
{
|
|
82
|
+
"staticString": "purchase",
|
|
83
|
+
"outputKey": "EventName"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"mappings": [
|
|
87
|
+
{
|
|
88
|
+
"inputKey": "properties.order_id",
|
|
89
|
+
"outputKey": "OrderId"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"inputKey": "properties.currency",
|
|
93
|
+
"outputKey": "ValueCurrency"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"inputKey": "input",
|
|
97
|
+
"outputKey": "Value",
|
|
98
|
+
"transforms": [
|
|
99
|
+
{
|
|
100
|
+
"expression": {
|
|
101
|
+
"lang": "lua",
|
|
102
|
+
"body": "return TOTAL_VALUE(input.properties.products)"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"inputKey": "input",
|
|
109
|
+
"outputKey": "LineItems",
|
|
110
|
+
"transforms": [
|
|
111
|
+
{
|
|
112
|
+
"expression": {
|
|
113
|
+
"lang": "lua",
|
|
114
|
+
"body": "return MAP(input.properties.products, function(p)\n return {\n item_code = p.product_id or p.sku,\n name = p.name,\n qty = p.quantity or 1,\n price = p.price\n }\nend)"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
package/README.md
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
# MetaRouter Starter Kits
|
|
2
2
|
|
|
3
3
|
### 2026-02
|
|
4
|
+
- Amazon DSP - Events
|
|
4
5
|
- Amazon DSP CAPI
|
|
5
6
|
- Axon (New)
|
|
6
7
|
- CM360 - Floodlights
|
|
8
|
+
- Kargo (New)
|
|
9
|
+
- Meta CAPI
|
|
7
10
|
- Optimizely
|
|
11
|
+
- The Trade Desk - Offline Conversions (New)
|
|
12
|
+
- adMarketplace
|
|
8
13
|
|
|
9
14
|
| Kit Name | Initial Release Date | Stable Release Date | Latest Release Date | Current Version | Latest Note |
|
|
10
15
|
|----------|----------------------|---------------------|---------------------|-----------------|-------------|
|
|
@@ -15,7 +20,7 @@
|
|
|
15
20
|
| Adobe Analytics | 2025-10-08 | 2026-01-07 | 2026-01-07 | Version: 1.0.0 | Stable Release |
|
|
16
21
|
| Adobe Experience Platform | 2023-03-21 | 2025-08-20 | 2025-11-19 | Version: 1.1.0 | Added ECID support Updated identityMap mappings |
|
|
17
22
|
| Adobe ID | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
18
|
-
| Amazon DSP - Events | 2025-12-03 |
|
|
23
|
+
| Amazon DSP - Events | 2025-12-03 | 2026-02-18 | 2026-02-18 | Version: 1.0.0 | Stable Release |
|
|
19
24
|
| Amazon DSP CAPI | 2025-05-21 | 2025-08-13 | 2026-02-04 | Version: 1.1.0 | Deprecated |
|
|
20
25
|
| Amazon Data Firehose | 2025-02-05 | 2025-04-02 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
21
26
|
| Amazon Kinesis | 2025-05-21 | N/A | 2025-10-15 | Version: 0.1.1 | Added friendly names to expressions |
|
|
@@ -58,6 +63,7 @@
|
|
|
58
63
|
| Innervate | 2021-06-24 | 2024-11-14 | 2024-11-14 | Version: 1.0.0 | Updated friendly name Stable release |
|
|
59
64
|
| Iterable | 2024-09-25 | 2025-09-10 | 2025-09-10 | Version: 1.0.0 | Stable Release |
|
|
60
65
|
| Kafka | 2021-06-24 | 2023-12-13 | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
|
|
66
|
+
| Kargo (New) | 2026-02-25 | N/A | 2026-02-25 | Version: 0.1.0 | Beta Version Kargo Event API initial release |
|
|
61
67
|
| Kochava | 2025-06-25 | 2025-08-20 | 2025-08-20 | Version: 1.0.0 | Stable Release |
|
|
62
68
|
| Kochava IdentityLink | 2025-06-25 | N/A | 2025-06-25 | Version: 0.1.0 | Beta Version Kochava IdentityLink initial release |
|
|
63
69
|
| Linkedin Ads - Conversions | 2025-07-16 | 2025-09-03 | 2025-09-03 | Version: 1.0.0 | Stable Release |
|
|
@@ -65,7 +71,7 @@
|
|
|
65
71
|
| MIQ (Xandr) | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
66
72
|
| Magellan AI | 2024-07-24 | 2024-08-07 | 2025-07-30 | Version: 1.2.0 | Replaced context.traits with traits. |
|
|
67
73
|
| Merkle | 2021-06-24 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced context.traits with traits. |
|
|
68
|
-
| Meta CAPI | 2021-06-24 | N/A | 2026-
|
|
74
|
+
| Meta CAPI | 2021-06-24 | N/A | 2026-02-25 | Version: 1.9.0 | Upgraded v22 to v24. |
|
|
69
75
|
| Microsoft Ads | 2025-01-22 | 2025-04-02 | 2025-12-17 | Version: 1.2.0 | Deprecating this in favor of the released Microsoft Ads CAPI kit |
|
|
70
76
|
| Microsoft Ads CAPI | 2025-09-17 | 2025-11-05 | 2025-11-05 | Version: 1.0.0 | Stable Release |
|
|
71
77
|
| Microsoft Advertising | 2021-06-24 | N/A | 2025-12-17 | Version: 0.4.0 | Deprecating this in favor of the released Microsoft Ads CAPI kit |
|
|
@@ -75,7 +81,7 @@
|
|
|
75
81
|
| Movable Ink - Customer Data | 2024-02-07 | 2024-04-24 | 2025-07-16 | Version: 1.3.0 | TABLE_SLICE custom function usage. |
|
|
76
82
|
| Nextdoor | 2023-03-07 | 2024-08-07 | 2024-08-07 | Version: 1.0.0 | Stable release |
|
|
77
83
|
| Nextdoor - CAPI | 2024-06-05 | 2024-07-17 | 2025-10-08 | Version: 1.4.0 | Extended Nextdoor CAPI events. |
|
|
78
|
-
| Optimizely | 2026-01-28 |
|
|
84
|
+
| Optimizely | 2026-01-28 | 2026-02-18 | 2026-02-18 | Version: 1.0.0 | Stable Release |
|
|
79
85
|
| Perion | 2025-05-21 | 2025-07-16 | 2025-10-15 | Version: 1.0.1 | Added friendly names to expressions |
|
|
80
86
|
| Pinterest Ads | 2021-06-24 | N/A | 2025-10-15 | Version: 1.1.1 | Added friendly names to expressions |
|
|
81
87
|
| Pinterest CAPI | 2023-03-07 | N/A | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
@@ -95,6 +101,7 @@
|
|
|
95
101
|
| Snowflake | 2021-06-24 | N/A | 2025-10-15 | Version: 0.1.2 | Added friendly names to expressions |
|
|
96
102
|
| Teads | 2025-11-12 | 2026-01-07 | 2026-01-07 | Version: 1.0.0 | Stable Release |
|
|
97
103
|
| The Trade Desk - Conversions | 2025-06-04 | 2025-07-30 | 2025-12-10 | Version: 1.2.0 | Updating identifier mappings |
|
|
104
|
+
| The Trade Desk - Offline Conversions (New) | 2026-02-25 | N/A | 2026-02-25 | Version: 0.1.1 | ImpressionId field update |
|
|
98
105
|
| TheTradeDesk Conversion Events | 2022-11-29 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced originalTimestamp with timestamp |
|
|
99
106
|
| TheTradeDesk Firstparty Advertiser Data | 2022-11-29 | N/A | 2026-01-21 | Version: 1.3.0 | Added DATA_PROVIDER_ID connection param support required for externally sent 1d data (ex: metarouter sending customer 1p data). |
|
|
100
107
|
| TikTok | 2023-03-07 | 2023-12-13 | 2025-12-17 | Version: 2.5.0 | Added additional standard events Added num_items, content_ids and limited_data_use fields |
|
|
@@ -107,4 +114,4 @@
|
|
|
107
114
|
| Yahoo Enhanced Attribution | 2023-03-07 | N/A | 2025-04-09 | Version: 0.4.0 | Deprecated |
|
|
108
115
|
| Yahoo Pixel API | 2023-03-07 | 2023-12-13 | 2025-04-09 | Version: 1.3.0 | Friendly name updated |
|
|
109
116
|
| Zeotap | 2024-02-21 | 2025-08-20 | 2025-08-20 | Version: 1.0.0 | Stable Release |
|
|
110
|
-
| adMarketplace | 2026-01-21 | N/A | 2026-
|
|
117
|
+
| adMarketplace | 2026-01-21 | N/A | 2026-02-25 | Version: 0.2.0 | Made endpoint a parameter. |
|
package/index.js
CHANGED
|
@@ -357,6 +357,12 @@ exports['kochava-identitylink'] = {
|
|
|
357
357
|
metadata: require('./.dist/kochava-identitylink/metadata.json')
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
+
exports.kargo = {
|
|
361
|
+
endpointSchema: require('./.dist/kargo/connection.json'),
|
|
362
|
+
playbook: require('./.dist/kargo/playbook.json'),
|
|
363
|
+
metadata: require('./.dist/kargo/metadata.json')
|
|
364
|
+
}
|
|
365
|
+
|
|
360
366
|
exports['linkedin-conversions'] = {
|
|
361
367
|
endpointSchema: require('./.dist/linkedin-conversions/connection.json'),
|
|
362
368
|
playbook: require('./.dist/linkedin-conversions/playbook.json'),
|
|
@@ -567,6 +573,12 @@ exports['ttd-conversions'] = {
|
|
|
567
573
|
metadata: require('./.dist/ttd-conversions/metadata.json')
|
|
568
574
|
}
|
|
569
575
|
|
|
576
|
+
exports['ttd-offline-conversions'] = {
|
|
577
|
+
endpointSchema: require('./.dist/ttd-offline-conversions/connection.json'),
|
|
578
|
+
playbook: require('./.dist/ttd-offline-conversions/playbook.json'),
|
|
579
|
+
metadata: require('./.dist/ttd-offline-conversions/metadata.json')
|
|
580
|
+
}
|
|
581
|
+
|
|
570
582
|
exports['twitter-conversions'] = {
|
|
571
583
|
endpointSchema: require('./.dist/twitter-conversions/connection.json'),
|
|
572
584
|
playbook: require('./.dist/twitter-conversions/playbook.json'),
|
|
@@ -905,6 +917,11 @@ exports.etags = {
|
|
|
905
917
|
playbook: require('./.dist/kochava-identitylink/playbook.etag.json'),
|
|
906
918
|
kit: require('./.dist/kochava-identitylink/kit.etag.json')
|
|
907
919
|
},
|
|
920
|
+
kargo: {
|
|
921
|
+
endpointSchema: require('./.dist/kargo/connection.etag.json'),
|
|
922
|
+
playbook: require('./.dist/kargo/playbook.etag.json'),
|
|
923
|
+
kit: require('./.dist/kargo/kit.etag.json')
|
|
924
|
+
},
|
|
908
925
|
'linkedin-conversions': {
|
|
909
926
|
endpointSchema: require('./.dist/linkedin-conversions/connection.etag.json'),
|
|
910
927
|
playbook: require('./.dist/linkedin-conversions/playbook.etag.json'),
|
|
@@ -1080,6 +1097,11 @@ exports.etags = {
|
|
|
1080
1097
|
playbook: require('./.dist/ttd-conversions/playbook.etag.json'),
|
|
1081
1098
|
kit: require('./.dist/ttd-conversions/kit.etag.json')
|
|
1082
1099
|
},
|
|
1100
|
+
'ttd-offline-conversions': {
|
|
1101
|
+
endpointSchema: require('./.dist/ttd-offline-conversions/connection.etag.json'),
|
|
1102
|
+
playbook: require('./.dist/ttd-offline-conversions/playbook.etag.json'),
|
|
1103
|
+
kit: require('./.dist/ttd-offline-conversions/kit.etag.json')
|
|
1104
|
+
},
|
|
1083
1105
|
'twitter-conversions': {
|
|
1084
1106
|
endpointSchema: require('./.dist/twitter-conversions/connection.etag.json'),
|
|
1085
1107
|
playbook: require('./.dist/twitter-conversions/playbook.etag.json'),
|