@metarouter/ajs-starter-kit 1.0.107 → 1.0.109

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 (318) hide show
  1. package/.dist/actioniq/connection.etag.json +1 -1
  2. package/.dist/actioniq/connection.json +16 -0
  3. package/.dist/actioniq/kit.etag.json +1 -1
  4. package/.dist/actioniq/metadata.json +4 -0
  5. package/.dist/actioniq/playbook.etag.json +1 -1
  6. package/.dist/actioniq/playbook.json +1 -1
  7. package/.dist/acuity-ads/connection.etag.json +1 -1
  8. package/.dist/acuity-ads/connection.json +4 -0
  9. package/.dist/acuity-ads/kit.etag.json +1 -1
  10. package/.dist/acuity-ads/metadata.json +4 -0
  11. package/.dist/acuity-ads/playbook.etag.json +1 -1
  12. package/.dist/acuity-ads/playbook.json +1 -1
  13. package/.dist/adobe-analytics/kit.etag.json +1 -1
  14. package/.dist/adobe-analytics/metadata.json +4 -0
  15. package/.dist/adobe-analytics/playbook.etag.json +1 -1
  16. package/.dist/adobe-analytics/playbook.json +14 -2
  17. package/.dist/adobe-id/connection.etag.json +1 -1
  18. package/.dist/adobe-id/connection.json +4 -0
  19. package/.dist/adobe-id/kit.etag.json +1 -1
  20. package/.dist/adobe-id/metadata.json +4 -0
  21. package/.dist/adobe-id/playbook.etag.json +1 -1
  22. package/.dist/adobe-id/playbook.json +1 -1
  23. package/.dist/amnet/connection.etag.json +1 -1
  24. package/.dist/amnet/connection.json +4 -0
  25. package/.dist/amnet/kit.etag.json +1 -1
  26. package/.dist/amnet/metadata.json +4 -0
  27. package/.dist/amnet/playbook.etag.json +1 -1
  28. package/.dist/amnet/playbook.json +1 -1
  29. package/.dist/amobee/connection.etag.json +1 -1
  30. package/.dist/amobee/connection.json +7 -1
  31. package/.dist/amobee/kit.etag.json +1 -1
  32. package/.dist/amobee/metadata.json +4 -0
  33. package/.dist/amobee/playbook.etag.json +1 -1
  34. package/.dist/amobee/playbook.json +1 -1
  35. package/.dist/amperity/kit.etag.json +1 -1
  36. package/.dist/amperity/metadata.json +4 -0
  37. package/.dist/amperity/playbook.etag.json +1 -1
  38. package/.dist/amperity/playbook.json +1 -1
  39. package/.dist/amplitude/connection.etag.json +1 -1
  40. package/.dist/amplitude/connection.json +4 -0
  41. package/.dist/amplitude/kit.etag.json +1 -1
  42. package/.dist/amplitude/metadata.json +4 -0
  43. package/.dist/amplitude/playbook.etag.json +1 -1
  44. package/.dist/amplitude/playbook.json +1 -1
  45. package/.dist/apps-flyer-android/connection.etag.json +1 -1
  46. package/.dist/apps-flyer-android/connection.json +4 -0
  47. package/.dist/apps-flyer-android/kit.etag.json +1 -1
  48. package/.dist/apps-flyer-android/metadata.json +4 -0
  49. package/.dist/apps-flyer-android/playbook.etag.json +1 -1
  50. package/.dist/apps-flyer-android/playbook.json +1 -1
  51. package/.dist/apps-flyer-ios/connection.etag.json +1 -1
  52. package/.dist/apps-flyer-ios/connection.json +4 -0
  53. package/.dist/apps-flyer-ios/kit.etag.json +1 -1
  54. package/.dist/apps-flyer-ios/metadata.json +4 -0
  55. package/.dist/apps-flyer-ios/playbook.etag.json +1 -1
  56. package/.dist/apps-flyer-ios/playbook.json +1 -1
  57. package/.dist/bing-ads/connection.etag.json +1 -1
  58. package/.dist/bing-ads/connection.json +7 -1
  59. package/.dist/bing-ads/kit.etag.json +1 -1
  60. package/.dist/bing-ads/metadata.json +4 -0
  61. package/.dist/bing-ads/playbook.etag.json +1 -1
  62. package/.dist/bing-ads/playbook.json +1 -1
  63. package/.dist/blueshift/connection.etag.json +1 -1
  64. package/.dist/blueshift/connection.json +12 -3
  65. package/.dist/blueshift/kit.etag.json +1 -1
  66. package/.dist/blueshift/metadata.json +8 -0
  67. package/.dist/blueshift/playbook.etag.json +1 -1
  68. package/.dist/blueshift/playbook.json +497 -1
  69. package/.dist/clinch/connection.etag.json +1 -1
  70. package/.dist/clinch/connection.json +4 -0
  71. package/.dist/clinch/kit.etag.json +1 -1
  72. package/.dist/clinch/metadata.json +4 -0
  73. package/.dist/clinch/playbook.etag.json +1 -1
  74. package/.dist/clinch/playbook.json +1 -1
  75. package/.dist/commission-junction/connection.etag.json +1 -1
  76. package/.dist/commission-junction/connection.json +4 -0
  77. package/.dist/commission-junction/kit.etag.json +1 -1
  78. package/.dist/commission-junction/metadata.json +4 -0
  79. package/.dist/commission-junction/playbook.etag.json +1 -1
  80. package/.dist/commission-junction/playbook.json +1 -1
  81. package/.dist/convert/connection.etag.json +1 -1
  82. package/.dist/convert/connection.json +1 -1
  83. package/.dist/convert/kit.etag.json +1 -1
  84. package/.dist/convert/metadata.json +4 -0
  85. package/.dist/convert/playbook.etag.json +1 -1
  86. package/.dist/convert/playbook.json +1 -1
  87. package/.dist/criteo/connection.etag.json +1 -1
  88. package/.dist/criteo/connection.json +1 -1
  89. package/.dist/criteo/kit.etag.json +1 -1
  90. package/.dist/criteo/metadata.json +4 -0
  91. package/.dist/criteo/playbook.etag.json +1 -1
  92. package/.dist/criteo/playbook.json +1 -1
  93. package/.dist/customer-io/connection.etag.json +1 -1
  94. package/.dist/customer-io/connection.json +8 -0
  95. package/.dist/customer-io/kit.etag.json +1 -1
  96. package/.dist/customer-io/metadata.json +4 -0
  97. package/.dist/customer-io/playbook.etag.json +1 -1
  98. package/.dist/customer-io/playbook.json +1 -1
  99. package/.dist/facebook-pixel/connection.etag.json +1 -1
  100. package/.dist/facebook-pixel/connection.json +6 -0
  101. package/.dist/facebook-pixel/kit.etag.json +1 -1
  102. package/.dist/facebook-pixel/metadata.json +4 -0
  103. package/.dist/facebook-pixel/playbook.etag.json +1 -1
  104. package/.dist/facebook-pixel/playbook.json +1 -1
  105. package/.dist/google-ads/kit.etag.json +1 -1
  106. package/.dist/google-ads/metadata.json +4 -0
  107. package/.dist/google-ads/playbook.etag.json +1 -1
  108. package/.dist/google-ads/playbook.json +1 -1
  109. package/.dist/google-analytics-4-collect/connection.etag.json +1 -1
  110. package/.dist/google-analytics-4-collect/connection.json +4 -0
  111. package/.dist/google-analytics-4-collect/kit.etag.json +1 -1
  112. package/.dist/google-analytics-4-collect/metadata.json +4 -0
  113. package/.dist/google-analytics-4-collect/playbook.etag.json +1 -1
  114. package/.dist/google-analytics-4-collect/playbook.json +1 -1
  115. package/.dist/google-firebase/connection.etag.json +1 -1
  116. package/.dist/google-firebase/connection.json +1 -1
  117. package/.dist/google-firebase/kit.etag.json +1 -1
  118. package/.dist/google-firebase/metadata.json +4 -0
  119. package/.dist/google-firebase/playbook.etag.json +1 -1
  120. package/.dist/google-firebase/playbook.json +1 -1
  121. package/.dist/heap/connection.etag.json +1 -1
  122. package/.dist/heap/connection.json +2 -2
  123. package/.dist/heap/kit.etag.json +1 -1
  124. package/.dist/heap/metadata.json +4 -0
  125. package/.dist/heap/playbook.etag.json +1 -1
  126. package/.dist/heap/playbook.json +1 -1
  127. package/.dist/hubspot-event/connection.etag.json +1 -1
  128. package/.dist/hubspot-event/connection.json +4 -0
  129. package/.dist/hubspot-event/kit.etag.json +1 -1
  130. package/.dist/hubspot-event/metadata.json +4 -0
  131. package/.dist/hubspot-event/playbook.etag.json +1 -1
  132. package/.dist/hubspot-event/playbook.json +1 -1
  133. package/.dist/impact-radius/connection.etag.json +1 -1
  134. package/.dist/impact-radius/connection.json +12 -0
  135. package/.dist/impact-radius/kit.etag.json +1 -1
  136. package/.dist/impact-radius/metadata.json +4 -0
  137. package/.dist/impact-radius/playbook.etag.json +1 -1
  138. package/.dist/impact-radius/playbook.json +1 -1
  139. package/.dist/in-market/connection.etag.json +1 -1
  140. package/.dist/in-market/connection.json +6 -0
  141. package/.dist/in-market/kit.etag.json +1 -1
  142. package/.dist/in-market/metadata.json +4 -0
  143. package/.dist/in-market/playbook.etag.json +1 -1
  144. package/.dist/in-market/playbook.json +1 -1
  145. package/.dist/kochava/connection.etag.json +1 -1
  146. package/.dist/kochava/connection.json +12 -0
  147. package/.dist/kochava/kit.etag.json +1 -1
  148. package/.dist/kochava/metadata.json +4 -0
  149. package/.dist/kochava/playbook.etag.json +1 -1
  150. package/.dist/kochava/playbook.json +1 -1
  151. package/.dist/lytics/connection.etag.json +1 -1
  152. package/.dist/lytics/connection.json +4 -0
  153. package/.dist/lytics/kit.etag.json +1 -1
  154. package/.dist/lytics/metadata.json +4 -0
  155. package/.dist/lytics/playbook.etag.json +1 -1
  156. package/.dist/lytics/playbook.json +1 -1
  157. package/.dist/magellan-ai/connection.etag.json +1 -1
  158. package/.dist/magellan-ai/connection.json +4 -0
  159. package/.dist/magellan-ai/kit.etag.json +1 -1
  160. package/.dist/magellan-ai/metadata.json +4 -0
  161. package/.dist/magellan-ai/playbook.etag.json +1 -1
  162. package/.dist/magellan-ai/playbook.json +1 -1
  163. package/.dist/merkle/connection.etag.json +1 -1
  164. package/.dist/merkle/connection.json +4 -0
  165. package/.dist/merkle/kit.etag.json +1 -1
  166. package/.dist/merkle/metadata.json +4 -0
  167. package/.dist/merkle/playbook.etag.json +1 -1
  168. package/.dist/merkle/playbook.json +1 -1
  169. package/.dist/miq-xandr/connection.etag.json +1 -1
  170. package/.dist/miq-xandr/connection.json +4 -0
  171. package/.dist/miq-xandr/kit.etag.json +1 -1
  172. package/.dist/miq-xandr/metadata.json +4 -0
  173. package/.dist/miq-xandr/playbook.etag.json +1 -1
  174. package/.dist/miq-xandr/playbook.json +1 -1
  175. package/.dist/mixpanel/connection.etag.json +1 -1
  176. package/.dist/mixpanel/connection.json +4 -0
  177. package/.dist/mixpanel/kit.etag.json +1 -1
  178. package/.dist/mixpanel/metadata.json +4 -0
  179. package/.dist/mixpanel/playbook.etag.json +1 -1
  180. package/.dist/mixpanel/playbook.json +1 -1
  181. package/.dist/movable-ink/connection.etag.json +1 -1
  182. package/.dist/movable-ink/connection.json +4 -0
  183. package/.dist/movable-ink/kit.etag.json +1 -1
  184. package/.dist/movable-ink/metadata.json +4 -0
  185. package/.dist/movable-ink/playbook.etag.json +1 -1
  186. package/.dist/movable-ink/playbook.json +1 -1
  187. package/.dist/movable-ink-customer-data/connection.etag.json +1 -1
  188. package/.dist/movable-ink-customer-data/connection.json +4 -0
  189. package/.dist/movable-ink-customer-data/kit.etag.json +1 -1
  190. package/.dist/movable-ink-customer-data/metadata.json +4 -0
  191. package/.dist/movable-ink-customer-data/playbook.etag.json +1 -1
  192. package/.dist/movable-ink-customer-data/playbook.json +1 -1
  193. package/.dist/nextdoor-capi/connection.etag.json +1 -1
  194. package/.dist/nextdoor-capi/connection.json +4 -0
  195. package/.dist/nextdoor-capi/kit.etag.json +1 -1
  196. package/.dist/nextdoor-capi/metadata.json +4 -0
  197. package/.dist/nextdoor-capi/playbook.etag.json +1 -1
  198. package/.dist/nextdoor-capi/playbook.json +1 -1
  199. package/.dist/pinterest/connection.etag.json +1 -1
  200. package/.dist/pinterest/connection.json +8 -0
  201. package/.dist/pinterest/kit.etag.json +1 -1
  202. package/.dist/pinterest/metadata.json +4 -0
  203. package/.dist/pinterest/playbook.etag.json +1 -1
  204. package/.dist/pinterest/playbook.json +1 -1
  205. package/.dist/pinterest-capi/connection.etag.json +1 -1
  206. package/.dist/pinterest-capi/connection.json +4 -0
  207. package/.dist/pinterest-capi/kit.etag.json +1 -1
  208. package/.dist/pinterest-capi/metadata.json +4 -0
  209. package/.dist/pinterest-capi/playbook.etag.json +1 -1
  210. package/.dist/pinterest-capi/playbook.json +1 -1
  211. package/.dist/podsights/connection.etag.json +1 -1
  212. package/.dist/podsights/connection.json +6 -0
  213. package/.dist/podsights/kit.etag.json +1 -1
  214. package/.dist/podsights/metadata.json +4 -0
  215. package/.dist/podsights/playbook.etag.json +1 -1
  216. package/.dist/podsights/playbook.json +1 -1
  217. package/.dist/reddit-ads/connection.etag.json +1 -1
  218. package/.dist/reddit-ads/connection.json +4 -0
  219. package/.dist/reddit-ads/kit.etag.json +1 -1
  220. package/.dist/reddit-ads/metadata.json +4 -0
  221. package/.dist/reddit-ads/playbook.etag.json +1 -1
  222. package/.dist/reddit-ads/playbook.json +1 -1
  223. package/.dist/rev-jet/connection.etag.json +1 -1
  224. package/.dist/rev-jet/connection.json +6 -0
  225. package/.dist/rev-jet/kit.etag.json +1 -1
  226. package/.dist/rev-jet/metadata.json +4 -0
  227. package/.dist/rev-jet/playbook.etag.json +1 -1
  228. package/.dist/rev-jet/playbook.json +1 -1
  229. package/.dist/roku/connection.etag.json +1 -1
  230. package/.dist/roku/connection.json +4 -0
  231. package/.dist/roku/kit.etag.json +1 -1
  232. package/.dist/roku/metadata.json +4 -0
  233. package/.dist/roku/playbook.etag.json +1 -1
  234. package/.dist/roku/playbook.json +1 -1
  235. package/.dist/roomvo/connection.etag.json +1 -1
  236. package/.dist/roomvo/connection.json +6 -0
  237. package/.dist/roomvo/kit.etag.json +1 -1
  238. package/.dist/roomvo/metadata.json +4 -0
  239. package/.dist/roomvo/playbook.etag.json +1 -1
  240. package/.dist/roomvo/playbook.json +1 -1
  241. package/.dist/salesforce-cdp/connection.etag.json +1 -1
  242. package/.dist/salesforce-cdp/connection.json +32 -0
  243. package/.dist/salesforce-cdp/kit.etag.json +1 -1
  244. package/.dist/salesforce-cdp/metadata.json +4 -0
  245. package/.dist/salesforce-cdp/playbook.etag.json +1 -1
  246. package/.dist/salesforce-cdp/playbook.json +1 -1
  247. package/.dist/snapchat/connection.etag.json +1 -1
  248. package/.dist/snapchat/connection.json +4 -0
  249. package/.dist/snapchat/kit.etag.json +1 -1
  250. package/.dist/snapchat/metadata.json +4 -0
  251. package/.dist/snapchat/playbook.etag.json +1 -1
  252. package/.dist/snapchat/playbook.json +1 -1
  253. package/.dist/snapchat-capi/connection.etag.json +1 -1
  254. package/.dist/snapchat-capi/connection.json +4 -0
  255. package/.dist/snapchat-capi/kit.etag.json +1 -1
  256. package/.dist/snapchat-capi/metadata.json +4 -0
  257. package/.dist/snapchat-capi/playbook.etag.json +1 -1
  258. package/.dist/snapchat-capi/playbook.json +1 -1
  259. package/.dist/thetradedesk-conversion-events/connection.etag.json +1 -1
  260. package/.dist/thetradedesk-conversion-events/connection.json +4 -0
  261. package/.dist/thetradedesk-conversion-events/kit.etag.json +1 -1
  262. package/.dist/thetradedesk-conversion-events/metadata.json +4 -0
  263. package/.dist/thetradedesk-conversion-events/playbook.etag.json +1 -1
  264. package/.dist/thetradedesk-conversion-events/playbook.json +1 -1
  265. package/.dist/thetradedesk-data-advertiser-firstparty/connection.etag.json +1 -1
  266. package/.dist/thetradedesk-data-advertiser-firstparty/connection.json +4 -0
  267. package/.dist/thetradedesk-data-advertiser-firstparty/kit.etag.json +1 -1
  268. package/.dist/thetradedesk-data-advertiser-firstparty/metadata.json +4 -0
  269. package/.dist/thetradedesk-data-advertiser-firstparty/playbook.etag.json +1 -1
  270. package/.dist/thetradedesk-data-advertiser-firstparty/playbook.json +1 -1
  271. package/.dist/tiktok/connection.etag.json +1 -1
  272. package/.dist/tiktok/connection.json +4 -0
  273. package/.dist/tiktok/kit.etag.json +1 -1
  274. package/.dist/tiktok/metadata.json +4 -0
  275. package/.dist/tiktok/playbook.etag.json +1 -1
  276. package/.dist/tiktok/playbook.json +1 -1
  277. package/.dist/twitter-conversions/kit.etag.json +1 -1
  278. package/.dist/twitter-conversions/metadata.json +4 -0
  279. package/.dist/twitter-conversions/playbook.etag.json +1 -1
  280. package/.dist/twitter-conversions/playbook.json +1 -1
  281. package/.dist/verizon-media/connection.etag.json +1 -1
  282. package/.dist/verizon-media/connection.json +4 -0
  283. package/.dist/verizon-media/kit.etag.json +1 -1
  284. package/.dist/verizon-media/metadata.json +4 -0
  285. package/.dist/verizon-media/playbook.etag.json +1 -1
  286. package/.dist/verizon-media/playbook.json +1 -1
  287. package/.dist/videoamp/connection.etag.json +1 -1
  288. package/.dist/videoamp/connection.json +6 -0
  289. package/.dist/videoamp/kit.etag.json +1 -1
  290. package/.dist/videoamp/metadata.json +4 -0
  291. package/.dist/videoamp/playbook.etag.json +1 -1
  292. package/.dist/videoamp/playbook.json +1 -1
  293. package/.dist/xandr/connection.etag.json +1 -1
  294. package/.dist/xandr/connection.json +4 -0
  295. package/.dist/xandr/kit.etag.json +1 -1
  296. package/.dist/xandr/metadata.json +4 -0
  297. package/.dist/xandr/playbook.etag.json +1 -1
  298. package/.dist/xandr/playbook.json +1 -1
  299. package/.dist/yahoo-enhanced-attribution/connection.etag.json +1 -1
  300. package/.dist/yahoo-enhanced-attribution/connection.json +6 -1
  301. package/.dist/yahoo-enhanced-attribution/kit.etag.json +1 -1
  302. package/.dist/yahoo-enhanced-attribution/metadata.json +8 -0
  303. package/.dist/yahoo-enhanced-attribution/playbook.etag.json +1 -1
  304. package/.dist/yahoo-enhanced-attribution/playbook.json +1 -1
  305. package/.dist/yahoo-offline-conversion/connection.etag.json +1 -1
  306. package/.dist/yahoo-offline-conversion/connection.json +8 -1
  307. package/.dist/yahoo-offline-conversion/kit.etag.json +1 -1
  308. package/.dist/yahoo-offline-conversion/metadata.json +8 -0
  309. package/.dist/yahoo-offline-conversion/playbook.etag.json +1 -1
  310. package/.dist/yahoo-offline-conversion/playbook.json +1 -1
  311. package/.dist/zeotap/connection.etag.json +1 -1
  312. package/.dist/zeotap/connection.json +4 -0
  313. package/.dist/zeotap/kit.etag.json +1 -1
  314. package/.dist/zeotap/metadata.json +4 -0
  315. package/.dist/zeotap/playbook.etag.json +1 -1
  316. package/.dist/zeotap/playbook.json +1 -1
  317. package/README.md +100 -104
  318. package/package.json +1 -1
