@metarouter/ajs-starter-kit 1.0.52 → 1.0.54

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.
Files changed (154) hide show
  1. package/.dist/actioniq/kit.etag.json +1 -1
  2. package/.dist/acuity-ads/kit.etag.json +1 -1
  3. package/.dist/acuity-ads/metadata.json +1 -1
  4. package/.dist/adobe/kit.etag.json +1 -1
  5. package/.dist/adobe/metadata.json +1 -1
  6. package/.dist/adobe-analytics/connection.etag.json +1 -0
  7. package/.dist/adobe-analytics/connection.json +42 -0
  8. package/.dist/adobe-analytics/kit.etag.json +1 -0
  9. package/.dist/adobe-analytics/metadata.json +20 -0
  10. package/.dist/adobe-analytics/playbook.etag.json +1 -0
  11. package/.dist/adobe-analytics/playbook.json +71 -0
  12. package/.dist/adobe-id/connection.etag.json +1 -0
  13. package/.dist/adobe-id/connection.json +24 -0
  14. package/.dist/adobe-id/kit.etag.json +1 -0
  15. package/.dist/adobe-id/metadata.json +20 -0
  16. package/.dist/adobe-id/playbook.etag.json +1 -0
  17. package/.dist/adobe-id/playbook.json +74 -0
  18. package/.dist/amazon-redshift-v2/kit.etag.json +1 -1
  19. package/.dist/amazon-redshift-v2/metadata.json +1 -1
  20. package/.dist/amnet/kit.etag.json +1 -1
  21. package/.dist/amnet/metadata.json +1 -1
  22. package/.dist/amobee/kit.etag.json +1 -1
  23. package/.dist/amplitude/kit.etag.json +1 -1
  24. package/.dist/amplitude/metadata.json +1 -1
  25. package/.dist/apps-flyer-android/kit.etag.json +1 -1
  26. package/.dist/apps-flyer-android/metadata.json +1 -1
  27. package/.dist/apps-flyer-ios/kit.etag.json +1 -1
  28. package/.dist/apps-flyer-ios/metadata.json +1 -1
  29. package/.dist/bing-ads/kit.etag.json +1 -1
  30. package/.dist/bing-ads/playbook.etag.json +1 -1
  31. package/.dist/bing-ads/playbook.json +2 -2
  32. package/.dist/blob/kit.etag.json +1 -1
  33. package/.dist/bloomreach/kit.etag.json +1 -1
  34. package/.dist/bloomreach/metadata.json +1 -1
  35. package/.dist/blueshift/kit.etag.json +1 -1
  36. package/.dist/blueshift/metadata.json +1 -1
  37. package/.dist/braze/kit.etag.json +1 -1
  38. package/.dist/criteo/kit.etag.json +1 -1
  39. package/.dist/criteo/metadata.json +1 -1
  40. package/.dist/customer-io/kit.etag.json +1 -1
  41. package/.dist/customer-io/metadata.json +1 -1
  42. package/.dist/facebook-pixel/kit.etag.json +1 -1
  43. package/.dist/gcs/kit.etag.json +1 -1
  44. package/.dist/google-ad-words/kit.etag.json +1 -1
  45. package/.dist/google-analytics/kit.etag.json +1 -1
  46. package/.dist/google-analytics/playbook.etag.json +1 -1
  47. package/.dist/google-analytics/playbook.json +1 -1
  48. package/.dist/google-analytics-4/kit.etag.json +1 -1
  49. package/.dist/google-analytics-4/playbook.etag.json +1 -1
  50. package/.dist/google-analytics-4/playbook.json +2 -2
  51. package/.dist/google-bigquery-streaming/kit.etag.json +1 -1
  52. package/.dist/google-bigquery-streaming/metadata.json +1 -1
  53. package/.dist/google-cm360/kit.etag.json +1 -1
  54. package/.dist/google-cm360/metadata.json +1 -1
  55. package/.dist/google-double-click/kit.etag.json +1 -1
  56. package/.dist/google-double-click/metadata.json +1 -1
  57. package/.dist/google-pubsub/kit.etag.json +1 -1
  58. package/.dist/google-pubsub/metadata.json +1 -1
  59. package/.dist/hubspot-event/connection.etag.json +1 -0
  60. package/.dist/hubspot-event/connection.json +22 -0
  61. package/.dist/hubspot-event/kit.etag.json +1 -0
  62. package/.dist/hubspot-event/metadata.json +20 -0
  63. package/.dist/hubspot-event/playbook.etag.json +1 -0
  64. package/.dist/hubspot-event/playbook.json +63 -0
  65. package/.dist/impact-radius/kit.etag.json +1 -1
  66. package/.dist/impact-radius/metadata.json +1 -1
  67. package/.dist/in-market/kit.etag.json +1 -1
  68. package/.dist/in-market/metadata.json +1 -1
  69. package/.dist/in-market/playbook.etag.json +1 -1
  70. package/.dist/in-market/playbook.json +1 -1
  71. package/.dist/kafka/kit.etag.json +1 -1
  72. package/.dist/kafka/metadata.json +1 -1
  73. package/.dist/kinesis/kit.etag.json +1 -1
  74. package/.dist/kinesis/metadata.json +1 -1
  75. package/.dist/lytics/kit.etag.json +1 -1
  76. package/.dist/lytics/metadata.json +1 -1
  77. package/.dist/media-math/kit.etag.json +1 -1
  78. package/.dist/merkle/kit.etag.json +1 -1
  79. package/.dist/miq-xandr/connection.etag.json +1 -0
  80. package/.dist/miq-xandr/connection.json +12 -0
  81. package/.dist/miq-xandr/kit.etag.json +1 -0
  82. package/.dist/miq-xandr/metadata.json +20 -0
  83. package/.dist/miq-xandr/playbook.etag.json +1 -0
  84. package/.dist/miq-xandr/playbook.json +79 -0
  85. package/.dist/mixpanel/kit.etag.json +1 -1
  86. package/.dist/movable-ink/kit.etag.json +1 -1
  87. package/.dist/nextdoor/connection.etag.json +1 -0
  88. package/.dist/nextdoor/connection.json +31 -0
  89. package/.dist/nextdoor/kit.etag.json +1 -0
  90. package/.dist/nextdoor/metadata.json +20 -0
  91. package/.dist/nextdoor/playbook.etag.json +1 -0
  92. package/.dist/nextdoor/playbook.json +111 -0
  93. package/.dist/pinterest/kit.etag.json +1 -1
  94. package/.dist/pinterest/playbook.etag.json +1 -1
  95. package/.dist/pinterest/playbook.json +4 -4
  96. package/.dist/pinterest-capi/connection.etag.json +1 -0
  97. package/.dist/pinterest-capi/connection.json +35 -0
  98. package/.dist/pinterest-capi/kit.etag.json +1 -0
  99. package/.dist/pinterest-capi/metadata.json +20 -0
  100. package/.dist/pinterest-capi/playbook.etag.json +1 -0
  101. package/.dist/pinterest-capi/playbook.json +288 -0
  102. package/.dist/podsights/connection.etag.json +1 -0
  103. package/.dist/podsights/connection.json +6 -0
  104. package/.dist/podsights/kit.etag.json +1 -0
  105. package/.dist/podsights/metadata.json +20 -0
  106. package/.dist/podsights/playbook.etag.json +1 -0
  107. package/.dist/podsights/playbook.json +132 -0
  108. package/.dist/rev-jet/kit.etag.json +1 -1
  109. package/.dist/rev-jet/metadata.json +1 -1
  110. package/.dist/roomvo/kit.etag.json +1 -1
  111. package/.dist/s3/kit.etag.json +1 -1
  112. package/.dist/s3/metadata.json +1 -1
  113. package/.dist/salesforce-cdp/kit.etag.json +1 -1
  114. package/.dist/snapchat/kit.etag.json +1 -1
  115. package/.dist/snapchat/playbook.etag.json +1 -1
  116. package/.dist/snapchat/playbook.json +2 -2
  117. package/.dist/snowflake/kit.etag.json +1 -1
  118. package/.dist/thetradedesk-conversion-events/kit.etag.json +1 -1
  119. package/.dist/thetradedesk-conversion-events/metadata.json +1 -1
  120. package/.dist/thetradedesk-conversion-events/playbook.etag.json +1 -1
  121. package/.dist/thetradedesk-conversion-events/playbook.json +5 -5
  122. package/.dist/thetradedesk-data-advertiser-firstparty/connection.etag.json +1 -1
  123. package/.dist/thetradedesk-data-advertiser-firstparty/connection.json +1 -1
  124. package/.dist/thetradedesk-data-advertiser-firstparty/kit.etag.json +1 -1
  125. package/.dist/thetradedesk-data-advertiser-firstparty/metadata.json +1 -1
  126. package/.dist/thetradedesk-data-advertiser-firstparty/playbook.etag.json +1 -1
  127. package/.dist/thetradedesk-data-advertiser-firstparty/playbook.json +1 -1
  128. package/.dist/tiktok/connection.etag.json +1 -0
  129. package/.dist/tiktok/connection.json +35 -0
  130. package/.dist/tiktok/kit.etag.json +1 -0
  131. package/.dist/tiktok/metadata.json +20 -0
  132. package/.dist/tiktok/playbook.etag.json +1 -0
  133. package/.dist/tiktok/playbook.json +346 -0
  134. package/.dist/twitter-conversions/kit.etag.json +1 -1
  135. package/.dist/twitter-conversions/playbook.etag.json +1 -1
  136. package/.dist/twitter-conversions/playbook.json +3 -3
  137. package/.dist/verizon-media/kit.etag.json +1 -1
  138. package/.dist/videoamp/kit.etag.json +1 -1
  139. package/.dist/videoamp/metadata.json +1 -1
  140. package/.dist/xandr/kit.etag.json +1 -1
  141. package/.dist/yahoo-enhanced-attribution/connection.etag.json +1 -0
  142. package/.dist/yahoo-enhanced-attribution/connection.json +77 -0
  143. package/.dist/yahoo-enhanced-attribution/kit.etag.json +1 -0
  144. package/.dist/yahoo-enhanced-attribution/metadata.json +20 -0
  145. package/.dist/yahoo-enhanced-attribution/playbook.etag.json +1 -0
  146. package/.dist/yahoo-enhanced-attribution/playbook.json +96 -0
  147. package/.dist/yahoo-offline-conversion/connection.etag.json +1 -0
  148. package/.dist/yahoo-offline-conversion/connection.json +76 -0
  149. package/.dist/yahoo-offline-conversion/kit.etag.json +1 -0
  150. package/.dist/yahoo-offline-conversion/metadata.json +20 -0
  151. package/.dist/yahoo-offline-conversion/playbook.etag.json +1 -0
  152. package/.dist/yahoo-offline-conversion/playbook.json +267 -0
  153. package/index.js +12 -0
  154. package/package.json +1 -1
