@metarouter/ajs-starter-kit 1.0.159 → 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/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/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 +8 -2
- 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
|
+
"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
|
+
}
|
|
@@ -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
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
- Amazon DSP CAPI
|
|
6
6
|
- Axon (New)
|
|
7
7
|
- CM360 - Floodlights
|
|
8
|
+
- Kargo (New)
|
|
9
|
+
- Meta CAPI
|
|
8
10
|
- Optimizely
|
|
11
|
+
- The Trade Desk - Offline Conversions (New)
|
|
12
|
+
- adMarketplace
|
|
9
13
|
|
|
10
14
|
| Kit Name | Initial Release Date | Stable Release Date | Latest Release Date | Current Version | Latest Note |
|
|
11
15
|
|----------|----------------------|---------------------|---------------------|-----------------|-------------|
|
|
@@ -59,6 +63,7 @@
|
|
|
59
63
|
| Innervate | 2021-06-24 | 2024-11-14 | 2024-11-14 | Version: 1.0.0 | Updated friendly name Stable release |
|
|
60
64
|
| Iterable | 2024-09-25 | 2025-09-10 | 2025-09-10 | Version: 1.0.0 | Stable Release |
|
|
61
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 |
|
|
62
67
|
| Kochava | 2025-06-25 | 2025-08-20 | 2025-08-20 | Version: 1.0.0 | Stable Release |
|
|
63
68
|
| Kochava IdentityLink | 2025-06-25 | N/A | 2025-06-25 | Version: 0.1.0 | Beta Version Kochava IdentityLink initial release |
|
|
64
69
|
| Linkedin Ads - Conversions | 2025-07-16 | 2025-09-03 | 2025-09-03 | Version: 1.0.0 | Stable Release |
|
|
@@ -66,7 +71,7 @@
|
|
|
66
71
|
| MIQ (Xandr) | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
67
72
|
| Magellan AI | 2024-07-24 | 2024-08-07 | 2025-07-30 | Version: 1.2.0 | Replaced context.traits with traits. |
|
|
68
73
|
| Merkle | 2021-06-24 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced context.traits with traits. |
|
|
69
|
-
| 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. |
|
|
70
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 |
|
|
71
76
|
| Microsoft Ads CAPI | 2025-09-17 | 2025-11-05 | 2025-11-05 | Version: 1.0.0 | Stable Release |
|
|
72
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 |
|
|
@@ -96,6 +101,7 @@
|
|
|
96
101
|
| Snowflake | 2021-06-24 | N/A | 2025-10-15 | Version: 0.1.2 | Added friendly names to expressions |
|
|
97
102
|
| Teads | 2025-11-12 | 2026-01-07 | 2026-01-07 | Version: 1.0.0 | Stable Release |
|
|
98
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 |
|
|
99
105
|
| TheTradeDesk Conversion Events | 2022-11-29 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced originalTimestamp with timestamp |
|
|
100
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). |
|
|
101
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 |
|
|
@@ -108,4 +114,4 @@
|
|
|
108
114
|
| Yahoo Enhanced Attribution | 2023-03-07 | N/A | 2025-04-09 | Version: 0.4.0 | Deprecated |
|
|
109
115
|
| Yahoo Pixel API | 2023-03-07 | 2023-12-13 | 2025-04-09 | Version: 1.3.0 | Friendly name updated |
|
|
110
116
|
| Zeotap | 2024-02-21 | 2025-08-20 | 2025-08-20 | Version: 1.0.0 | Stable Release |
|
|
111
|
-
| 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'),
|