@@ -1,3 +1,499 @@
1
1
  {
2
- "version": "0.1.0"
2
+ "version": "0.3.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
- "1fc63b74a748fc696e5fd9e74fbc26dc"
1
+ "a99537b00a591a3a99460c6de1bdfd08"
@@ -3,6 +3,10 @@
3
3
  "endpoint": "https://trk.clinch.co/trk",
4
4
  "method": "GET",
5
5
  "headers": [
6
+ {
7
+ "key": "Accept-Encoding",
8
+ "value": "application/json"
9
+ },
6
10
  {
7
11
  "key": "Content-Type",
8
12
  "value": "application/json"
@@ -1 +1 @@
1
- "b8b63b5239addeb22d2d845c5ca6c210"
1
+ "a3cf3fffc25eb8a3f096413fd14c00f4"
@@ -28,6 +28,10 @@
28
28
  {
29
29
  "date": "2024-08-22T00:00:00.000Z",
30
30
  "note": "Version 1.1.0\ntimestamp field is used as the event time"
31
+ },
32
+ {
33
+ "date": "2024-10-23T00:00:00.000Z",
34
+ "note": "Version: 1.2.0\nAdded header `Accept-Encoding: application/json`"
31
35
  }
32
36
  ]
33
37
  }
@@ -1 +1 @@
1
- "2af5176c28dc98affce6dbeabce20b64"
1
+ "c02fc7982169ae2461fdaed6d6b32f11"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.0",
2
+ "version": "1.2.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "CLIENT_ID",
@@ -1 +1 @@
1
- "ed3de2ebee6666aa013cb7aa239592c1"
1
+ "89147c2d0b679864f0d08c9db11de8ce"
@@ -14,6 +14,10 @@
14
14
  "batchSize": 500,
15
15
  "method": "POST",
16
16
  "headers": [
17
+ {
18
+ "key": "Accept-Encoding",
19
+ "value": "application/json"
20
+ },
17
21
  {
18
22
  "key": "Authorization",
19
23
  "value": "Bearer $$ACCESS_TOKEN$$"
@@ -1 +1 @@
1
- "6b09f506e395defab442d62d23c0cf06"
1
+ "6f43ee847118ef5e0ebccff385393144"
@@ -32,6 +32,10 @@
32
32
  {
33
33
  "date": "2024-08-22T00:00:00.000Z",
34
34
  "note": "Version 1.1.0\ntimestamp field is used as the event time"
35
+ },
36
+ {
37
+ "date": "2024-10-23T00:00:00.000Z",
38
+ "note": "Version: 1.2.0\nAdded header `Accept-Encoding: application/json`"
35
39
  }
36
40
  ]
37
41
  }
@@ -1 +1 @@
1
- "57237b1d199e5f2fe004249efb928163"
1
+ "fd1bd3211688b8a8930ee3c2da1719b0"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.0",
2
+ "version": "1.2.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "ENTERPRISE_ID",
@@ -1 +1 @@
1
- "f76e21ba19d19a5876d05fbef7a2a62f"
1
+ "eb5d387a3cb4434037961bda88546a19"
@@ -15,7 +15,7 @@
15
15
  },
