@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,76 @@
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
+ "name": "PIXEL_ID",
17
+ "exampleValue": "pixel-id"
18
+ }
19
+ ],
20
+ "default": {
21
+ "batchSize": 1,
22
+ "endpoint": "https://dataxonline.yahoo.com/v1/pixels/$$PIXEL_ID$$/events",
23
+ "method": "POST",
24
+ "oauth2Auth": {
25
+ "jwt": {
26
+ "claims": [
27
+ {
28
+ "key": "aud",
29
+ "value": "$$OAUTH2_REQUEST_URL$$?realm=dataxonline"
30
+ },
31
+ {
32
+ "key": "sub",
33
+ "value": "$$CLIENT_ID$$"
34
+ },
35
+ {
36
+ "key": "iss",
37
+ "value": "$$CLIENT_ID$$"
38
+ }
39
+ ],
40
+ "hsSigningSecret": "$$CLIENT_SECRET$$",
41
+ "requestKey": "client_assertion",
42
+ "signingMethod": "SIGNING_METHOD_HS256"
43
+ },
44
+ "request": {
45
+ "body": [
46
+ {
47
+ "key": "grant_type",
48
+ "value": "client_credentials"
49
+ },
50
+ {
51
+ "key": "client_assertion_type",
52
+ "value": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"
53
+ },
54
+ {
55
+ "key": "scope",
56
+ "value": "pixel-event"
57
+ },
58
+ {
59
+ "key": "realm",
60
+ "value": "dataxonline"
61
+ }
62
+ ],
63
+ "contentType": "application/x-www-form-urlencoded",
64
+ "headers": [
65
+ {
66
+ "key": "Accept",
67
+ "value": "application/json"
68
+ }
69
+ ],
70
+ "method": "POST",
71
+ "url": "$$OAUTH2_REQUEST_URL$$"
72
+ },
73
+ "responseAccessTokenKey": "access_token"
74
+ }
75
+ }
76
+ }
@@ -0,0 +1 @@
1
+ "d41d8cd98f00b204e9800998ecf8427e"
@@ -0,0 +1,20 @@
1
+ {
2
+ "isDraft": false,
3
+ "isBeta": true,
4
+ "friendlyName": "Yahoo Offline Conversion",
5
+ "description": "Create and manage offline tracking pixels that measure the impact of your digital ad spend on driving visits to your stores or stores where your products are sold.",
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
+ "d4cc56bf5bd9ce5c3053aa6a8d4a295e"
@@ -0,0 +1,267 @@
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
+ "filters": [
17
+ {
18
+ "byConditions": {
19
+ "action": "allow",
20
+ "when": {
21
+ "matchesAny": {
22
+ "conditions": [
23
+ {
24
+ "inputPathExists": {
25
+ "inputPath": "context.providers.yahooMedia.vmcid"
26
+ }
27
+ },
28
+ {
29
+ "inputPathExists": {
30
+ "inputPath": "context.providers.yahooMedia.yahoo_id"
31
+ }
32
+ }
33
+ ]
34
+ }
35
+ }
36
+ }
37
+ }
38
+ ],
39
+ "mappings": [
40
+ {
41
+ "inputKey": "timestamp",
42
+ "outputKey": "event_time",
43
+ "transforms": [
44
+ {
45
+ "toTimestamp": "inSeconds"
46
+ }
47
+ ]
48
+ },
49
+ {
50
+ "inputKey": "input",
51
+ "outputKey": "action_source",
52
+ "transforms": [
53
+ {
54
+ "expression": {
55
+ "body": "if input.context.app.name or input.context.device.type or input.context.os.name then return 'APP' end\nreturn 'WEBSITE'",
56
+ "lang": "lua"
57
+ }
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "inputKey": "context.page.url",
63
+ "outputKey": "action_source_url"
64
+ },
65
+ {
66
+ "inputKey": "context.providers.yahooMedia.vmcid",
67
+ "outputKey": "user_data.vmcid"
68
+ },
69
+ {
70
+ "inputKey": "context.providers.yahooMedia.yahoo_id",
71
+ "outputKey": "user_data.yahoo_id"
72
+ },
73
+ {
74
+ "inputKey": "event",
75
+ "outputKey": "custom_data.el"
76
+ }
77
+ ]
78
+ },
79
+ "eventSpecific": {
80
+ "page": {
81
+ "enrichments": [
82
+ {
83
+ "outputKey": "custom_data.ec",
84
+ "staticString": "UserFlow"
85
+ },
86
+ {
87
+ "outputKey": "custom_data.ea",
88
+ "staticString": "ViewPage"
89
+ }
90
+ ],
91
+ "mappings": [
92
+ {
93
+ "inputKey": "context.page.title",
94
+ "outputKey": "custom_data.el"
95
+ }
96
+ ]
97
+ },
98
+ "products_searched": {
99
+ "enrichments": [
100
+ {
101
+ "outputKey": "custom_data.ec",
102
+ "staticString": "Ecommerce"
103
+ },
104
+ {
105
+ "outputKey": "custom_data.ea",
106
+ "staticString": "Search"
107
+ }
108
+ ],
109
+ "mappings": [
110
+ {
111
+ "inputKey": "properties.query",
112
+ "outputKey": "custom_data.user_defined.query"
113
+ }
114
+ ]
115
+ },
116
+ "product_list_viewed": {
117
+ "enrichments": [
118
+ {
119
+ "outputKey": "custom_data.ec",
120
+ "staticString": "Ecommerce"
121
+ },
122
+ {
123
+ "outputKey": "custom_data.ea",
124
+ "staticString": "ViewProductsList"
125
+ }
126
+ ],
127
+ "mappings": [
128
+ {
129
+ "inputKey": "input",
130
+ "outputKey": "custom_data.product_id",
131
+ "transforms": [
132
+ {
133
+ "expression": {
134
+ "body": "return MAP(input.properties.products, function (p) return p.product_id or p.sku end)",
135
+ "lang": "lua"
136
+ }
137
+ }
138
+ ]
139
+ }
140
+ ]
141
+ },
142
+ "product_viewed": {
143
+ "enrichments": [
144
+ {
145
+ "outputKey": "custom_data.ec",
146
+ "staticString": "Ecommerce"
147
+ },
148
+ {
149
+ "outputKey": "custom_data.ea",
150
+ "staticString": "ViewProduct"
151
+ }
152
+ ],
153
+ "mappings": [
154
+ {
155
+ "inputKey": "input",
156
+ "outputKey": "custom_data.product_id",
157
+ "transforms": [
158
+ {
159
+ "expression": {
160
+ "body": "return { input.properties.product_id or input.properties.sku }",
161
+ "lang": "lua"
162
+ }
163
+ }
164
+ ]
165
+ }
166
+ ]
167
+ },
168
+ "product_added": {
169
+ "enrichments": [
170
+ {
171
+ "outputKey": "custom_data.ec",
172
+ "staticString": "Ecommerce"
173
+ },
174
+ {
175
+ "outputKey": "custom_data.ea",
176
+ "staticString": "AddToCart"
177
+ }
178
+ ],
179
+ "mappings": [
180
+ {
181
+ "inputKey": "input",
182
+ "outputKey": "custom_data.product_id",
183
+ "transforms": [
184
+ {
185
+ "expression": {
186
+ "body": "return { input.properties.product_id or input.properties.sku }",
187
+ "lang": "lua"
188
+ }
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "inputKey": "properties.price",
194
+ "outputKey": "custom_data.gv"
195
+ }
196
+ ]
197
+ },
198
+ "cart_viewed": {
199
+ "enrichments": [
200
+ {
201
+ "outputKey": "custom_data.ec",
202
+ "staticString": "Ecommerce"
203
+ },
204
+ {
205
+ "outputKey": "custom_data.ea",
206
+ "staticString": "ViewCart"
207
+ }
208
+ ],
209
+ "mappings": [
210
+ {
211
+ "inputKey": "input",
212
+ "outputKey": "custom_data.product_id",
213
+ "transforms": [
214
+ {
215
+ "expression": {
216
+ "body": "return MAP(input.properties.products, function (p) return p.product_id or p.sku end)",
217
+ "lang": "lua"
218
+ }
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "inputKey": "input",
224
+ "outputKey": "custom_data.gv",
225
+ "transforms": [
226
+ {
227
+ "expression": {
228
+ "body": "return SUM(MAP(input.properties.products, function (p) return p.price * (p.quantity or 1) end))",
229
+ "lang": "lua"
230
+ }
231
+ }
232
+ ]
233
+ }
234
+ ]
235
+ },
236
+ "order_completed": {
237
+ "enrichments": [
238
+ {
239
+ "outputKey": "custom_data.ec",
240
+ "staticString": "Ecommerce"
241
+ },
242
+ {
243
+ "outputKey": "custom_data.ea",
244
+ "staticString": "Purchase"
245
+ }
246
+ ],
247
+ "mappings": [
248
+ {
249
+ "inputKey": "input",
250
+ "outputKey": "custom_data.product_id",
251
+ "transforms": [
252
+ {
253
+ "expression": {
254
+ "body": "return MAP(input.properties.products, function (p) return p.product_id or p.sku end)",
255
+ "lang": "lua"
256
+ }
257
+ }
258
+ ]
259
+ },
260
+ {
261
+ "inputKey": "properties.revenue",
262
+ "outputKey": "custom_data.gv"
263
+ }
264
+ ]
265
+ }
266
+ }
267
+ }
package/index.js CHANGED
@@ -169,6 +169,13 @@ exports['google-pubsub'] = {
169
169
  metadata: require('./.dist/google-pubsub/metadata.json')
170
170
  }
171
171
 
172
+ exports['hubspot-event'] = {
173
+ connectionTemplate: connectionSchemas.properties.hubspotEvent,
174
+ endpointSchema: require('./.dist/hubspot-event/connection.json'),
175
+ playbook: require('./.dist/hubspot-event/playbook.json'),
176
+ metadata: require('./.dist/hubspot-event/metadata.json')
177
+ }
178
+
172
179
  exports['impact-radius'] = {
173
180
  connectionTemplate: connectionSchemas.properties.impactRadius,
174
181
  endpointSchema: require('./.dist/impact-radius/connection.json'),
@@ -440,6 +447,11 @@ exports.etags = {
440
447
  playbook: require('./.dist/google-pubsub/playbook.etag.json'),
441
448
  kit: require('./.dist/google-pubsub/kit.etag.json')
442
449
  },
450
+ 'hubspot-event': {
451
+ endpointSchema: require('./.dist/hubspot-event/connection.etag.json'),
452
+ playbook: require('./.dist/hubspot-event/playbook.etag.json'),
453
+ kit: require('./.dist/hubspot-event/kit.etag.json')
454
+ },
443
455
  'impact-radius': {
444
456
  endpointSchema: require('./.dist/impact-radius/connection.etag.json'),
445
457
  playbook: require('./.dist/impact-radius/playbook.etag.json'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {