@metarouter/ajs-starter-kit 1.0.102 → 1.0.104
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/actioniq/connection.etag.json +1 -1
- package/.dist/actioniq/connection.json +19 -0
- package/.dist/actioniq/kit.etag.json +1 -1
- package/.dist/actioniq/metadata.json +4 -0
- package/.dist/actioniq/playbook.etag.json +1 -1
- package/.dist/actioniq/playbook.json +29 -1
- package/.dist/adobe-analytics/connection.etag.json +1 -1
- package/.dist/adobe-analytics/connection.json +29 -7
- package/.dist/adobe-analytics/kit.etag.json +1 -1
- package/.dist/adobe-analytics/metadata.json +5 -1
- package/.dist/adobe-analytics/playbook.etag.json +1 -1
- package/.dist/adobe-analytics/playbook.json +1 -1
- package/.dist/apps-flyer-android/kit.etag.json +1 -1
- package/.dist/apps-flyer-android/metadata.json +4 -0
- package/.dist/apps-flyer-android/playbook.etag.json +1 -1
- package/.dist/apps-flyer-android/playbook.json +11 -7
- package/.dist/apps-flyer-ios/kit.etag.json +1 -1
- package/.dist/apps-flyer-ios/metadata.json +4 -0
- package/.dist/apps-flyer-ios/playbook.etag.json +1 -1
- package/.dist/apps-flyer-ios/playbook.json +11 -7
- package/.dist/clinch/kit.etag.json +1 -1
- package/.dist/clinch/metadata.json +4 -0
- package/.dist/clinch/playbook.etag.json +1 -1
- package/.dist/clinch/playbook.json +2 -2
- 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 +2 -2
- package/.dist/connection-schemas.json +8 -0
- package/.dist/google-ads/kit.etag.json +1 -1
- package/.dist/google-ads/metadata.json +4 -0
- package/.dist/google-ads/playbook.etag.json +1 -1
- package/.dist/google-ads/playbook.json +2 -2
- package/.dist/google-bigquery-streaming/kit.etag.json +1 -1
- package/.dist/google-bigquery-streaming/metadata.json +4 -0
- package/.dist/google-cm360/kit.etag.json +1 -1
- package/.dist/google-cm360/metadata.json +4 -0
- package/.dist/google-cm360/playbook.etag.json +1 -1
- package/.dist/google-cm360/playbook.json +2 -2
- package/.dist/hubspot-event/kit.etag.json +1 -1
- package/.dist/hubspot-event/metadata.json +4 -0
- package/.dist/hubspot-event/playbook.etag.json +1 -1
- package/.dist/hubspot-event/playbook.json +11 -3
- package/.dist/impact-radius/kit.etag.json +1 -1
- package/.dist/impact-radius/metadata.json +4 -0
- package/.dist/impact-radius/playbook.etag.json +1 -1
- package/.dist/impact-radius/playbook.json +13 -7
- package/.dist/kochava/kit.etag.json +1 -1
- package/.dist/kochava/metadata.json +1 -1
- package/.dist/kochava/playbook.etag.json +1 -1
- package/.dist/kochava/playbook.json +2 -2
- package/.dist/mixpanel/kit.etag.json +1 -1
- package/.dist/mixpanel/metadata.json +4 -0
- package/.dist/mixpanel/playbook.etag.json +1 -1
- package/.dist/mixpanel/playbook.json +2 -2
- 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 +2 -2
- package/.dist/pinterest-capi/kit.etag.json +1 -1
- package/.dist/pinterest-capi/metadata.json +4 -0
- package/.dist/pinterest-capi/playbook.etag.json +1 -1
- package/.dist/pinterest-capi/playbook.json +2 -2
- package/.dist/reddit-ads/kit.etag.json +1 -1
- package/.dist/reddit-ads/metadata.json +4 -0
- package/.dist/reddit-ads/playbook.etag.json +1 -1
- package/.dist/reddit-ads/playbook.json +2 -2
- package/.dist/snapchat-capi/kit.etag.json +1 -1
- package/.dist/snapchat-capi/metadata.json +4 -0
- package/.dist/snapchat-capi/playbook.etag.json +1 -1
- package/.dist/snapchat-capi/playbook.json +2 -2
- package/.dist/tiktok/connection.etag.json +1 -1
- package/.dist/tiktok/connection.json +13 -8
- package/.dist/tiktok/kit.etag.json +1 -1
- package/.dist/tiktok/metadata.json +8 -0
- package/.dist/tiktok/playbook.etag.json +1 -1
- package/.dist/tiktok/playbook.json +74 -26
- package/.dist/twitter-conversions/kit.etag.json +1 -1
- package/.dist/twitter-conversions/metadata.json +5 -1
- package/.dist/twitter-conversions/playbook.etag.json +1 -1
- package/.dist/twitter-conversions/playbook.json +1 -1
- package/.dist/videoamp/kit.etag.json +1 -1
- package/.dist/videoamp/metadata.json +4 -0
- package/.dist/videoamp/playbook.etag.json +1 -1
- package/.dist/videoamp/playbook.json +9 -1
- package/README.md +37 -39
- package/package.json +4 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.1.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "TOKEN",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
{
|
|
53
53
|
"expression": {
|
|
54
54
|
"lang": "lua",
|
|
55
|
-
"body": "local date = input.originalTimestamp or input.sentAt\nreturn MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(date, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))"
|
|
55
|
+
"body": "local date = input.timestamp or input.originalTimestamp or input.sentAt\nreturn MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(date, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"37df6597304bbc57493abd3e59416374"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"ac35442c92d39863e81713ec168878b7"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"a3641dbf6d40f753c3ada3f6a1e40093"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"0934d4f17543c7dac89a8b4312a6b3a8"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.1.0",
|
|
3
3
|
"default": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
{
|
|
44
44
|
"expression": {
|
|
45
45
|
"lang": "lua",
|
|
46
|
-
"body": "local date = input.originalTimestamp or input.sentAt\nreturn SECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(date, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))"
|
|
46
|
+
"body": "local date = input.timestamp or input.originalTimestamp or input.sentAt\nreturn SECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(date, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))"
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"9ca99dda711a779be1005584a2044731"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"df94d8f685f193a60807104ebff10a4c"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.2.0",
|
|
3
3
|
"default": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"transforms": [
|
|
29
29
|
{
|
|
30
30
|
"expression": {
|
|
31
|
-
"body": "return input.originalTimestamp or input.sentAt",
|
|
31
|
+
"body": "return input.timestamp or input.originalTimestamp or input.sentAt",
|
|
32
32
|
"lang": "lua"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"44b139e73f8fae74ded30555bb95baf8"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"771f2f7b08c1abdd37a4c525ddcf7d03"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.1.0",
|
|
3
3
|
"default": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"transforms": [
|
|
25
25
|
{
|
|
26
26
|
"expression": {
|
|
27
|
-
"body": "return MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(input.receivedAt, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))",
|
|
27
|
+
"body": "return MILLISECONDS_SINCE_EPOCH_FROM_RFC3999(TO_DATE_TIME(input.timestamp or input.receivedAt, { inputFormat = \"2006-01-02T15:04:05Z07:00\" }))",
|
|
28
28
|
"lang": "lua"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"691180f4676f18931063354206d11fb3"
|
|
@@ -2,19 +2,24 @@
|
|
|
2
2
|
"params": [
|
|
3
3
|
{
|
|
4
4
|
"name": "API_VERSION",
|
|
5
|
-
"defaultValue": "v1.
|
|
5
|
+
"defaultValue": "v1.3"
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
|
-
"name": "
|
|
9
|
-
"exampleValue": "
|
|
8
|
+
"name": "ACCESS_TOKEN",
|
|
9
|
+
"exampleValue": "my-access-token"
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
|
-
"name": "
|
|
13
|
-
"exampleValue": "
|
|
12
|
+
"name": "EVENT_SOURCE",
|
|
13
|
+
"exampleValue": "my-event-source",
|
|
14
|
+
"defaultValue": "web"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "EVENT_SOURCE_ID",
|
|
18
|
+
"exampleValue": "my-event-source-id"
|
|
14
19
|
}
|
|
15
20
|
],
|
|
16
21
|
"default": {
|
|
17
|
-
"endpoint": "https://business-api.tiktok.com/open_api/$$API_VERSION$$/
|
|
22
|
+
"endpoint": "https://business-api.tiktok.com/open_api/$$API_VERSION$$/event/track/",
|
|
18
23
|
"method": "POST",
|
|
19
24
|
"headers": [
|
|
20
25
|
{
|
|
@@ -23,13 +28,13 @@
|
|
|
23
28
|
},
|
|
24
29
|
{
|
|
25
30
|
"key": "Access-Token",
|
|
26
|
-
"value": "$$
|
|
31
|
+
"value": "$$ACCESS_TOKEN$$"
|
|
27
32
|
}
|
|
28
33
|
],
|
|
29
34
|
"batchSize": 500,
|
|
30
35
|
"transform": {
|
|
31
36
|
"lang": "lua",
|
|
32
|
-
"body": "request.body = {
|
|
37
|
+
"body": "request.body = { data = batch, event_source = '$$EVENT_SOURCE$$', event_source_id = '$$EVENT_SOURCE_ID$$' }\nreturn request"
|
|
33
38
|
}
|
|
34
39
|
}
|
|
35
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"8411404a4e5a45857dfe82f2ecb2213c"
|
|
@@ -19,6 +19,14 @@
|
|
|
19
19
|
{
|
|
20
20
|
"date": "2023-12-13T00:00:00.000Z",
|
|
21
21
|
"note": "Stable release\nMarked as stable version: 1.0.0"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"date": "2024-08-21T00:00:00.000Z",
|
|
25
|
+
"note": "Version: 2.0.0\nAPI Upgrade\nBeta release"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"date": "2024-09-04T00:00:00.000Z",
|
|
29
|
+
"note": "Version: 2.1.0\nStable release"
|
|
22
30
|
}
|
|
23
31
|
]
|
|
24
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"5cbfc72d1a7631457431ac116a7574c4"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0
|
|
2
|
+
"version": "2.1.0",
|
|
3
3
|
"default": {
|
|
4
4
|
"filters": [
|
|
5
5
|
{
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"global": {
|
|
16
16
|
"enrichments": [
|
|
17
17
|
{
|
|
18
|
-
"outputKey": "
|
|
19
|
-
"staticString": "
|
|
18
|
+
"outputKey": "partner_name",
|
|
19
|
+
"staticString": "Mr"
|
|
20
20
|
}
|
|
21
21
|
],
|
|
22
22
|
"mappings": [
|
|
@@ -33,16 +33,20 @@
|
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
|
-
"inputKey": "
|
|
37
|
-
"outputKey": "
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
"inputKey": "input",
|
|
37
|
+
"outputKey": "event_time",
|
|
38
|
+
"transforms": [
|
|
39
|
+
{
|
|
40
|
+
"expression": {
|
|
41
|
+
"body": "return MILLISECONDS_SINCE_EPOCH(input.timestamp or input.receivedAt)",
|
|
42
|
+
"lang": "lua"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
42
46
|
},
|
|
43
47
|
{
|
|
44
48
|
"inputKey": "input",
|
|
45
|
-
"outputKey": "
|
|
49
|
+
"outputKey": "page.url",
|
|
46
50
|
"transforms": [
|
|
47
51
|
{
|
|
48
52
|
"expression": {
|
|
@@ -54,15 +58,19 @@
|
|
|
54
58
|
},
|
|
55
59
|
{
|
|
56
60
|
"inputKey": "context.page.referrer",
|
|
57
|
-
"outputKey": "
|
|
61
|
+
"outputKey": "page.referrer"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"inputKey": "context.providers.tiktok.ttclid",
|
|
65
|
+
"outputKey": "user.ttclid"
|
|
58
66
|
},
|
|
59
67
|
{
|
|
60
68
|
"inputKey": "context.providers.tiktok.ttp",
|
|
61
|
-
"outputKey": "
|
|
69
|
+
"outputKey": "user.ttp"
|
|
62
70
|
},
|
|
63
71
|
{
|
|
64
72
|
"inputKey": "anonymousId",
|
|
65
|
-
"outputKey": "
|
|
73
|
+
"outputKey": "user.external_id",
|
|
66
74
|
"transforms": [
|
|
67
75
|
{
|
|
68
76
|
"toHash": "sha256"
|
|
@@ -70,30 +78,36 @@
|
|
|
70
78
|
]
|
|
71
79
|
},
|
|
72
80
|
{
|
|
73
|
-
"inputKey": "
|
|
74
|
-
"outputKey": "
|
|
81
|
+
"inputKey": "input",
|
|
82
|
+
"outputKey": "user.email",
|
|
75
83
|
"transforms": [
|
|
76
84
|
{
|
|
77
|
-
"
|
|
85
|
+
"expression": {
|
|
86
|
+
"body": "local email = input.traits.email or input.context.traits.email\nif (email) then return TO_SHA256_HASH(LOWER(TRIM(email))) end",
|
|
87
|
+
"lang": "lua"
|
|
88
|
+
}
|
|
78
89
|
}
|
|
79
90
|
]
|
|
80
91
|
},
|
|
81
92
|
{
|
|
82
|
-
"inputKey": "
|
|
83
|
-
"outputKey": "
|
|
93
|
+
"inputKey": "input",
|
|
94
|
+
"outputKey": "user.phone",
|
|
84
95
|
"transforms": [
|
|
85
96
|
{
|
|
86
|
-
"
|
|
97
|
+
"expression": {
|
|
98
|
+
"body": "local phone = input.traits.phone or input.context.traits.phone\nif (phone) then return TO_SHA256_HASH(LOWER(TRIM(phone))) end",
|
|
99
|
+
"lang": "lua"
|
|
100
|
+
}
|
|
87
101
|
}
|
|
88
102
|
]
|
|
89
103
|
},
|
|
90
104
|
{
|
|
91
105
|
"inputKey": "context.ip",
|
|
92
|
-
"outputKey": "
|
|
106
|
+
"outputKey": "user.ip"
|
|
93
107
|
},
|
|
94
108
|
{
|
|
95
109
|
"inputKey": "context.userAgent",
|
|
96
|
-
"outputKey": "
|
|
110
|
+
"outputKey": "user.user_agent"
|
|
97
111
|
}
|
|
98
112
|
]
|
|
99
113
|
},
|
|
@@ -133,6 +147,10 @@
|
|
|
133
147
|
{
|
|
134
148
|
"outputKey": "properties.description",
|
|
135
149
|
"staticString": "product list viewed"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"outputKey": "properties.content_type",
|
|
153
|
+
"staticString": "product"
|
|
136
154
|
}
|
|
137
155
|
],
|
|
138
156
|
"mappings": [
|
|
@@ -164,7 +182,7 @@
|
|
|
164
182
|
"transforms": [
|
|
165
183
|
{
|
|
166
184
|
"expression": {
|
|
167
|
-
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id,\n content_name=p.name,\n content_category=p.category,\n price=p.price,\n quantity=p.quantity
|
|
185
|
+
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id,\n content_name=p.name,\n content_category=p.category,\n brand=p.brand,\n price=p.price,\n quantity=p.quantity\n }\n end\n)\nreturn contents",
|
|
168
186
|
"lang": "lua"
|
|
169
187
|
}
|
|
170
188
|
}
|
|
@@ -181,9 +199,23 @@
|
|
|
181
199
|
{
|
|
182
200
|
"outputKey": "properties.description",
|
|
183
201
|
"staticString": "product viewed"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"outputKey": "properties.content_type",
|
|
205
|
+
"staticString": "product"
|
|
184
206
|
}
|
|
185
207
|
],
|
|
186
208
|
"mappings": [
|
|
209
|
+
{
|
|
210
|
+
"inputKey": "properties.currency",
|
|
211
|
+
"outputKey": "properties.currency",
|
|
212
|
+
"defaultString": "USD",
|
|
213
|
+
"transforms": [
|
|
214
|
+
{
|
|
215
|
+
"modifyString": "uppercase"
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
},
|
|
187
219
|
{
|
|
188
220
|
"inputKey": "properties.price",
|
|
189
221
|
"outputKey": "properties.value"
|
|
@@ -194,7 +226,7 @@
|
|
|
194
226
|
"transforms": [
|
|
195
227
|
{
|
|
196
228
|
"expression": {
|
|
197
|
-
"body": "return {{\n content_id=input.properties.product_id,\n content_name=input.properties.name,\n content_category=input.properties.category,\n price=input.properties.price,\n quantity=input.properties.quantity
|
|
229
|
+
"body": "return {{\n content_id=input.properties.product_id,\n content_name=input.properties.name,\n content_category=input.properties.category,\n brand=input.properties.brand,\n price=input.properties.price,\n quantity=input.properties.quantity\n}}",
|
|
198
230
|
"lang": "lua"
|
|
199
231
|
}
|
|
200
232
|
}
|
|
@@ -207,6 +239,10 @@
|
|
|
207
239
|
{
|
|
208
240
|
"outputKey": "event",
|
|
209
241
|
"staticString": "AddToCart"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"outputKey": "properties.content_type",
|
|
245
|
+
"staticString": "product"
|
|
210
246
|
}
|
|
211
247
|
],
|
|
212
248
|
"mappings": [
|
|
@@ -238,7 +274,7 @@
|
|
|
238
274
|
"transforms": [
|
|
239
275
|
{
|
|
240
276
|
"expression": {
|
|
241
|
-
"body": "return {{\n content_id=input.properties.product_id,\n content_name=input.properties.name,\n content_category=input.properties.category,\n price=input.properties.price,\n quantity=input.properties.quantity
|
|
277
|
+
"body": "return {{\n content_id=input.properties.product_id,\n content_name=input.properties.name,\n content_category=input.properties.category,\n brand=input.properties.brand,\n price=input.properties.price,\n quantity=input.properties.quantity\n}}",
|
|
242
278
|
"lang": "lua"
|
|
243
279
|
}
|
|
244
280
|
}
|
|
@@ -251,6 +287,10 @@
|
|
|
251
287
|
{
|
|
252
288
|
"outputKey": "event",
|
|
253
289
|
"staticString": "InitiateCheckout"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"outputKey": "properties.content_type",
|
|
293
|
+
"staticString": "product"
|
|
254
294
|
}
|
|
255
295
|
],
|
|
256
296
|
"mappings": [
|
|
@@ -282,7 +322,7 @@
|
|
|
282
322
|
"transforms": [
|
|
283
323
|
{
|
|
284
324
|
"expression": {
|
|
285
|
-
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id,\n content_name=p.name,\n content_category=p.category,\n price=p.price,\n quantity=p.quantity
|
|
325
|
+
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id,\n content_name=p.name,\n content_category=p.category,\n brand=p.brand,\n price=p.price,\n quantity=p.quantity\n }\n end\n)\nreturn contents",
|
|
286
326
|
"lang": "lua"
|
|
287
327
|
}
|
|
288
328
|
}
|
|
@@ -295,9 +335,17 @@
|
|
|
295
335
|
{
|
|
296
336
|
"outputKey": "event",
|
|
297
337
|
"staticString": "CompletePayment"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"outputKey": "properties.content_type",
|
|
341
|
+
"staticString": "product"
|
|
298
342
|
}
|
|
299
343
|
],
|
|
300
344
|
"mappings": [
|
|
345
|
+
{
|
|
346
|
+
"inputKey": "properties.order_id",
|
|
347
|
+
"outputKey": "properties.order_id"
|
|
348
|
+
},
|
|
301
349
|
{
|
|
302
350
|
"inputKey": "properties.currency",
|
|
303
351
|
"outputKey": "properties.currency",
|
|
@@ -326,7 +374,7 @@
|
|
|
326
374
|
"transforms": [
|
|
327
375
|
{
|
|
328
376
|
"expression": {
|
|
329
|
-
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id,\n content_name=p.name,\n content_category=p.category,\n price=p.price,\n quantity=p.quantity
|
|
377
|
+
"body": "local contents=MAP(input.properties.products,\n function (p)\n return {\n content_id=p.product_id,\n content_name=p.name,\n content_category=p.category,\n brand=p.brand,\n price=p.price,\n quantity=p.quantity\n }\n end\n)\nreturn contents",
|
|
330
378
|
"lang": "lua"
|
|
331
379
|
}
|
|
332
380
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"c9179081a0b9b700ac4e1fcde3fe40ab"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"isDraft":
|
|
2
|
+
"isDraft": true,
|
|
3
3
|
"isBeta": false,
|
|
4
4
|
"friendlyName": "Twitter Ads",
|
|
5
5
|
"description": "Twitter Ads and MetaRouter's connection allows marketers to track ad campaign conversions that come from Twitter and occur on a client's website.",
|
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
{
|
|
24
24
|
"date": "2023-12-13T00:00:00.000Z",
|
|
25
25
|
"note": "Marked as stable version: 1.0.0"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"date": "2024-09-04T00:00:00.000Z",
|
|
29
|
+
"note": "Version 1.1.0\nMoved to Draft mode"
|
|
26
30
|
}
|
|
27
31
|
]
|
|
28
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"4cadfa5b786fa3ab0b059e94652f0a69"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"06eeff09868ef497e4a8fb37da49ebc2"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"2c15cb90d61274b828e7cb2c56ec924b"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.2.0",
|
|
3
3
|
"params": [
|
|
4
4
|
{
|
|
5
5
|
"name": "VPXID",
|
|
@@ -61,6 +61,14 @@
|
|
|
61
61
|
{
|
|
62
62
|
"inputKey": "properties.us_privacy",
|
|
63
63
|
"outputKey": "us_privacy"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"inputKey": "properties.gpp",
|
|
67
|
+
"outputKey": "gpp"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"inputKey": "properties.gpp_sid",
|
|
71
|
+
"outputKey": "gpp_sid"
|
|
64
72
|
}
|
|
65
73
|
],
|
|
66
74
|
"enrichments": [
|