16
16
  {
17
17
  "key": "Accept-Encoding",
18
- "value": "gzip, compress, br"
18
+ "value": "application/json"
19
19
  },
20
20
  {
21
21
  "key": "User-Agent",
@@ -1 +1 @@
1
- "dca5353820f090955827bbc996138ccb"
1
+ "8128321330d2ffe6b5feb0440a52d27d"
@@ -20,6 +20,10 @@
20
20
  {
21
21
  "date": "2023-12-13T00:00:00.000Z",
22
22
  "note": "Marked as unstable version: 0.1.0"
23
+ },
24
+ {
25
+ "date": "2024-10-23T00:00:00.000Z",
26
+ "note": "Version: 0.2.0\nUpdated header `Accept-Encoding: application/json`"
23
27
  }
24
28
  ]
25
29
  }
@@ -1 +1 @@
1
- "bcb4e3bab80d545c9f5490ea2be5973d"
1
+ "463bb879e313087fb076c749fe7637f5"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.2.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "ACCOUNT_ID",
@@ -1 +1 @@
1
- "526713ff0a5f473df5c1dc0426ed3f3e"
1
+ "f91e4e9bfff2c0a109fd5b0f5359d382"
@@ -34,7 +34,7 @@
34
34
  },
35
35
  {
36
36
  "key": "Accept-Encoding",
37
- "value": "json"
37
+ "value": "application/json"
38
38
  }
39
39
  ]
40
40
  }
@@ -1 +1 @@
1
- "72e121e2769564b81cb1bdf0cad58686"
1
+ "ae11681d7fd36b3fcdc45310e8f81c76"
@@ -32,6 +32,10 @@
32
32
  {
33
33
  "date": "2024-05-15T00:00:00.000Z",
34
34
  "note": "Stable release version: 1.0.0."
35
+ },
36
+ {
37
+ "date": "2024-10-23T00:00:00.000Z",
38
+ "note": "Version: 1.1.0\nAdded header `Accept-Encoding: application/json`"
35
39
  }
36
40
  ]
37
41
  }
@@ -1 +1 @@
1
- "fa41695c000ac5b2777c6fddb07573c3"
1
+ "49767f7fabc7c6c4dd76fa9e59d03c9f"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0",
3
3
  "params": [
4
4
  {
5
5
  "name": "PARTNER_ID",
@@ -1 +1 @@
1
- "295069460d88aee0a2fb5c1a425bc1a1"
1
+ "f5d682f11429970488a480da28280e61"