@metarouter/ajs-starter-kit 1.0.106 → 1.0.108
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/kit.etag.json +1 -1
- package/.dist/actioniq/metadata.json +1 -0
- package/.dist/acuity-ads/kit.etag.json +1 -1
- package/.dist/acuity-ads/metadata.json +1 -0
- package/.dist/adobe-analytics/kit.etag.json +1 -1
- package/.dist/adobe-analytics/metadata.json +5 -0
- package/.dist/adobe-analytics/playbook.etag.json +1 -1
- package/.dist/adobe-analytics/playbook.json +14 -2
- package/.dist/adobe-id/kit.etag.json +1 -1
- package/.dist/adobe-id/metadata.json +1 -0
- package/.dist/amnet/kit.etag.json +1 -1
- package/.dist/amnet/metadata.json +1 -0
- package/.dist/amobee/kit.etag.json +1 -1
- package/.dist/amobee/metadata.json +1 -0
- package/.dist/amperity/kit.etag.json +1 -1
- package/.dist/amperity/metadata.json +1 -0
- package/.dist/amplitude/kit.etag.json +1 -1
- package/.dist/amplitude/metadata.json +1 -0
- package/.dist/apps-flyer-android/kit.etag.json +1 -1
- package/.dist/apps-flyer-android/metadata.json +1 -0
- package/.dist/apps-flyer-ios/kit.etag.json +1 -1
- package/.dist/apps-flyer-ios/metadata.json +1 -0
- package/.dist/bing-ads/kit.etag.json +1 -1
- package/.dist/bing-ads/metadata.json +1 -0
- package/.dist/blob/kit.etag.json +1 -1
- package/.dist/blob/metadata.json +1 -0
- package/.dist/bloomreach/kit.etag.json +1 -1
- package/.dist/bloomreach/metadata.json +1 -0
- package/.dist/blueshift/connection.etag.json +1 -1
- package/.dist/blueshift/connection.json +8 -3
- package/.dist/blueshift/kit.etag.json +1 -1
- package/.dist/blueshift/metadata.json +5 -0
- package/.dist/blueshift/playbook.etag.json +1 -1
- package/.dist/blueshift/playbook.json +497 -1
- package/.dist/braze/kit.etag.json +1 -1
- package/.dist/braze/metadata.json +1 -0
- package/.dist/build-your-own/kit.etag.json +1 -1
- package/.dist/build-your-own/metadata.json +1 -0
- package/.dist/clinch/kit.etag.json +1 -1
- package/.dist/clinch/metadata.json +1 -0
- package/.dist/commission-junction/kit.etag.json +1 -1
- package/.dist/commission-junction/metadata.json +1 -0
- package/.dist/convert/kit.etag.json +1 -1
- package/.dist/convert/metadata.json +1 -0
- package/.dist/criteo/kit.etag.json +1 -1
- package/.dist/criteo/metadata.json +1 -0
- package/.dist/customer-io/kit.etag.json +1 -1
- package/.dist/customer-io/metadata.json +1 -0
- package/.dist/facebook-pixel/kit.etag.json +1 -1
- package/.dist/facebook-pixel/metadata.json +1 -0
- package/.dist/gcs/kit.etag.json +1 -1
- package/.dist/gcs/metadata.json +1 -0
- package/.dist/google-ad-words/kit.etag.json +1 -1
- package/.dist/google-ad-words/metadata.json +1 -0
- package/.dist/google-ads/kit.etag.json +1 -1
- package/.dist/google-ads/metadata.json +1 -0
- package/.dist/google-ads-audience/kit.etag.json +1 -1
- package/.dist/google-ads-audience/metadata.json +1 -0
- package/.dist/google-analytics/kit.etag.json +1 -1
- package/.dist/google-analytics/metadata.json +5 -0
- package/.dist/google-analytics-4/kit.etag.json +1 -1
- package/.dist/google-analytics-4/metadata.json +1 -0
- package/.dist/google-analytics-4-collect/kit.etag.json +1 -1
- package/.dist/google-analytics-4-collect/metadata.json +1 -0
- package/.dist/google-bigquery-streaming/kit.etag.json +1 -1
- package/.dist/google-bigquery-streaming/metadata.json +1 -0
- package/.dist/google-cm360/kit.etag.json +1 -1
- package/.dist/google-cm360/metadata.json +1 -0
- package/.dist/google-firebase/kit.etag.json +1 -1
- package/.dist/google-firebase/metadata.json +1 -0
- package/.dist/google-pubsub/kit.etag.json +1 -1
- package/.dist/google-pubsub/metadata.json +1 -0
- package/.dist/heap/kit.etag.json +1 -1
- package/.dist/heap/metadata.json +1 -0
- package/.dist/hubspot-event/kit.etag.json +1 -1
- package/.dist/hubspot-event/metadata.json +1 -0
- package/.dist/impact-radius/kit.etag.json +1 -1
- package/.dist/impact-radius/metadata.json +1 -0
- package/.dist/in-market/kit.etag.json +1 -1
- package/.dist/in-market/metadata.json +1 -0
- package/.dist/kafka/kit.etag.json +1 -1
- package/.dist/kafka/metadata.json +1 -0
- package/.dist/kinesis/kit.etag.json +1 -1
- package/.dist/kinesis/metadata.json +1 -0
- package/.dist/kochava/kit.etag.json +1 -1
- package/.dist/kochava/metadata.json +1 -0
- package/.dist/lytics/kit.etag.json +1 -1
- package/.dist/lytics/metadata.json +1 -0
- package/.dist/magellan-ai/kit.etag.json +1 -1
- package/.dist/magellan-ai/metadata.json +1 -0
- package/.dist/media-math/kit.etag.json +1 -1
- package/.dist/media-math/metadata.json +1 -0
- package/.dist/merkle/kit.etag.json +1 -1
- package/.dist/merkle/metadata.json +1 -0
- package/.dist/miq-xandr/kit.etag.json +1 -1
- package/.dist/miq-xandr/metadata.json +1 -0
- package/.dist/mixpanel/kit.etag.json +1 -1
- package/.dist/mixpanel/metadata.json +1 -0
- package/.dist/movable-ink/kit.etag.json +1 -1
- package/.dist/movable-ink/metadata.json +1 -0
- package/.dist/movable-ink-customer-data/kit.etag.json +1 -1
- package/.dist/movable-ink-customer-data/metadata.json +1 -0
- package/.dist/nextdoor/kit.etag.json +1 -1
- package/.dist/nextdoor/metadata.json +1 -0
- package/.dist/nextdoor-capi/kit.etag.json +1 -1
- package/.dist/nextdoor-capi/metadata.json +1 -0
- package/.dist/pinterest/kit.etag.json +1 -1
- package/.dist/pinterest/metadata.json +1 -0
- package/.dist/pinterest-capi/kit.etag.json +1 -1
- package/.dist/pinterest-capi/metadata.json +1 -0
- package/.dist/podsights/kit.etag.json +1 -1
- package/.dist/podsights/metadata.json +1 -0
- package/.dist/reddit-ads/kit.etag.json +1 -1
- package/.dist/reddit-ads/metadata.json +1 -0
- package/.dist/rev-jet/kit.etag.json +1 -1
- package/.dist/rev-jet/metadata.json +1 -0
- package/.dist/roku/kit.etag.json +1 -1
- package/.dist/roku/metadata.json +1 -0
- package/.dist/roomvo/kit.etag.json +1 -1
- package/.dist/roomvo/metadata.json +1 -0
- package/.dist/s3/kit.etag.json +1 -1
- package/.dist/s3/metadata.json +1 -0
- package/.dist/salesforce-cdp/kit.etag.json +1 -1
- package/.dist/salesforce-cdp/metadata.json +1 -0
- package/.dist/snapchat/kit.etag.json +1 -1
- package/.dist/snapchat/metadata.json +1 -0
- package/.dist/snapchat-capi/kit.etag.json +1 -1
- package/.dist/snapchat-capi/metadata.json +1 -0
- package/.dist/snowflake/kit.etag.json +1 -1
- package/.dist/snowflake/metadata.json +1 -0
- package/.dist/thetradedesk-conversion-events/kit.etag.json +1 -1
- package/.dist/thetradedesk-conversion-events/metadata.json +1 -0
- package/.dist/thetradedesk-data-advertiser-firstparty/kit.etag.json +1 -1
- package/.dist/thetradedesk-data-advertiser-firstparty/metadata.json +1 -0
- package/.dist/tiktok/kit.etag.json +1 -1
- package/.dist/tiktok/metadata.json +1 -0
- package/.dist/treasure-data/kit.etag.json +1 -1
- package/.dist/treasure-data/metadata.json +1 -0
- package/.dist/twitter-conversions/kit.etag.json +1 -1
- package/.dist/twitter-conversions/metadata.json +1 -0
- package/.dist/verizon-media/kit.etag.json +1 -1
- package/.dist/verizon-media/metadata.json +2 -1
- package/.dist/videoamp/kit.etag.json +1 -1
- package/.dist/videoamp/metadata.json +1 -0
- package/.dist/x-ads/kit.etag.json +1 -1
- package/.dist/x-ads/metadata.json +1 -0
- package/.dist/xandr/kit.etag.json +1 -1
- package/.dist/xandr/metadata.json +1 -0
- package/.dist/yahoo-enhanced-attribution/kit.etag.json +1 -1
- package/.dist/yahoo-enhanced-attribution/metadata.json +1 -0
- package/.dist/yahoo-offline-conversion/kit.etag.json +1 -1
- package/.dist/yahoo-offline-conversion/metadata.json +1 -0
- package/.dist/zeotap/kit.etag.json +1 -1
- package/.dist/zeotap/metadata.json +1 -0
- package/README.md +8 -8
- package/package.json +1 -1
|
@@ -1,3 +1,499 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.2.0",
|
|
3
|
+
"global": {
|
|
4
|
+
"mappings": [
|
|
5
|
+
{
|
|
6
|
+
"inputKey": "timestamp",
|
|
7
|
+
"outputKey": "timestamp"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"inputKey": "context.ip",
|
|
11
|
+
"outputKey": "ip"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"inputKey": "traits.email",
|
|
15
|
+
"outputKey": "email"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"inputKey": "input",
|
|
19
|
+
"outputKey": "customer_id",
|
|
20
|
+
"transforms": [
|
|
21
|
+
{
|
|
22
|
+
"expression": {
|
|
23
|
+
"lang": "lua",
|
|
24
|
+
"body": "return input.userId or input.anonymousId"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"inputKey": "anonymousId",
|
|
31
|
+
"outputKey": "cookie"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"inputKey": "context.userAgent",
|
|
35
|
+
"outputKey": "user_agent"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"inputKey": "input",
|
|
39
|
+
"outputKey": "device_id",
|
|
40
|
+
"transforms": [
|
|
41
|
+
{
|
|
42
|
+
"expression": {
|
|
43
|
+
"lang": "lua",
|
|
44
|
+
"body": "if input.context.device.adTrackingEnabled then\n return input.context.device.advertisingId\nend\nreturn input.anonymousId"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"default": {
|
|
52
|
+
"mappings": [
|
|
53
|
+
{
|
|
54
|
+
"inputKey": "input",
|
|
55
|
+
"outputKey": "event",
|
|
56
|
+
"transforms": [
|
|
57
|
+
{
|
|
58
|
+
"expression": {
|
|
59
|
+
"lang": "lua",
|
|
60
|
+
"body": "if input.type == \"track\" then\n return input.event\nend\nreturn input.type"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"expressions": [
|
|
67
|
+
{
|
|
68
|
+
"lang": "lua",
|
|
69
|
+
"body": "return input.properties"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"eventSpecific": {
|
|
74
|
+
"page": {
|
|
75
|
+
"enrichments": [
|
|
76
|
+
{
|
|
77
|
+
"staticString": "pageload",
|
|
78
|
+
"outputKey": "event"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"mappings": [
|
|
82
|
+
{
|
|
83
|
+
"inputKey": "context.page.url",
|
|
84
|
+
"outputKey": "url"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"inputKey": "context.page.referrer",
|
|
88
|
+
"outputKey": "referrer"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"inputKey": "properties.category",
|
|
92
|
+
"outputKey": "category"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"inputKey": "properties.name",
|
|
96
|
+
"outputKey": "name"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
"identify": {
|
|
101
|
+
"enrichments": [
|
|
102
|
+
{
|
|
103
|
+
"staticString": "identify",
|
|
104
|
+
"outputKey": "event"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"mappings": [
|
|
108
|
+
{
|
|
109
|
+
"inputKey": "traits.firstName",
|
|
110
|
+
"outputKey": "firstname"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"inputKey": "traits.lastName",
|
|
114
|
+
"outputKey": "lastname"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"inputKey": "traits.gender",
|
|
118
|
+
"outputKey": "gender"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"inputKey": "traits.createdAt",
|
|
122
|
+
"outputKey": "joined_at"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"inputKey": "traits.phone",
|
|
126
|
+
"outputKey": "phone_number"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"inputKey": "input",
|
|
130
|
+
"outputKey": "birth_year",
|
|
131
|
+
"transforms": [
|
|
132
|
+
{
|
|
133
|
+
"expression": {
|
|
134
|
+
"lang": "lua",
|
|
135
|
+
"body": "local birthday = input.traits.birthday or input.context.traits.birthday\nif birthday then\n return tonumber(SPLIT(input.traits.birthday, \"-\", 1)[1])\nend"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"inputKey": "input",
|
|
142
|
+
"outputKey": "birth_month",
|
|
143
|
+
"transforms": [
|
|
144
|
+
{
|
|
145
|
+
"expression": {
|
|
146
|
+
"lang": "lua",
|
|
147
|
+
"body": "local birthday = input.traits.birthday or input.context.traits.birthday\nif birthday then\n return tonumber(SPLIT(input.traits.birthday, \"-\", 2)[2])\nend"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"inputKey": "input",
|
|
154
|
+
"outputKey": "birth_dayofmonth",
|
|
155
|
+
"transforms": [
|
|
156
|
+
{
|
|
157
|
+
"expression": {
|
|
158
|
+
"lang": "lua",
|
|
159
|
+
"body": "local birthday = input.traits.birthday or input.context.traits.birthday\nif birthday then\n return tonumber(SPLIT(SPLIT(input.traits.birthday, \"-\", 3)[3], \"T\", 1)[1])\nend"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"inputKey": "traits.address",
|
|
166
|
+
"outputKey": "address"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"inputKey": "traits.age",
|
|
170
|
+
"outputKey": "age"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"inputKey": "traits.avatar",
|
|
174
|
+
"outputKey": "avatar"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"inputKey": "traits.company",
|
|
178
|
+
"outputKey": "company"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"inputKey": "traits.description",
|
|
182
|
+
"outputKey": "description"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"inputKey": "traits.id",
|
|
186
|
+
"outputKey": "id"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"inputKey": "traits.name",
|
|
190
|
+
"outputKey": "name"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"inputKey": "traits.title",
|
|
194
|
+
"outputKey": "title"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"inputKey": "traits.username",
|
|
198
|
+
"outputKey": "username"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"inputKey": "traits.website",
|
|
202
|
+
"outputKey": "website"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
"product_viewed": {
|
|
207
|
+
"enrichments": [
|
|
208
|
+
{
|
|
209
|
+
"staticString": "view",
|
|
210
|
+
"outputKey": "event"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"mappings": [
|
|
214
|
+
{
|
|
215
|
+
"inputKey": "input",
|
|
216
|
+
"outputKey": "product_id",
|
|
217
|
+
"transforms": [
|
|
218
|
+
{
|
|
219
|
+
"expression": {
|
|
220
|
+
"lang": "lua",
|
|
221
|
+
"body": "if input.properties.product_id then\n return input.properties.product_id\nend\nreturn input.properties.sku"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"inputKey": "properties.name",
|
|
228
|
+
"outputKey": "title"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"inputKey": "properties.url",
|
|
232
|
+
"outputKey": "web_link"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"inputKey": "properties.image_url",
|
|
236
|
+
"outputKey": "image"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"inputKey": "properties.price",
|
|
240
|
+
"outputKey": "price"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"inputKey": "input",
|
|
244
|
+
"outputKey": "category",
|
|
245
|
+
"transforms": [
|
|
246
|
+
{
|
|
247
|
+
"expression": {
|
|
248
|
+
"lang": "lua",
|
|
249
|
+
"body": "return { input.properties.category }"
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"inputKey": "properties.brand",
|
|
256
|
+
"outputKey": "brand"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"inputKey": "properties.sku",
|
|
260
|
+
"outputKey": "parent_sku"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"inputKey": "properties.variant",
|
|
264
|
+
"outputKey": "variant"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"inputKey": "properties.quantity",
|
|
268
|
+
"outputKey": "quantity"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"inputKey": "properties.coupon",
|
|
272
|
+
"outputKey": "coupon"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"inputKey": "properties.currency",
|
|
276
|
+
"outputKey": "currency"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"inputKey": "properties.position",
|
|
280
|
+
"outputKey": "position"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"inputKey": "properties.value",
|
|
284
|
+
"outputKey": "value"
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
"product_added": {
|
|
289
|
+
"enrichments": [
|
|
290
|
+
{
|
|
291
|
+
"staticString": "add_to_cart",
|
|
292
|
+
"outputKey": "event"
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"mappings": [
|
|
296
|
+
{
|
|
297
|
+
"inputKey": "properties.cart_id",
|
|
298
|
+
"outputKey": "cart_id"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"inputKey": "input",
|
|
302
|
+
"outputKey": "product_id",
|
|
303
|
+
"transforms": [
|
|
304
|
+
{
|
|
305
|
+
"expression": {
|
|
306
|
+
"lang": "lua",
|
|
307
|
+
"body": "if input.properties.product_id then\n return input.properties.product_id\nend\nreturn input.properties.sku"
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"inputKey": "properties.name",
|
|
314
|
+
"outputKey": "title"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"inputKey": "properties.url",
|
|
318
|
+
"outputKey": "web_link"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"inputKey": "properties.image_url",
|
|
322
|
+
"outputKey": "image"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"inputKey": "properties.price",
|
|
326
|
+
"outputKey": "price"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"inputKey": "input",
|
|
330
|
+
"outputKey": "category",
|
|
331
|
+
"transforms": [
|
|
332
|
+
{
|
|
333
|
+
"expression": {
|
|
334
|
+
"lang": "lua",
|
|
335
|
+
"body": "return { input.properties.category }"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"inputKey": "properties.brand",
|
|
342
|
+
"outputKey": "brand"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"inputKey": "properties.sku",
|
|
346
|
+
"outputKey": "parent_sku"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"inputKey": "properties.variant",
|
|
350
|
+
"outputKey": "variant"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"inputKey": "properties.quantity",
|
|
354
|
+
"outputKey": "quantity"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"inputKey": "properties.coupon",
|
|
358
|
+
"outputKey": "coupon"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"inputKey": "properties.position",
|
|
362
|
+
"outputKey": "position"
|
|
363
|
+
}
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
"product_removed": {
|
|
367
|
+
"enrichments": [
|
|
368
|
+
{
|
|
369
|
+
"staticString": "remove_from_cart",
|
|
370
|
+
"outputKey": "event"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"mappings": [
|
|
374
|
+
{
|
|
375
|
+
"inputKey": "properties.cart_id",
|
|
376
|
+
"outputKey": "cart_id"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"inputKey": "input",
|
|
380
|
+
"outputKey": "product_id",
|
|
381
|
+
"transforms": [
|
|
382
|
+
{
|
|
383
|
+
"expression": {
|
|
384
|
+
"lang": "lua",
|
|
385
|
+
"body": "if input.properties.product_id then\n return input.properties.product_id\nend\nreturn input.properties.sku"
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
]
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"inputKey": "properties.name",
|
|
392
|
+
"outputKey": "title"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"inputKey": "properties.url",
|
|
396
|
+
"outputKey": "web_link"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"inputKey": "properties.image_url",
|
|
400
|
+
"outputKey": "image"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"inputKey": "properties.price",
|
|
404
|
+
"outputKey": "price"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"inputKey": "input",
|
|
408
|
+
"outputKey": "category",
|
|
409
|
+
"transforms": [
|
|
410
|
+
{
|
|
411
|
+
"expression": {
|
|
412
|
+
"lang": "lua",
|
|
413
|
+
"body": "return { input.properties.category }"
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
]
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"inputKey": "properties.brand",
|
|
420
|
+
"outputKey": "brand"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"inputKey": "properties.sku",
|
|
424
|
+
"outputKey": "parent_sku"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"inputKey": "properties.variant",
|
|
428
|
+
"outputKey": "variant"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"inputKey": "properties.quantity",
|
|
432
|
+
"outputKey": "quantity"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"inputKey": "properties.coupon",
|
|
436
|
+
"outputKey": "coupon"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"inputKey": "properties.position",
|
|
440
|
+
"outputKey": "position"
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
"checkout_started": {
|
|
445
|
+
"enrichments": [
|
|
446
|
+
{
|
|
447
|
+
"staticString": "checkout",
|
|
448
|
+
"outputKey": "event"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"mappings": [
|
|
452
|
+
{
|
|
453
|
+
"inputKey": "properties.value",
|
|
454
|
+
"outputKey": "total"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"inputKey": "input",
|
|
458
|
+
"outputKey": "products",
|
|
459
|
+
"transforms": [
|
|
460
|
+
{
|
|
461
|
+
"expression": {
|
|
462
|
+
"lang": "lua",
|
|
463
|
+
"body": "local function get_content(p)\nlocal p_product_id = p.product_id\nif p.product_id == nil then\n p_product_id = p.sku\nend\nreturn {\n product_id = p_product_id,\n name = p.name,\n web_link = p.url,\n image = p.image_url,\n price = p.price,\n category = { p.category },\n brand = p.brand,\n parent_sku = p.sku,\n sku = p.sku,\n variant = p.variant,\n quantity = p.quantity,\n coupon = p.coupon,\n position = p.position\n}\nend\nlocal prods = input.properties.products or {input.properties}\nreturn MAP(prods, get_content)"
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
]
|
|
467
|
+
}
|
|
468
|
+
]
|
|
469
|
+
},
|
|
470
|
+
"order_completed": {
|
|
471
|
+
"enrichments": [
|
|
472
|
+
{
|
|
473
|
+
"staticString": "purchase",
|
|
474
|
+
"outputKey": "event"
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
"expressions": [
|
|
478
|
+
{
|
|
479
|
+
"lang": "lua",
|
|
480
|
+
"body": "return input.properties"
|
|
481
|
+
}
|
|
482
|
+
]
|
|
483
|
+
},
|
|
484
|
+
"products_searched": {
|
|
485
|
+
"enrichments": [
|
|
486
|
+
{
|
|
487
|
+
"staticString": "search",
|
|
488
|
+
"outputKey": "event"
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"mappings": [
|
|
492
|
+
{
|
|
493
|
+
"inputKey": "properties.query",
|
|
494
|
+
"outputKey": "keywords"
|
|
495
|
+
}
|
|
496
|
+
]
|
|
497
|
+
}
|
|
498
|
+
}
|
|
3
499
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"fbd4499bd1ab5bf9778b496c0a177a87"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"108898d34641aa9470ad9db37a00668d"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"b8b63b5239addeb22d2d845c5ca6c210"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
|
+
"isDeprecated": false,
|
|
3
4
|
"isBeta": false,
|
|
4
5
|
"friendlyName": "Clinch",
|
|
5
6
|
"description": "Clinch is a marketing platform that allows advertisers to create and deliver dynamic video ads that are tailored to individual viewers based on their interests, behaviors, and demographics.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"6b09f506e395defab442d62d23c0cf06"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
|
+
"isDeprecated": false,
|
|
3
4
|
"isBeta": false,
|
|
4
5
|
"friendlyName": "Commission Junction",
|
|
5
6
|
"description": "Commission Junction provides a platform that connects advertisers with a network of publishers, making it easier for both parties to find suitable partnerships.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"dca5353820f090955827bbc996138ccb"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"72e121e2769564b81cb1bdf0cad58686"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"f2846b5edb5f7437d341d5561a18f3d8"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
|
+
"isDeprecated": false,
|
|
3
4
|
"isBeta": false,
|
|
4
5
|
"friendlyName": "Customer.io",
|
|
5
6
|
"description": "Customer.io is an automated messaging platform for tech-savvy marketers who want more control and flexibility\nto craft and send data-driven emails, push notifications, in-app messages, and SMS.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"7fc6a5ee3ae02d1748460c162e452cb6"
|
package/.dist/gcs/kit.etag.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"5a33905de219c41be7cbcf8fbc2b6f5f"
|
package/.dist/gcs/metadata.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"198493aed403fb0e2b625ac1b305ba06"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"c46d0f65474e34b8e9d7f5b14043b368"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"acdaf43ed4ded5bc265a7b2a0afefedd"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
|
+
"isDeprecated": false,
|
|
3
4
|
"isBeta": true,
|
|
4
5
|
"friendlyName": "Google AJSID Segments",
|
|
5
6
|
"description": "Based on an AUDIENCE_ID, this job adds operations to the specified offline user data job.\nIt specifically adds the ajs annonimous ID to the job. When the event is an order completed, it adds details about that product.\nThis playbook was built based on this document https://developers.google.com/google-ads/api/rest/reference/rest/v16/customers.offlineUserDataJobs/addOperations\n",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"4692787b85bb13954f40b22e7d002cbc"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"isDraft": false,
|
|
3
|
+
"isDeprecated": true,
|
|
3
4
|
"isBeta": false,
|
|
4
5
|
"friendlyName": "Google Analytics",
|
|
5
6
|
"description": "Google Analytics gives you tools to help you better understand your customers so you can improve your website and drive better results.",
|
|
@@ -27,6 +28,10 @@
|
|
|
27
28
|
{
|
|
28
29
|
"date": "2023-12-13T00:00:00.000Z",
|
|
29
30
|
"note": "Marked as stable version: 1.0.0"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"date": "2024-10-09T00:00:00.000Z",
|
|
34
|
+
"note": "Deprecating kit"
|
|
30
35
|
}
|
|
31
36
|
]
|
|
32
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"1a4873c6d9e9214c3ad6448a4a1a48b2"
|