@metarouter/ajs-starter-kit 1.0.143 → 1.0.144
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/connection.etag.json +1 -0
- package/.dist/adobe-bdia/connection.json +42 -0
- package/.dist/adobe-bdia/kit.etag.json +1 -0
- package/.dist/adobe-bdia/metadata.json +25 -0
- package/.dist/adobe-bdia/playbook.etag.json +1 -0
- package/.dist/adobe-bdia/playbook.json +251 -0
- package/.dist/blob/connection.etag.json +1 -1
- package/.dist/blob/connection.json +2 -1
- package/.dist/blob/kit.etag.json +1 -1
- package/.dist/blob/metadata.json +4 -0
- package/.dist/blob/playbook.etag.json +1 -1
- package/.dist/blob/playbook.json +1 -1
- package/.dist/connection-schemas.json +32 -0
- package/.dist/criteo/kit.etag.json +1 -1
- package/.dist/microsoft-ads/kit.etag.json +1 -1
- package/.dist/nextdoor-capi/kit.etag.json +1 -1
- package/.dist/nextdoor-capi/metadata.json +4 -0
- package/.dist/nextdoor-capi/playbook.etag.json +1 -1
- package/.dist/nextdoor-capi/playbook.json +150 -10
- package/README.md +10 -14
- package/index.js +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"9dd363ed21e8441906c1363beafac9ec -"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"params": [
|
|
3
|
+
{
|
|
4
|
+
"name": "TOKEN_URL",
|
|
5
|
+
"exampleValue": "my-token-url",
|
|
6
|
+
"isOptional": true
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "CLIENT_ID",
|
|
10
|
+
"exampleValue": "my-client-id",
|
|
11
|
+
"isOptional": false
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "CLIENT_SECRET",
|
|
15
|
+
"exampleValue": "my-client-secret",
|
|
16
|
+
"isOptional": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "TOKEN_SCOPES",
|
|
20
|
+
"exampleValue": "my-auth-token-scopes",
|
|
21
|
+
"isOptional": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "EVENT_ENDPOINT",
|
|
25
|
+
"exampleValue": "my-event-endpoint",
|
|
26
|
+
"isOptional": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "COLUMN_NAMES",
|
|
30
|
+
"exampleValue": "my-csv-column-names",
|
|
31
|
+
"isOptional": true
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"adobe-bdia": {
|
|
35
|
+
"token_url": "https://ims-na1.adobelogin.com/ims/token/v3",
|
|
36
|
+
"client_id": "$$CLIENT_ID$$",
|
|
37
|
+
"client_secret": "$$CLIENT_SECRET$$",
|
|
38
|
+
"token_scopes": "openid,AdobeID,additional_info.projectedProductContext",
|
|
39
|
+
"event_endpoint": "https://analytics-collection.adobe.io/aa/collect/v1/events",
|
|
40
|
+
"column_names": "timestamp,reportSuiteID,visitorID,userAgent,pageName,queryString,events,products,purchaseID"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"9f4eff319559e9105d63791341a104b0 -"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"isDraft": false,
|
|
3
|
+
"isDeprecated": false,
|
|
4
|
+
"isBeta": true,
|
|
5
|
+
"friendlyName": "Adobe Analytics",
|
|
6
|
+
"description": "Adobe Analytics is a digital analytics platform that helps businesses collect, measure, and analyze data from websites, mobile apps, and other digital channels.",
|
|
7
|
+
"logo": "https://cdn.metarouter.io/adobe-analytics.png",
|
|
8
|
+
"color": "#140933",
|
|
9
|
+
"eventSource": {
|
|
10
|
+
"isAndroidApp": true,
|
|
11
|
+
"isIosApp": true,
|
|
12
|
+
"isWebApp": true
|
|
13
|
+
},
|
|
14
|
+
"inputSchema": "analytics_js",
|
|
15
|
+
"releaseNotes": [
|
|
16
|
+
{
|
|
17
|
+
"date": "2025-10-08T21:00:00.000Z",
|
|
18
|
+
"note": "Version: 0.1.0\nBeta Version\nAdobe Analytics initial release"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"date": "2025-10-08T21:00:00.000Z",
|
|
22
|
+
"note": "Version: 0.1.1\nConnection parameter fixes"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"73e7f0ad0ceb79513b4b5aa8fcf14987 -"
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.1.1",
|
|
3
|
+
"default": {
|
|
4
|
+
"filters": [
|
|
5
|
+
{
|
|
6
|
+
"byEventNames": {
|
|
7
|
+
"action": "allow",
|
|
8
|
+
"events": [
|
|
9
|
+
"page",
|
|
10
|
+
""
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"global": {
|
|
17
|
+
"enrichments": [
|
|
18
|
+
{
|
|
19
|
+
"staticString": "ADD_REPORT_SUITE_ID_HERE",
|
|
20
|
+
"outputKey": "reportSuiteID"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"mappings": [
|
|
24
|
+
{
|
|
25
|
+
"inputKey": "input",
|
|
26
|
+
"outputKey": "visitorID",
|
|
27
|
+
"transforms": [
|
|
28
|
+
{
|
|
29
|
+
"expression": {
|
|
30
|
+
"lang": "lua",
|
|
31
|
+
"body": "return REPLACE(input.anonymousId, \"-\", \"\")"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"inputKey": "timestamp",
|
|
38
|
+
"outputKey": "timestamp",
|
|
39
|
+
"transforms": [
|
|
40
|
+
{
|
|
41
|
+
"expression": {
|
|
42
|
+
"lang": "lua",
|
|
43
|
+
"body": "return SECONDS_SINCE_EPOCH_FROM_RFC3999(input.timestamp)"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"inputKey": "context.page.url",
|
|
50
|
+
"outputKey": "pageURL"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"inputKey": "context.page.title",
|
|
54
|
+
"outputKey": "pageName"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"inputKey": "context.userAgent",
|
|
58
|
+
"outputKey": "userAgent"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"inputKey": "context.ip",
|
|
62
|
+
"outputKey": "ipaddress"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"inputKey": "context.page.referrer",
|
|
66
|
+
"outputKey": "referrer"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"expressions": [
|
|
70
|
+
{
|
|
71
|
+
"lang": "lua",
|
|
72
|
+
"name": "Mobile Device Mappings",
|
|
73
|
+
"body": "if input.context.device then\nreturn {\n [\"hints.mobile\"] = true,\n [\"hints.model\"] = input.context.device.model,\n [\"hints.platform\"] = input.context.os.name,\n [\"hints.platformversion\"] = input.context.os.version\n}\nend\nreturn { [\"hints.mobile\"] = false }"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"eventSpecific": {
|
|
78
|
+
"order_completed": {
|
|
79
|
+
"enrichments": [
|
|
80
|
+
{
|
|
81
|
+
"staticString": "purchase",
|
|
82
|
+
"outputKey": "events"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"mappings": [
|
|
86
|
+
{
|
|
87
|
+
"inputKey": "input",
|
|
88
|
+
"outputKey": "products",
|
|
89
|
+
"transforms": [
|
|
90
|
+
{
|
|
91
|
+
"expression": {
|
|
92
|
+
"lang": "lua",
|
|
93
|
+
"body": "return JOIN(MAP(input.properties.products, function(p)\n local category = p.category or \"\"\n local name = p.name or \"\"\n local qty = p.quantity or 1\n -- Strip out ; , | to avoid breaking Adobe parsing\n category = category:gsub(\"[;,|]\", \"\")\n name = name:gsub(\"[;,|]\", \"\")\n return category .. \";\" .. name .. \";\" .. TO_STRING(qty) .. \";\" .. TOTAL_VALUE(p)\nend), \",\")"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"inputKey": "properties.currency",
|
|
100
|
+
"outputKey": "currencyCode",
|
|
101
|
+
"transforms": [
|
|
102
|
+
{
|
|
103
|
+
"modifyString": "uppercase"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"inputKey": "properties.order_id",
|
|
109
|
+
"outputKey": "purchaseID"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"product_viewed": {
|
|
114
|
+
"enrichments": [
|
|
115
|
+
{
|
|
116
|
+
"staticString": "prodView",
|
|
117
|
+
"outputKey": "events"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"mappings": [
|
|
121
|
+
{
|
|
122
|
+
"inputKey": "input",
|
|
123
|
+
"outputKey": "products",
|
|
124
|
+
"transforms": [
|
|
125
|
+
{
|
|
126
|
+
"expression": {
|
|
127
|
+
"lang": "lua",
|
|
128
|
+
"body": "local p = input.properties\nlocal category = p.category or \"\"\nlocal name = p.name or \"\"\nlocal qty = p.quantity or 1\nlocal price = p.price or 0\n-- Strip out ; , | to avoid breaking Adobe parsing\ncategory = category:gsub(\"[;,|]\", \"\")\nname = name:gsub(\"[;,|]\", \"\")\nreturn category .. \";\" .. name .. \";\" .. TO_STRING(qty) .. \";\" .. TOTAL_VALUE(p)"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"inputKey": "properties.currency",
|
|
135
|
+
"outputKey": "currencyCode",
|
|
136
|
+
"transforms": [
|
|
137
|
+
{
|
|
138
|
+
"modifyString": "uppercase"
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"product_added": {
|
|
145
|
+
"enrichments": [
|
|
146
|
+
{
|
|
147
|
+
"staticString": "scAdd",
|
|
148
|
+
"outputKey": "events"
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"mappings": [
|
|
152
|
+
{
|
|
153
|
+
"inputKey": "input",
|
|
154
|
+
"outputKey": "products",
|
|
155
|
+
"transforms": [
|
|
156
|
+
{
|
|
157
|
+
"expression": {
|
|
158
|
+
"lang": "lua",
|
|
159
|
+
"body": "local p = input.properties\nlocal category = p.category or \"\"\nlocal name = p.name or \"\"\nlocal qty = p.quantity or 1\n-- Strip out ; , | to avoid breaking Adobe parsing\ncategory = category:gsub(\"[;,|]\", \"\")\nname = name:gsub(\"[;,|]\", \"\")\nreturn category .. \";\" .. name .. \";\" .. TO_STRING(qty) .. \";\" .. TOTAL_VALUE(p)"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
"product_removed": {
|
|
167
|
+
"enrichments": [
|
|
168
|
+
{
|
|
169
|
+
"staticString": "scRemove",
|
|
170
|
+
"outputKey": "events"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"mappings": [
|
|
174
|
+
{
|
|
175
|
+
"inputKey": "input",
|
|
176
|
+
"outputKey": "products",
|
|
177
|
+
"transforms": [
|
|
178
|
+
{
|
|
179
|
+
"expression": {
|
|
180
|
+
"lang": "lua",
|
|
181
|
+
"body": "local p = input.properties\nlocal category = p.category or \"\"\nlocal name = p.name or \"\"\nlocal qty = p.quantity or 1\n-- Strip out ; , | to avoid breaking Adobe parsing\ncategory = category:gsub(\"[;,|]\", \"\")\nname = name:gsub(\"[;,|]\", \"\")\nreturn category .. \";\" .. name .. \";\" .. TO_STRING(qty) .. \";\" .. TOTAL_VALUE(p)"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
"cart_viewed": {
|
|
189
|
+
"enrichments": [
|
|
190
|
+
{
|
|
191
|
+
"staticString": "scView",
|
|
192
|
+
"outputKey": "events"
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"mappings": [
|
|
196
|
+
{
|
|
197
|
+
"inputKey": "input",
|
|
198
|
+
"outputKey": "products",
|
|
199
|
+
"transforms": [
|
|
200
|
+
{
|
|
201
|
+
"expression": {
|
|
202
|
+
"lang": "lua",
|
|
203
|
+
"body": "return JOIN(MAP(input.properties.products, function(p)\n local category = p.category or \"\"\n local name = p.name or \"\"\n local qty = p.quantity or 1\n -- Strip out ; , | to avoid breaking Adobe parsing\n category = category:gsub(\"[;,|]\", \"\")\n name = name:gsub(\"[;,|]\", \"\")\n return category .. \";\" .. name .. \";\" .. TO_STRING(qty) .. \";\" .. TOTAL_VALUE(p)\nend), \",\")"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"inputKey": "properties.currency",
|
|
210
|
+
"outputKey": "currencyCode",
|
|
211
|
+
"transforms": [
|
|
212
|
+
{
|
|
213
|
+
"modifyString": "uppercase"
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
"checkout_started": {
|
|
220
|
+
"enrichments": [
|
|
221
|
+
{
|
|
222
|
+
"staticString": "scCheckout",
|
|
223
|
+
"outputKey": "events"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"mappings": [
|
|
227
|
+
{
|
|
228
|
+
"inputKey": "input",
|
|
229
|
+
"outputKey": "products",
|
|
230
|
+
"transforms": [
|
|
231
|
+
{
|
|
232
|
+
"expression": {
|
|
233
|
+
"lang": "lua",
|
|
234
|
+
"body": "return JOIN(MAP(input.properties.products, function(p)\n local category = p.category or \"\"\n local name = p.name or \"\"\n local qty = p.quantity or 1\n -- Strip out ; , | to avoid breaking Adobe parsing\n category = category:gsub(\"[;,|]\", \"\")\n name = name:gsub(\"[;,|]\", \"\")\n return category .. \";\" .. name .. \";\" .. TO_STRING(qty) .. \";\" .. TOTAL_VALUE(p)\nend), \",\")"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"inputKey": "properties.currency",
|
|
241
|
+
"outputKey": "currencyCode",
|
|
242
|
+
"transforms": [
|
|
243
|
+
{
|
|
244
|
+
"modifyString": "uppercase"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"c0e6f8ff1cbf0fb398b5d534ab4a8c58 -"
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"account_name": "my-account-name",
|
|
5
5
|
"account_key": "my-account-key",
|
|
6
6
|
"compression": 1,
|
|
7
|
-
"sas_token": "sp=r&st=2024-04-30T15:26:15Z&se=2024-04-30T23:26:15Z&spr=https&sv=2022-11-02&sr=c&sig=au1XEXcJOWntSxxjnStY1fNACvZtQ%2FJhik0OpZUl%2FGA%3D"
|
|
7
|
+
"sas_token": "sp=r&st=2024-04-30T15:26:15Z&se=2024-04-30T23:26:15Z&spr=https&sv=2022-11-02&sr=c&sig=au1XEXcJOWntSxxjnStY1fNACvZtQ%2FJhik0OpZUl%2FGA%3D",
|
|
8
|
+
"use_managed_identity": false
|
|
8
9
|
}
|
|
9
10
|
}
|
package/.dist/blob/kit.etag.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"1168eda4e420207364e3671c4059083e -"
|
package/.dist/blob/metadata.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"2ccdce30c247dfe8fbbca0e1f129aae5 -"
|
package/.dist/blob/playbook.json
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "object",
|
|
3
3
|
"properties": {
|
|
4
|
+
"adobeBdia": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"clientId": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"clientSecret": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"columnNames": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"eventEndpoint": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"tokenScopes": {
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
"tokenUrl": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": [
|
|
27
|
+
"clientId",
|
|
28
|
+
"clientSecret",
|
|
29
|
+
"tokenScopes"
|
|
30
|
+
],
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
},
|
|
4
33
|
"amazonDataFirehose": {
|
|
5
34
|
"type": "object",
|
|
6
35
|
"properties": {
|
|
@@ -76,6 +105,9 @@
|
|
|
76
105
|
},
|
|
77
106
|
"sasToken": {
|
|
78
107
|
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"useManagedIdentity": {
|
|
110
|
+
"type": "boolean"
|
|
79
111
|
}
|
|
80
112
|
},
|
|
81
113
|
"required": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"ad96076b9deb0da2936adc0fb4dffee9 -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"56b42a0997a68ad583b266bbcea918da -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"ba93e3cf060b82b2db4031038aeac0f7 -"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"1dff88cd95ce3e89488ab5a6207fe997 -"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.4.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
|
-
"name": "
|
|
6
|
-
"exampleValue": "my-
|
|
5
|
+
"name": "DATA_SOURCE_ID",
|
|
6
|
+
"exampleValue": "my-data-source-id"
|
|
7
7
|
}
|
|
8
8
|
],
|
|
9
9
|
"default": {
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"outputKey": "partner_id"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
"staticString": "$$
|
|
29
|
-
"outputKey": "
|
|
28
|
+
"staticString": "$$DATA_SOURCE_ID$$",
|
|
29
|
+
"outputKey": "data_source_id"
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
32
|
"mappings": [
|
|
@@ -35,8 +35,16 @@
|
|
|
35
35
|
"outputKey": "event_id"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
"inputKey": "
|
|
39
|
-
"outputKey": "
|
|
38
|
+
"inputKey": "input",
|
|
39
|
+
"outputKey": "event_time_epoch",
|
|
40
|
+
"transforms": [
|
|
41
|
+
{
|
|
42
|
+
"expression": {
|
|
43
|
+
"lang": "lua",
|
|
44
|
+
"body": "return SECONDS_SINCE_EPOCH_FROM_RFC3999(input.timestamp)"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
40
48
|
},
|
|
41
49
|
{
|
|
42
50
|
"inputKey": "input",
|
|
@@ -44,12 +52,24 @@
|
|
|
44
52
|
"transforms": [
|
|
45
53
|
{
|
|
46
54
|
"expression": {
|
|
47
|
-
"
|
|
48
|
-
"
|
|
55
|
+
"lang": "lua",
|
|
56
|
+
"body": "if input.context.app.name or input.context.device.type or input.context.os.name then return 'app' end\nreturn 'website'"
|
|
49
57
|
}
|
|
50
58
|
}
|
|
51
59
|
]
|
|
52
60
|
},
|
|
61
|
+
{
|
|
62
|
+
"inputKey": "context.device.adTrackingEnabled",
|
|
63
|
+
"outputKey": "app.app_tracking_enabled"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"inputKey": "context.device.type",
|
|
67
|
+
"outputKey": "app.platform"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"inputKey": "context.app.version",
|
|
71
|
+
"outputKey": "app.app_version"
|
|
72
|
+
},
|
|
53
73
|
{
|
|
54
74
|
"inputKey": "context.page.url",
|
|
55
75
|
"outputKey": "action_source_url"
|
|
@@ -177,6 +197,18 @@
|
|
|
177
197
|
}
|
|
178
198
|
}
|
|
179
199
|
]
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"inputKey": "context.userAgent",
|
|
203
|
+
"outputKey": "customer.client_user_agent"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"inputKey": "context.ip",
|
|
207
|
+
"outputKey": "customer.client_ip_address"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"inputKey": "anonymousId",
|
|
211
|
+
"outputKey": "customer.external_id"
|
|
180
212
|
}
|
|
181
213
|
]
|
|
182
214
|
},
|
|
@@ -211,13 +243,121 @@
|
|
|
211
243
|
"transforms": [
|
|
212
244
|
{
|
|
213
245
|
"expression": {
|
|
214
|
-
"body": "local val =
|
|
246
|
+
"body": "local val = TOTAL_VALUE(input.properties.products)\nlocal currency = UPPER(input.properties.currency) or \"USD\"\nreturn currency .. val",
|
|
215
247
|
"lang": "lua"
|
|
216
248
|
}
|
|
217
249
|
}
|
|
218
250
|
]
|
|
219
251
|
}
|
|
220
252
|
]
|
|
253
|
+
},
|
|
254
|
+
"product_added": {
|
|
255
|
+
"enrichments": [
|
|
256
|
+
{
|
|
257
|
+
"staticString": "add_to_cart",
|
|
258
|
+
"outputKey": "event_name"
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"mappings": [
|
|
262
|
+
{
|
|
263
|
+
"inputKey": "properties.product_id",
|
|
264
|
+
"outputKey": "custom.product_context.id"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"inputKey": "properties.quantity",
|
|
268
|
+
"outputKey": "custom.product_context.quantity"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"inputKey": "properties.price",
|
|
272
|
+
"outputKey": "custom.product_context.item_price"
|
|
273
|
+
}
|
|
274
|
+
]
|
|
275
|
+
},
|
|
276
|
+
"checkout_started": {
|
|
277
|
+
"enrichments": [
|
|
278
|
+
{
|
|
279
|
+
"staticString": "initiate_checkout",
|
|
280
|
+
"outputKey": "event_name"
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"mappings": [
|
|
284
|
+
{
|
|
285
|
+
"inputKey": "properties.order_id",
|
|
286
|
+
"outputKey": "custom.order_id"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"inputKey": "input",
|
|
290
|
+
"outputKey": "custom.product_context",
|
|
291
|
+
"transforms": [
|
|
292
|
+
{
|
|
293
|
+
"expression": {
|
|
294
|
+
"lang": "lua",
|
|
295
|
+
"body": "return MAP(\n input.properties.products,\n function (p)\n return {\n id=p.product_id,\n quantity=p.quantity or 1,\n item_price=p.price\n }\n end\n)"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
]
|
|
301
|
+
},
|
|
302
|
+
"page": {
|
|
303
|
+
"enrichments": [
|
|
304
|
+
{
|
|
305
|
+
"staticString": "page_view",
|
|
306
|
+
"outputKey": "event_name"
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
"product_viewed": {
|
|
311
|
+
"enrichments": [
|
|
312
|
+
{
|
|
313
|
+
"staticString": "view_content",
|
|
314
|
+
"outputKey": "event_name"
|
|
315
|
+
}
|
|
316
|
+
],
|
|
317
|
+
"mappings": [
|
|
318
|
+
{
|
|
319
|
+
"inputKey": "properties.product_id",
|
|
320
|
+
"outputKey": "custom.product_context.id"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"inputKey": "properties.quantity",
|
|
324
|
+
"outputKey": "custom.product_context.quantity"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"inputKey": "properties.price",
|
|
328
|
+
"outputKey": "custom.product_context.item_price"
|
|
329
|
+
}
|
|
330
|
+
]
|
|
331
|
+
},
|
|
332
|
+
"product_added_to_wishlist": {
|
|
333
|
+
"enrichments": [
|
|
334
|
+
{
|
|
335
|
+
"staticString": "add_to_wishlist",
|
|
336
|
+
"outputKey": "event_name"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
"mappings": [
|
|
340
|
+
{
|
|
341
|
+
"inputKey": "properties.product_id",
|
|
342
|
+
"outputKey": "custom.product_context.id"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"inputKey": "properties.quantity",
|
|
346
|
+
"outputKey": "custom.product_context.quantity"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"inputKey": "properties.price",
|
|
350
|
+
"outputKey": "custom.product_context.item_price"
|
|
351
|
+
}
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
"products_searched": {
|
|
355
|
+
"enrichments": [
|
|
356
|
+
{
|
|
357
|
+
"staticString": "search",
|
|
358
|
+
"outputKey": "event_name"
|
|
359
|
+
}
|
|
360
|
+
]
|
|
221
361
|
}
|
|
222
362
|
}
|
|
223
363
|
}
|
package/README.md
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
# MetaRouter Starter Kits
|
|
2
2
|
|
|
3
|
-
### 2025-
|
|
4
|
-
-
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
- Linkedin Ads - Conversions
|
|
8
|
-
- Microsoft Ads CAPI (New)
|
|
9
|
-
- Rakuten Conversions
|
|
10
|
-
- Ringier Axel Springer Poland
|
|
11
|
-
- Ringier Axel Springer Poland
|
|
3
|
+
### 2025-10
|
|
4
|
+
- Adobe Analytics (New)
|
|
5
|
+
- Azure Blob
|
|
6
|
+
- Nextdoor - CAPI
|
|
12
7
|
|
|
13
8
|
| Kit Name | Initial Release Date | Stable Release Date | Latest Release Date | Current Version | Latest Note |
|
|
14
9
|
|----------|----------------------|---------------------|---------------------|-----------------|-------------|
|
|
15
10
|
| AWIN | 2024-11-14 | 2025-02-05 | 2025-02-05 | Version: 1.0.0 | Stable release |
|
|
16
11
|
| ActionIQ | 2021-06-24 | N/A | 2025-07-30 | Version: 1.3.0 | Updated Lua timestamp fallback logic to use input.timestamp |
|
|
17
12
|
| Acuity Ads | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|
|
18
|
-
| Adjust
|
|
13
|
+
| Adjust | 2025-09-10 | N/A | 2025-09-10 | Version: 0.1.0 | Beta Version Adjust initial release |
|
|
14
|
+
| Adobe Analytics (New) | 2025-10-08 | N/A | 2025-10-08 | Version: 0.1.1 | Connection parameter fixes |
|
|
19
15
|
| Adobe Experience Platform - Interact | 2023-03-21 | 2025-08-20 | 2025-08-20 | Version: 1.0.0 | Stable Release |
|
|
20
16
|
| Adobe ID | 2023-03-07 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
21
17
|
| Amazon DSP CAPI | 2025-05-21 | 2025-08-13 | 2025-08-13 | Version: 1.0.0 | Stable Release |
|
|
@@ -28,7 +24,7 @@
|
|
|
28
24
|
| Amplitude | 2021-06-24 | N/A | 2025-03-12 | Version: 1.2.0 | Added API_URL param to accommodate Amplitude's EU residency server |
|
|
29
25
|
| AppsFlyer Android | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
30
26
|
| AppsFlyer iOS | 2021-06-24 | 2023-12-13 | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
31
|
-
| Azure Blob | 2021-08-03 | 2023-12-13 |
|
|
27
|
+
| Azure Blob | 2021-08-03 | 2023-12-13 | 2025-10-08 | Version: 1.2.0 | Added Managed Identity authentication. |
|
|
32
28
|
| Bloomreach CDP | 2022-10-06 | N/A | 2023-12-13 | N/A | Marked as stable version: 1.0.0 |
|
|
33
29
|
| Blueshift | 2021-06-24 | 2025-01-22 | 2025-07-30 | Version: 1.1.0 | Replaced context.traits with traits. |
|
|
34
30
|
| Braze | 2021-06-24 | N/A | 2023-12-13 | N/A | Marked as stable version: 1.0.0 |
|
|
@@ -64,14 +60,14 @@
|
|
|
64
60
|
| Merkle | 2021-06-24 | N/A | 2025-07-30 | Version: 1.3.0 | Replaced context.traits with traits. |
|
|
65
61
|
| Meta CAPI | 2021-06-24 | N/A | 2025-08-06 | Version: 1.7.0 | Updated event_time key mapping |
|
|
66
62
|
| Microsoft Ads | 2025-01-22 | 2025-04-02 | 2025-07-30 | Version: 1.1.0 | Replaced context.traits with traits. |
|
|
67
|
-
| Microsoft Ads CAPI
|
|
63
|
+
| Microsoft Ads CAPI | 2025-09-17 | N/A | 2025-09-17 | Version: 0.1.0 | Beta Version Microsoft Ads CAPI initial release |
|
|
68
64
|
| Microsoft Advertising | 2021-06-24 | N/A | 2025-07-16 | Version: 0.3.0 | TABLE_SLICE custom function usage. |
|
|
69
65
|
| Mixpanel | 2022-03-23 | N/A | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
70
66
|
| Moloco Commerce Media | 2024-11-14 | 2025-02-12 | 2025-02-12 | Version: 1.0.0 | New Event: session_started -> Mapped to Moloco's LAND event (web) New Event: application_open -> Mapped to Moloco's LAND event (mobile) Updated Event: screen -> Mapped to Moloco's PAGE_VIEW or HOME event based on input.name and/or input.properties.name (mobile) Updated Event: order_completed -> Added mapping for Moloco's shipping_charge field using MetaRouter's properties.shipping (web & mobile) Stable release |
|
|
71
67
|
| Movable Ink | 2021-06-24 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
72
68
|
| Movable Ink - Customer Data | 2024-02-07 | 2024-04-24 | 2025-07-16 | Version: 1.3.0 | TABLE_SLICE custom function usage. |
|
|
73
69
|
| Nextdoor | 2023-03-07 | 2024-08-07 | 2024-08-07 | Version: 1.0.0 | Stable release |
|
|
74
|
-
| Nextdoor - CAPI | 2024-06-05 | 2024-07-17 | 2025-
|
|
70
|
+
| Nextdoor - CAPI | 2024-06-05 | 2024-07-17 | 2025-10-08 | Version: 1.4.0 | Extended Nextdoor CAPI events. |
|
|
75
71
|
| Perion | 2025-05-21 | 2025-07-16 | 2025-07-16 | Version: 1.0.0 | Stable Release |
|
|
76
72
|
| Pinterest Ads | 2021-06-24 | N/A | 2024-10-23 | Version: 1.1.0 | Added header `Accept-Encoding: application/json` |
|
|
77
73
|
| Pinterest CAPI | 2023-03-07 | N/A | 2024-10-23 | Version: 1.2.0 | Added header `Accept-Encoding: application/json` |
|
|
@@ -80,8 +76,8 @@
|
|
|
80
76
|
| RTB House | 2024-11-20 | N/A | 2025-07-30 | Version: 0.3.1 | Replaced context.traits with traits. |
|
|
81
77
|
| Rakuten Conversions | 2025-07-30 | 2025-09-24 | 2025-09-24 | Version: 1.0.0 | Stable Release |
|
|
82
78
|
| Reddit Ads | 2023-09-12 | N/A | 2025-07-30 | Version: 1.5.0 | Replaced context.traits with traits. |
|
|
83
|
-
| Ringier Axel Springer Poland | 2025-03-05 | 2025-04-09 | 2025-09-24 | Version: 1.3.0 | Reverted changes: Stringified products fields in multiple events |
|
|
84
79
|
| Ringier Axel Springer Poland | 2025-06-25 | N/A | 2025-09-24 | Version: 0.3.0 | Stringified products fields in multiple events |
|
|
80
|
+
| Ringier Axel Springer Poland | 2025-03-05 | 2025-04-09 | 2025-09-24 | Version: 1.3.0 | Reverted changes: Stringified products fields in multiple events |
|
|
85
81
|
| Roku | 2023-04-27 | N/A | 2025-07-30 | Version: 1.2.0 | Replaced context.traits with traits. |
|
|
86
82
|
| Roomvo | 2021-08-10 | N/A | 2024-10-23 | Version: 0.2.0 | Added header `Accept-Encoding: application/json` |
|
|
87
83
|
| Salesforce CDP | 2022-05-31 | N/A | 2025-07-30 | Version: 1.2.0 | Replaced originalTimestamp with timestamp |
|
package/index.js
CHANGED
|
@@ -2,6 +2,12 @@ const connectionSchemas = require('./.dist/connection-schemas.json')
|
|
|
2
2
|
|
|
3
3
|
// SDK Integrations
|
|
4
4
|
|
|
5
|
+
exports['adobe-bdia'] = {
|
|
6
|
+
connectionTemplate: connectionSchemas.properties.adobeBdia,
|
|
7
|
+
playbook: require('./.dist/adobe-bdia/playbook.json'),
|
|
8
|
+
metadata: require('./.dist/adobe-bdia/metadata.json')
|
|
9
|
+
}
|
|
10
|
+
|
|
5
11
|
exports['amazon-data-firehose'] = {
|
|
6
12
|
connectionTemplate: connectionSchemas.properties.amazonDataFirehose,
|
|
7
13
|
playbook: require('./.dist/amazon-data-firehose/playbook.json'),
|
|
@@ -563,6 +569,10 @@ exports['zeotap'] = {
|
|
|
563
569
|
|
|
564
570
|
exports.etags = {
|
|
565
571
|
// SDK Integrations
|
|
572
|
+
'adobe-bdia': {
|
|
573
|
+
playbook: require('./.dist/adobe-bdia/playbook.etag.json'),
|
|
574
|
+
kit: require('./.dist/adobe-bdia/kit.etag.json')
|
|
575
|
+
},
|
|
566
576
|
'amazon-data-firehose': {
|
|
567
577
|
playbook: require('./.dist/amazon-data-firehose/playbook.etag.json'),
|
|
568
578
|
kit: require('./.dist/amazon-data-firehose/kit.etag.json')
|