@@ -0,0 +1,35 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "API_VERSION",
5
+ "defaultValue": "v1.2"
6
+ },
7
+ {
8
+ "name": "API_KEY",
9
+ "exampleValue": "api-key"
10
+ },
11
+ {
12
+ "name": "PIXEL_ID",
13
+ "exampleValue": "pixel-id"
14
+ }
15
+ ],
16
+ "default": {
17
+ "endpoint": "https://business-api.tiktok.com/open_api/$$API_VERSION$$/pixel/batch/",
18
+ "method": "POST",
19
+ "headers": [
20
+ {
21
+ "key": "Content-Type",
22
+ "value": "application/json"
23
+ },
24
+ {
25
+ "key": "Access-Token",
26
+ "value": "$$API_KEY$$"
27
+ }
28
+ ],
29
+ "batchSize": 500,
30
+ "transform": {
31
+ "lang": "lua",
32
+ "body": "request.body = { batch = batch, pixel_code = '$$PIXEL_ID$$' }\nreturn request"
33
+ }
34
+ }
35
+ }
@@ -0,0 +1 @@
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -0,0 +1,20 @@
1
+ {
2
+ "isDraft": false,
3
+ "isBeta": true,
4
+ "friendlyName": "TikTok",
5
+ "description": "Powerful self-service advertising platform makes it easy for businesses of all sizes to create and manage their own TikTok campaigns.",
6
+ "logo": "https://cdn.metarouter.io/logo.svg",
7
+ "color": "#FF2C55",
8
+ "eventSource": {
9
+ "isAndroidApp": true,
10
+ "isIosApp": true,
11
+ "isWebApp": true
12
+ },
13
+ "inputSchema": "analytics_js",
14
+ "releaseNotes": [
15
+ {
16
+ "date": "2023-03-07T00:00:00.000Z",
17
+ "note": "TikTok initial release."
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1 @@
1
+ "8511587535480ec6d83fb8227f61103a"
@@ -0,0 +1,346 @@
1
+ {
2
+ "version": "v0.0.1",
3
+ "default": {
4
+ "filters": [
5
+ {
6
+ "byEventNames": {
7
+ "action": "allow",
8
+ "events": [
9
+ ""
10
+ ]
11
+ }
12
+ }
13
+ ]
14
+ },
15
+ "global": {
16
+ "enrichments": [
17
+ {
18
+ "outputKey": "type",
19
+ "staticString": "track"
20
+ }
21
+ ],
22
+ "mappings": [
23
+ {
24
+ "inputKey": "input",
25
+ "outputKey": "event_id",
26
+ "transforms": [
27
+ {
28
+ "expression": {
29
+ "body": "return TO_SHA256_HASH(input.anonymousId) .. \"_\" .. input.messageId",
30
+ "lang": "lua"
31
+ }
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "inputKey": "timestamp",
37
+ "outputKey": "timestamp"
38
+ },
39
+ {
40
+ "inputKey": "context.providers.tiktok.ttclid",
41
+ "outputKey": "context.ad.callback"
42
+ },
43
+ {
44
+ "inputKey": "input",
45
+ "outputKey": "context.page.url",
46
+ "transforms": [
47
+ {
48
+ "expression": {
49
+ "body": "return SPLIT(input.context.page.url, \"?\", 1)[1] or \"\"",
50
+ "lang": "lua"
51
+ }
52
+ }
53
+ ]
54
+ },
55
+ {
56
+ "inputKey": "context.page.referrer",
57
+ "outputKey": "context.page.referrer"
58
+ },
59
+ {
60
+ "inputKey": "context.providers.tiktok.ttp",
61
+ "outputKey": "context.user.ttp"
62
+ },
63
+ {
64
+ "inputKey": "anonymousId",
65
+ "outputKey": "context.user.external_id",
66
+ "transforms": [
67
+ {
68
+ "toHash": "sha256"
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "inputKey": "context.traits.email",
74
+ "outputKey": "context.user.email",
75
+ "transforms": [
76
+ {
77
+ "toHash": "sha256"
78
+ }
79
+ ]
80
+ },
81
+ {
82
+ "inputKey": "context.traits.phone",
83
+ "outputKey": "context.user.phone_number",
84
+ "transforms": [
85
+ {
86
+ "toHash": "sha256"
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ "inputKey": "context.ip",
92
+ "outputKey": "context.ip"
93
+ },
94
+ {
95
+ "inputKey": "context.userAgent",
96
+ "outputKey": "context.user_agent"
97
+ }
98
+ ]
99
+ },
100
+ "eventSpecific": {
101
+ "page": {
102
+ "enrichments": [
103
+ {
104
+ "outputKey": "event",
105
+ "staticString": "ViewContent"
106
+ },
107
+ {
108
+ "outputKey": "properties.description",
109
+ "staticString": "page"
110
+ }
111
+ ]
112
+ },
113
+ "products_searched": {
114
+ "enrichments": [
115
+ {
116
+ "outputKey": "event",
117
+ "staticString": "Search"
118
+ }
119
+ ],
120
+ "mappings": [
121
+ {
122
+ "inputKey": "properties.query",
123
+ "outputKey": "properties.query"
124
+ }
125
+ ]
126
+ },
127
+ "product_list_viewed": {
128
+ "enrichments": [
129
+ {
130
+ "outputKey": "event",
131
+ "staticString": "ViewContent"
132
+ },
133
+ {
134
+ "outputKey": "properties.description",
135
+ "staticString": "product list viewed"
136
+ }
137
+ ],
138
+ "mappings": [
139
+ {
140
+ "inputKey": "properties.currency",
141
+ "outputKey": "properties.currency",
142
+ "defaultString": "USD",
143
+ "transforms": [
144
+ {
145
+ "modifyString": "uppercase"
146
+ }
147
+ ]
148
+ },
149
+ {
150
+ "inputKey": "input",
151
+ "outputKey": "properties.value",
152
+ "transforms": [
153
+ {
154
+ "expression": {
155
+ "lang": "lua",
156
+ "body": "return SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))"
157
+ }
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ "inputKey": "input",
163
+ "outputKey": "properties.contents",
164
+ "transforms": [
165
+ {
166
+ "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,\n content_type=\"product\"\n }\n end\n)\nreturn contents",
168
+ "lang": "lua"
169
+ }
170
+ }
171
+ ]
172
+ }
173
+ ]
174
+ },
175
+ "product_viewed": {
176
+ "enrichments": [
177
+ {
178
+ "outputKey": "event",
179
+ "staticString": "ViewContent"
180
+ },
181
+ {
182
+ "outputKey": "properties.description",
183
+ "staticString": "product viewed"
184
+ }
185
+ ],
186
+ "mappings": [
187
+ {
188
+ "inputKey": "properties.price",
189
+ "outputKey": "properties.value"
190
+ },
191
+ {
192
+ "inputKey": "input",
193
+ "outputKey": "properties.contents",
194
+ "transforms": [
195
+ {
196
+ "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,\n content_type=\"product\"\n}}",
198
+ "lang": "lua"
199
+ }
200
+ }
201
+ ]
202
+ }
203
+ ]
204
+ },
205
+ "product_added": {
206
+ "enrichments": [
207
+ {
208
+ "outputKey": "event",
209
+ "staticString": "AddToCart"
210
+ }
211
+ ],
212
+ "mappings": [
213
+ {
214
+ "inputKey": "properties.currency",
215
+ "outputKey": "properties.currency",
216
+ "defaultString": "USD",
217
+ "transforms": [
218
+ {
219
+ "modifyString": "uppercase"
220
+ }
221
+ ]
222
+ },
223
+ {
224
+ "inputKey": "input",
225
+ "outputKey": "properties.value",
226
+ "transforms": [
227
+ {
228
+ "expression": {
229
+ "lang": "lua",
230
+ "body": "return input.properties.price * (input.properties.quantity or 1)"
231
+ }
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ "inputKey": "input",
237
+ "outputKey": "properties.contents",
238
+ "transforms": [
239
+ {
240
+ "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,\n content_type=\"product\"\n}}",
242
+ "lang": "lua"
243
+ }
244
+ }
245
+ ]
246
+ }
247
+ ]
248
+ },
249
+ "cart_viewed": {
250
+ "enrichments": [
251
+ {
252
+ "outputKey": "event",
253
+ "staticString": "InitiateCheckout"
254
+ }
255
+ ],
256
+ "mappings": [
257
+ {
258
+ "inputKey": "properties.currency",
259
+ "outputKey": "properties.currency",
260
+ "defaultString": "USD",
261
+ "transforms": [
262
+ {
263
+ "modifyString": "uppercase"
264
+ }
265
+ ]
266
+ },
267
+ {
268
+ "inputKey": "input",
269
+ "outputKey": "properties.value",
270
+ "transforms": [
271
+ {
272
+ "expression": {
273
+ "lang": "lua",
274
+ "body": "return SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))"
275
+ }
276
+ }
277
+ ]
278
+ },
279
+ {
280
+ "inputKey": "input",
281
+ "outputKey": "properties.contents",
282
+ "transforms": [
283
+ {
284
+ "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,\n content_type=\"product\"\n }\n end\n)\nreturn contents",
286
+ "lang": "lua"
287
+ }
288
+ }
289
+ ]
290
+ }
291
+ ]
292
+ },
293
+ "order_completed": {
294
+ "enrichments": [
295
+ {
296
+ "outputKey": "event",
297
+ "staticString": "CompletePayment"
298
+ }
299
+ ],
300
+ "mappings": [
301
+ {
302
+ "inputKey": "properties.currency",
303
+ "outputKey": "properties.currency",
304
+ "defaultString": "USD",
305
+ "transforms": [
306
+ {
307
+ "modifyString": "uppercase"
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "inputKey": "input",
313
+ "outputKey": "properties.value",
314
+ "transforms": [
315
+ {
316
+ "expression": {
317
+ "lang": "lua",
318
+ "body": "return SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))"
319
+ }
320
+ }
321
+ ]
322
+ },
323
+ {
324
+ "inputKey": "input",
325
+ "outputKey": "properties.contents",
326
+ "transforms": [
327
+ {
328
+ "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,\n content_type=\"product\"\n }\n end\n)\nreturn contents",
330
+ "lang": "lua"
331
+ }
332
+ }
333
+ ]
334
+ }
335
+ ]
336
+ },
337
+ "signed_up": {
338
+ "enrichments": [
339
+ {
340
+ "outputKey": "event",
341
+ "staticString": "CompleteRegistration"
342
+ }
343
+ ]
344
+ }
345
+ }
346
+ }
@@ -1 +1 @@
1
- "5ab9d299298db2f9560957c344c9ba3f"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -1 +1 @@
1
- "81f956214c1610cd42a2417fa0121ecb"
1
+ "ef7cdafcf17f80ccce205680ee4bc6ac"
@@ -176,7 +176,7 @@
176
176
  {
177
177
  "expression": {
178
178
  "lang": "lua",
179
- "body": "return SUM(MAP(input.properties.products, function (p) return p.quantity or 1 end))"
179
+ "body": "return SUM(\n MAP(input.properties.products,\n function (p)\n return p.quantity or 1\n end\n))"
180
180
  }
181
181
  }
182
182
  ]
@@ -188,7 +188,7 @@
188
188
  {
189
189
  "expression": {
190
190
  "lang": "lua",
191
- "body": "return string.format(\"%.2f\", SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end)))"
191
+ "body": "return string.format(\"%.2f\",\n SUM(\n MAP(input.properties.products,\n function (p)\n return p.price * (p.quantity or 1)\n end\n )))"
192
192
  }
193
193
  }
194
194
  ]
@@ -220,7 +220,7 @@
220
220
  {
221
221
  "expression": {
222
222
  "lang": "lua",
223
- "body": "return SUM(MAP(input.properties.products, function (p) return p.quantity or 1 end))"
223
+ "body": "return SUM(\n MAP(input.properties.products,\n function (p)\n return p.quantity or 1\n end\n ))"
224
224
  }
225
225
  }
226
226
  ]
@@ -1 +1 @@
1
- "c1c827a4734e9c37d203e75427d8d8d5"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -1 +1 @@
1
- "2608e363f57fc62508ed80493ccccea6"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -2,7 +2,7 @@
2
2
  "isDraft": false,
3
3
  "isBeta": true,
4
4
  "friendlyName": "VideoAmp",
5
- "description": "The VideoAmp Platform provides measurement and optimization tools that unify audiences across the disparate systems of traditional TV, streaming video and digital media.",
5
+ "description": "The VideoAmp Platform provides measurement and optimization tools\nthat unify audiences across the disparate systems of traditional TV, streaming video and digital media.",
6
6
  "logo": "https://cdn.metarouter.io/logo.svg",
7
7
  "color": "#121212",
8
8
  "eventSource": {
@@ -1 +1 @@
1
- "cfb5748d2f7e8faccea3c7c796af8590"
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -0,0 +1 @@
1
+ "c9e493deb6288a79a67e6b0152df0011"
@@ -0,0 +1,77 @@
1
+ {
2
+ "params": [
3
+ {
4
+ "name": "OAUTH2_REQUEST_URL",
5
+ "exampleValue": "oauth2-request-url"
6
+ },
7
+ {
8
+ "name": "CLIENT_ID",
9
+ "exampleValue": "client-id"
10
+ },
11
+ {
12
+ "name": "CLIENT_SECRET",
13
+ "exampleValue": "client-secret"
14
+ }
15
+ ],
16
+ "default": {
17
+ "endpoint": "https://aaca.yahooinc.com",
18
+ "headers": [
19
+ {
20
+ "key": "Content-Type",
21
+ "value": "application/x-www-form-urlencoded"
22
+ }
23
+ ],
24
+ "method": "GET",
25
+ "oauth2Auth": {
26
+ "jwt": {
27
+ "claims": [
28
+ {
29
+ "key": "aud",
30
+ "value": "$$OAUTH2_REQUEST_URL$$?realm=aaca"
31
+ },
32
+ {
33
+ "key": "sub",
34
+ "value": "$$CLIENT_ID$$"
35
+ },
36
+ {
37
+ "key": "iss",
38
+ "value": "$$CLIENT_ID$$"
39
+ }
40
+ ],
41
+ "hsSigningSecret": "$$CLIENT_SECRET$$",
42
+ "requestKey": "client_assertion",
43
+ "signingMethod": "SIGNING_METHOD_HS256"
44
+ },
45
+ "request": {
46
+ "body": [
47
+ {
48
+ "key": "grant_type",
49
+ "value": "client_credentials"
50
+ },
51
+ {
52
+ "key": "client_assertion_type",
53
+ "value": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"
54
+ },
55
+ {
56
+ "key": "scope",
57
+ "value": "upload"
58
+ },
59
+ {
60
+ "key": "realm",
61
+ "value": "aaca"
62
+ }
63
+ ],
64
+ "contentType": "application/x-www-form-urlencoded",
65
+ "headers": [
66
+ {
67
+ "key": "Accept",
68
+ "value": "application/json"
69
+ }
70
+ ],
71
+ "method": "POST",
72
+ "url": "$$OAUTH2_REQUEST_URL$$"
73
+ },
74
+ "responseAccessTokenKey": "access_token"
75
+ }
76
+ }
77
+ }
@@ -0,0 +1 @@
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -0,0 +1,20 @@
1
+ {
2
+ "isDraft": false,
3
+ "isBeta": true,
4
+ "friendlyName": "Yahoo Enhanced Attribution",
5
+ "description": "Yahoo Enhanced Attribution works by leveraging a click ID to count post-click conversions, using a privacy-friendly mechanism that doesn’t require or depend on a 3rd-party cookie.",
6
+ "logo": "https://cdn.metarouter.io/logo.svg",
7
+ "color": "#FA1200",
8
+ "eventSource": {
9
+ "isAndroidApp": true,
10
+ "isIosApp": true,
11
+ "isWebApp": true
12
+ },
13
+ "inputSchema": "analytics_js",
14
+ "releaseNotes": [
15
+ {
16
+ "date": "2023-03-07T00:00:00.000Z",
17
+ "note": "Yahoo Offline Conversion initial release."
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1 @@
1
+ "84470235e1da66761acb6cff9a260cfc"
@@ -0,0 +1,96 @@
1
+ {
2
+ "version": "v0.0.1",
3
+ "params": [
4
+ {
5
+ "name": "PIXEL_ID",
6
+ "exampleValue": "pixel-id"
7
+ },
8
+ {
9
+ "name": "PARTNER_ID",
10
+ "exampleValue": "partner-id"
11
+ }
12
+ ],
13
+ "default": {
14
+ "filters": [
15
+ {
16
+ "byEventNames": {
17
+ "action": "allow",
18
+ "events": [
19
+ ""
20
+ ]
21
+ }
22
+ }
23
+ ]
24
+ },
25
+ "global": {
26
+ "enrichments": [
27
+ {
28
+ "outputKey": "yp",
29
+ "staticString": "$$PIXEL_ID$$"
30
+ },
31
+ {
32
+ "outputKey": "dp",
33
+ "staticString": "$$PARTNER_ID$$"
34
+ }
35
+ ],
36
+ "filters": [
37
+ {
38
+ "byConditions": {
39
+ "action": "allow",
40
+ "when": {
41
+ "inputPathExists": {
42
+ "inputPath": "context.providers.yahooMedia.vmcid"
43
+ }
44
+ }
45
+ }
46
+ }
47
+ ],
48
+ "mappings": [
49
+ {
50
+ "inputKey": "context.providers.yahooMedia.vmcid",
51
+ "outputKey": "vmcid"
52
+ },
53
+ {
54
+ "inputKey": "context.providers.yahooMedia.yahoo_id",
55
+ "outputKey": "uuid"
56
+ },
57
+ {
58
+ "inputKey": "messageId",
59
+ "outputKey": "id"
60
+ },
61
+ {
62
+ "inputKey": "timestamp",
63
+ "outputKey": "et",
64
+ "transforms": [
65
+ {
66
+ "toTimestamp": "inMillis"
67
+ }
68
+ ]
69
+ }
70
+ ]
71
+ },
72
+ "eventSpecific": {
73
+ "order_completed": {
74
+ "enrichments": [
75
+ {
76
+ "outputKey": "ec",
77
+ "staticString": "Ecommerce"
78
+ },
79
+ {
80
+ "outputKey": "ea",
81
+ "staticString": "Purchase"
82
+ },
83
+ {
84
+ "outputKey": "gc",
85
+ "staticString": "USD"
86
+ }
87
+ ],
88
+ "mappings": [
89
+ {
90
+ "inputKey": "properties.revenue",
91
+ "outputKey": "gv"
92
+ }
93
+ ]
94
+ }
95
+ }
96
+ }
@@ -0,0 +1 @@
1
+ "bef5eae26954b3589ae356a45bb8b349"