@metarouter/ajs-starter-kit 1.0.140 → 1.0.142

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 (292) hide show
  1. package/.dist/actioniq/connection.etag.json +1 -1
  2. package/.dist/actioniq/kit.etag.json +1 -1
  3. package/.dist/actioniq/playbook.etag.json +1 -1
  4. package/.dist/acuity-ads/connection.etag.json +1 -1
  5. package/.dist/acuity-ads/kit.etag.json +1 -1
  6. package/.dist/acuity-ads/playbook.etag.json +1 -1
  7. package/.dist/adjust/connection.etag.json +1 -0
  8. package/.dist/adjust/connection.json +42 -0
  9. package/.dist/adjust/kit.etag.json +1 -0
  10. package/.dist/adjust/metadata.json +21 -0
  11. package/.dist/adjust/playbook.etag.json +1 -0
  12. package/.dist/adjust/playbook.json +420 -0
  13. package/.dist/adobe-experience-platform-interact/connection.etag.json +1 -1
  14. package/.dist/adobe-experience-platform-interact/kit.etag.json +1 -1
  15. package/.dist/adobe-experience-platform-interact/playbook.etag.json +1 -1
  16. package/.dist/adobe-id/connection.etag.json +1 -1
  17. package/.dist/adobe-id/kit.etag.json +1 -1
  18. package/.dist/adobe-id/playbook.etag.json +1 -1
  19. package/.dist/adroll/connection.etag.json +1 -1
  20. package/.dist/adroll/kit.etag.json +1 -1
  21. package/.dist/adroll/playbook.etag.json +1 -1
  22. package/.dist/amazon-data-firehose/connection.etag.json +1 -1
  23. package/.dist/amazon-data-firehose/kit.etag.json +1 -1
  24. package/.dist/amazon-data-firehose/playbook.etag.json +1 -1
  25. package/.dist/amazon-dsp-capi/connection.etag.json +1 -1
  26. package/.dist/amazon-dsp-capi/kit.etag.json +1 -1
  27. package/.dist/amazon-dsp-capi/playbook.etag.json +1 -1
  28. package/.dist/amazon-kinesis/connection.etag.json +1 -1
  29. package/.dist/amazon-kinesis/kit.etag.json +1 -1
  30. package/.dist/amazon-kinesis/playbook.etag.json +1 -1
  31. package/.dist/amnet/connection.etag.json +1 -1
  32. package/.dist/amnet/kit.etag.json +1 -1
  33. package/.dist/amnet/playbook.etag.json +1 -1
  34. package/.dist/amobee/connection.etag.json +1 -1
  35. package/.dist/amobee/kit.etag.json +1 -1
  36. package/.dist/amobee/playbook.etag.json +1 -1
  37. package/.dist/amperity/connection.etag.json +1 -1
  38. package/.dist/amperity/kit.etag.json +1 -1
  39. package/.dist/amperity/playbook.etag.json +1 -1
  40. package/.dist/amplitude/connection.etag.json +1 -1
  41. package/.dist/amplitude/kit.etag.json +1 -1
  42. package/.dist/amplitude/playbook.etag.json +1 -1
  43. package/.dist/apps-flyer-android/connection.etag.json +1 -1
  44. package/.dist/apps-flyer-android/kit.etag.json +1 -1
  45. package/.dist/apps-flyer-android/playbook.etag.json +1 -1
  46. package/.dist/apps-flyer-ios/connection.etag.json +1 -1
  47. package/.dist/apps-flyer-ios/kit.etag.json +1 -1
  48. package/.dist/apps-flyer-ios/playbook.etag.json +1 -1
  49. package/.dist/awin/connection.etag.json +1 -1
  50. package/.dist/awin/kit.etag.json +1 -1
  51. package/.dist/awin/playbook.etag.json +1 -1
  52. package/.dist/bing-ads/connection.etag.json +1 -1
  53. package/.dist/bing-ads/kit.etag.json +1 -1
  54. package/.dist/bing-ads/playbook.etag.json +1 -1
  55. package/.dist/blob/connection.etag.json +1 -1
  56. package/.dist/blob/kit.etag.json +1 -1
  57. package/.dist/blob/playbook.etag.json +1 -1
  58. package/.dist/bloomreach/connection.etag.json +1 -1
  59. package/.dist/bloomreach/kit.etag.json +1 -1
  60. package/.dist/bloomreach/playbook.etag.json +1 -1
  61. package/.dist/blueshift/connection.etag.json +1 -1
  62. package/.dist/blueshift/kit.etag.json +1 -1
  63. package/.dist/blueshift/playbook.etag.json +1 -1
  64. package/.dist/braze/connection.etag.json +1 -1
  65. package/.dist/braze/kit.etag.json +1 -1
  66. package/.dist/braze/playbook.etag.json +1 -1
  67. package/.dist/build-your-own/connection.etag.json +1 -1
  68. package/.dist/build-your-own/kit.etag.json +1 -1
  69. package/.dist/build-your-own/playbook.etag.json +1 -1
  70. package/.dist/button/connection.etag.json +1 -1
  71. package/.dist/button/kit.etag.json +1 -1
  72. package/.dist/button/playbook.etag.json +1 -1
  73. package/.dist/clinch/connection.etag.json +1 -1
  74. package/.dist/clinch/kit.etag.json +1 -1
  75. package/.dist/clinch/playbook.etag.json +1 -1
  76. package/.dist/commission-junction/connection.etag.json +1 -1
  77. package/.dist/commission-junction/kit.etag.json +1 -1
  78. package/.dist/commission-junction/playbook.etag.json +1 -1
  79. package/.dist/convert/connection.etag.json +1 -1
  80. package/.dist/convert/kit.etag.json +1 -1
  81. package/.dist/convert/playbook.etag.json +1 -1
  82. package/.dist/criteo/connection.etag.json +1 -1
  83. package/.dist/criteo/kit.etag.json +1 -1
  84. package/.dist/criteo/playbook.etag.json +1 -1
  85. package/.dist/customer-io/connection.etag.json +1 -1
  86. package/.dist/customer-io/kit.etag.json +1 -1
  87. package/.dist/customer-io/playbook.etag.json +1 -1
  88. package/.dist/facebook-pixel/connection.etag.json +1 -1
  89. package/.dist/facebook-pixel/kit.etag.json +1 -1
  90. package/.dist/facebook-pixel/playbook.etag.json +1 -1
  91. package/.dist/gcs/connection.etag.json +1 -1
  92. package/.dist/gcs/kit.etag.json +1 -1
  93. package/.dist/gcs/playbook.etag.json +1 -1
  94. package/.dist/google-ad-words/connection.etag.json +1 -1
  95. package/.dist/google-ad-words/kit.etag.json +1 -1
  96. package/.dist/google-ad-words/playbook.etag.json +1 -1
  97. package/.dist/google-ads/connection.etag.json +1 -1
  98. package/.dist/google-ads/kit.etag.json +1 -1
  99. package/.dist/google-ads/playbook.etag.json +1 -1
  100. package/.dist/google-ads-audience/connection.etag.json +1 -1
  101. package/.dist/google-ads-audience/kit.etag.json +1 -1
  102. package/.dist/google-ads-audience/playbook.etag.json +1 -1
  103. package/.dist/google-analytics/connection.etag.json +1 -1
  104. package/.dist/google-analytics/kit.etag.json +1 -1
  105. package/.dist/google-analytics/playbook.etag.json +1 -1
  106. package/.dist/google-analytics-4/connection.etag.json +1 -1
  107. package/.dist/google-analytics-4/kit.etag.json +1 -1
  108. package/.dist/google-analytics-4/playbook.etag.json +1 -1
  109. package/.dist/google-analytics-4-collect/connection.etag.json +1 -1
  110. package/.dist/google-analytics-4-collect/kit.etag.json +1 -1
  111. package/.dist/google-analytics-4-collect/playbook.etag.json +1 -1
  112. package/.dist/google-bigquery-streaming/connection.etag.json +1 -1
  113. package/.dist/google-bigquery-streaming/kit.etag.json +1 -1
  114. package/.dist/google-bigquery-streaming/playbook.etag.json +1 -1
  115. package/.dist/google-cm360/connection.etag.json +1 -1
  116. package/.dist/google-cm360/kit.etag.json +1 -1
  117. package/.dist/google-cm360/playbook.etag.json +1 -1
  118. package/.dist/google-firebase/connection.etag.json +1 -1
  119. package/.dist/google-firebase/kit.etag.json +1 -1
  120. package/.dist/google-firebase/playbook.etag.json +1 -1
  121. package/.dist/google-pubsub/connection.etag.json +1 -1
  122. package/.dist/google-pubsub/kit.etag.json +1 -1
  123. package/.dist/google-pubsub/playbook.etag.json +1 -1
  124. package/.dist/heap/connection.etag.json +1 -1
  125. package/.dist/heap/kit.etag.json +1 -1
  126. package/.dist/heap/playbook.etag.json +1 -1
  127. package/.dist/hubspot-event/connection.etag.json +1 -1
  128. package/.dist/hubspot-event/kit.etag.json +1 -1
  129. package/.dist/hubspot-event/playbook.etag.json +1 -1
  130. package/.dist/impact-radius/connection.etag.json +1 -1
  131. package/.dist/impact-radius/kit.etag.json +1 -1
  132. package/.dist/impact-radius/playbook.etag.json +1 -1
  133. package/.dist/in-market/connection.etag.json +1 -1
  134. package/.dist/in-market/kit.etag.json +1 -1
  135. package/.dist/in-market/playbook.etag.json +1 -1
  136. package/.dist/iterable/connection.etag.json +1 -1
  137. package/.dist/iterable/kit.etag.json +1 -1
  138. package/.dist/iterable/metadata.json +5 -1
  139. package/.dist/iterable/playbook.etag.json +1 -1
  140. package/.dist/iterable/playbook.json +1 -1
  141. package/.dist/kafka/connection.etag.json +1 -1
  142. package/.dist/kafka/kit.etag.json +1 -1
  143. package/.dist/kafka/playbook.etag.json +1 -1
  144. package/.dist/kochava/connection.etag.json +1 -1
  145. package/.dist/kochava/kit.etag.json +1 -1
  146. package/.dist/kochava/playbook.etag.json +1 -1
  147. package/.dist/kochava-identitylink/connection.etag.json +1 -1
  148. package/.dist/kochava-identitylink/kit.etag.json +1 -1
  149. package/.dist/kochava-identitylink/playbook.etag.json +1 -1
  150. package/.dist/linkedin-conversions/connection.etag.json +1 -1
  151. package/.dist/linkedin-conversions/kit.etag.json +1 -1
  152. package/.dist/linkedin-conversions/playbook.etag.json +1 -1
  153. package/.dist/lytics/connection.etag.json +1 -1
  154. package/.dist/lytics/kit.etag.json +1 -1
  155. package/.dist/lytics/playbook.etag.json +1 -1
  156. package/.dist/magellan-ai/connection.etag.json +1 -1
  157. package/.dist/magellan-ai/kit.etag.json +1 -1
  158. package/.dist/magellan-ai/playbook.etag.json +1 -1
  159. package/.dist/media-math/connection.etag.json +1 -1
  160. package/.dist/media-math/kit.etag.json +1 -1
  161. package/.dist/media-math/playbook.etag.json +1 -1
  162. package/.dist/merkle/connection.etag.json +1 -1
  163. package/.dist/merkle/kit.etag.json +1 -1
  164. package/.dist/merkle/playbook.etag.json +1 -1
  165. package/.dist/microsoft-ads/connection.etag.json +1 -1
  166. package/.dist/microsoft-ads/kit.etag.json +1 -1
  167. package/.dist/microsoft-ads/playbook.etag.json +1 -1
  168. package/.dist/microsoft-ads-capi/connection.etag.json +1 -0
  169. package/.dist/microsoft-ads-capi/connection.json +37 -0
  170. package/.dist/microsoft-ads-capi/kit.etag.json +1 -0
  171. package/.dist/microsoft-ads-capi/metadata.json +21 -0
  172. package/.dist/microsoft-ads-capi/playbook.etag.json +1 -0
  173. package/.dist/microsoft-ads-capi/playbook.json +549 -0
  174. package/.dist/miq-xandr/connection.etag.json +1 -1
  175. package/.dist/miq-xandr/kit.etag.json +1 -1
  176. package/.dist/miq-xandr/playbook.etag.json +1 -1
  177. package/.dist/mixpanel/connection.etag.json +1 -1
  178. package/.dist/mixpanel/kit.etag.json +1 -1
  179. package/.dist/mixpanel/playbook.etag.json +1 -1
  180. package/.dist/moloco-commerce-media/connection.etag.json +1 -1
  181. package/.dist/moloco-commerce-media/kit.etag.json +1 -1
  182. package/.dist/moloco-commerce-media/playbook.etag.json +1 -1
  183. package/.dist/movable-ink/connection.etag.json +1 -1
  184. package/.dist/movable-ink/kit.etag.json +1 -1
  185. package/.dist/movable-ink/playbook.etag.json +1 -1
  186. package/.dist/movable-ink-customer-data/connection.etag.json +1 -1
  187. package/.dist/movable-ink-customer-data/kit.etag.json +1 -1
  188. package/.dist/movable-ink-customer-data/playbook.etag.json +1 -1
  189. package/.dist/nextdoor/connection.etag.json +1 -1
  190. package/.dist/nextdoor/kit.etag.json +1 -1
  191. package/.dist/nextdoor/playbook.etag.json +1 -1
  192. package/.dist/nextdoor-capi/connection.etag.json +1 -1
  193. package/.dist/nextdoor-capi/kit.etag.json +1 -1
  194. package/.dist/nextdoor-capi/playbook.etag.json +1 -1
  195. package/.dist/perion/connection.etag.json +1 -1
  196. package/.dist/perion/kit.etag.json +1 -1
  197. package/.dist/perion/playbook.etag.json +1 -1
  198. package/.dist/pinterest/connection.etag.json +1 -1
  199. package/.dist/pinterest/kit.etag.json +1 -1
  200. package/.dist/pinterest/playbook.etag.json +1 -1
  201. package/.dist/pinterest-capi/connection.etag.json +1 -1
  202. package/.dist/pinterest-capi/kit.etag.json +1 -1
  203. package/.dist/pinterest-capi/playbook.etag.json +1 -1
  204. package/.dist/podscribe/connection.etag.json +1 -1
  205. package/.dist/podscribe/kit.etag.json +1 -1
  206. package/.dist/podscribe/playbook.etag.json +1 -1
  207. package/.dist/podsights/connection.etag.json +1 -1
  208. package/.dist/podsights/kit.etag.json +1 -1
  209. package/.dist/podsights/playbook.etag.json +1 -1
  210. package/.dist/rakuten-conversions/connection.etag.json +1 -1
  211. package/.dist/rakuten-conversions/kit.etag.json +1 -1
  212. package/.dist/rakuten-conversions/playbook.etag.json +1 -1
  213. package/.dist/rasp/connection.etag.json +1 -1
  214. package/.dist/rasp/kit.etag.json +1 -1
  215. package/.dist/rasp/playbook.etag.json +1 -1
  216. package/.dist/reddit-ads/connection.etag.json +1 -1
  217. package/.dist/reddit-ads/kit.etag.json +1 -1
  218. package/.dist/reddit-ads/playbook.etag.json +1 -1
  219. package/.dist/rev-jet/connection.etag.json +1 -1
  220. package/.dist/rev-jet/kit.etag.json +1 -1
  221. package/.dist/rev-jet/playbook.etag.json +1 -1
  222. package/.dist/ringier-axel-springer-poland/connection.etag.json +1 -1
  223. package/.dist/ringier-axel-springer-poland/kit.etag.json +1 -1
  224. package/.dist/ringier-axel-springer-poland/metadata.json +4 -0
  225. package/.dist/ringier-axel-springer-poland/playbook.etag.json +1 -1
  226. package/.dist/ringier-axel-springer-poland/playbook.json +9 -9
  227. package/.dist/roku/connection.etag.json +1 -1
  228. package/.dist/roku/kit.etag.json +1 -1
  229. package/.dist/roku/playbook.etag.json +1 -1
  230. package/.dist/roomvo/connection.etag.json +1 -1
  231. package/.dist/roomvo/kit.etag.json +1 -1
  232. package/.dist/roomvo/playbook.etag.json +1 -1
  233. package/.dist/rtb-house/connection.etag.json +1 -1
  234. package/.dist/rtb-house/kit.etag.json +1 -1
  235. package/.dist/rtb-house/playbook.etag.json +1 -1
  236. package/.dist/s3/connection.etag.json +1 -1
  237. package/.dist/s3/kit.etag.json +1 -1
  238. package/.dist/s3/playbook.etag.json +1 -1
  239. package/.dist/salesforce-cdp/connection.etag.json +1 -1
  240. package/.dist/salesforce-cdp/kit.etag.json +1 -1
  241. package/.dist/salesforce-cdp/playbook.etag.json +1 -1
  242. package/.dist/snapchat/connection.etag.json +1 -1
  243. package/.dist/snapchat/kit.etag.json +1 -1
  244. package/.dist/snapchat/playbook.etag.json +1 -1
  245. package/.dist/snapchat-capi/connection.etag.json +1 -1
  246. package/.dist/snapchat-capi/kit.etag.json +1 -1
  247. package/.dist/snapchat-capi/playbook.etag.json +1 -1
  248. package/.dist/snowflake/connection.etag.json +1 -1
  249. package/.dist/snowflake/kit.etag.json +1 -1
  250. package/.dist/snowflake/playbook.etag.json +1 -1
  251. package/.dist/thetradedesk-conversion-events/connection.etag.json +1 -1
  252. package/.dist/thetradedesk-conversion-events/kit.etag.json +1 -1
  253. package/.dist/thetradedesk-conversion-events/playbook.etag.json +1 -1
  254. package/.dist/thetradedesk-data-advertiser-firstparty/connection.etag.json +1 -1
  255. package/.dist/thetradedesk-data-advertiser-firstparty/kit.etag.json +1 -1
  256. package/.dist/thetradedesk-data-advertiser-firstparty/playbook.etag.json +1 -1
  257. package/.dist/tiktok/connection.etag.json +1 -1
  258. package/.dist/tiktok/kit.etag.json +1 -1
  259. package/.dist/tiktok/playbook.etag.json +1 -1
  260. package/.dist/treasure-data/connection.etag.json +1 -1
  261. package/.dist/treasure-data/kit.etag.json +1 -1
  262. package/.dist/treasure-data/playbook.etag.json +1 -1
  263. package/.dist/ttd-conversions/connection.etag.json +1 -1
  264. package/.dist/ttd-conversions/kit.etag.json +1 -1
  265. package/.dist/ttd-conversions/playbook.etag.json +1 -1
  266. package/.dist/twitter-conversions/connection.etag.json +1 -1
  267. package/.dist/twitter-conversions/kit.etag.json +1 -1
  268. package/.dist/twitter-conversions/playbook.etag.json +1 -1
  269. package/.dist/verizon-media/connection.etag.json +1 -1
  270. package/.dist/verizon-media/kit.etag.json +1 -1
  271. package/.dist/verizon-media/playbook.etag.json +1 -1
  272. package/.dist/videoamp/connection.etag.json +1 -1
  273. package/.dist/videoamp/kit.etag.json +1 -1
  274. package/.dist/videoamp/playbook.etag.json +1 -1
  275. package/.dist/x-ads/connection.etag.json +1 -1
  276. package/.dist/x-ads/kit.etag.json +1 -1
  277. package/.dist/x-ads/playbook.etag.json +1 -1
  278. package/.dist/xandr/connection.etag.json +1 -1
  279. package/.dist/xandr/kit.etag.json +1 -1
  280. package/.dist/xandr/playbook.etag.json +1 -1
  281. package/.dist/yahoo-enhanced-attribution/connection.etag.json +1 -1
  282. package/.dist/yahoo-enhanced-attribution/kit.etag.json +1 -1
  283. package/.dist/yahoo-enhanced-attribution/playbook.etag.json +1 -1
  284. package/.dist/yahoo-offline-conversion/connection.etag.json +1 -1
  285. package/.dist/yahoo-offline-conversion/kit.etag.json +1 -1
  286. package/.dist/yahoo-offline-conversion/playbook.etag.json +1 -1
  287. package/.dist/zeotap/connection.etag.json +1 -1
  288. package/.dist/zeotap/kit.etag.json +1 -1
  289. package/.dist/zeotap/playbook.etag.json +1 -1
  290. package/README.md +8 -4
  291. package/index.js +22 -0
  292. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ "32c122fd57f2a4d810dae918b8129665 -"
@@ -0,0 +1,21 @@
1
+ {
2
+ "isDraft": false,
3
+ "isDeprecated": false,
4
+ "isBeta": true,
5
+ "friendlyName": "Microsoft Ads CAPI",
6
+ "description": "Microsoft Ads is a digital advertising platform that allows businesses to create and manage paid search and display ad campaigns across Microsoft's network, including Bing, MSN, and other partner sites.",
7
+ "logo": "https://cdn.metarouter.io/microsoft-ads-capi.png",
8
+ "color": "#FFFFFF",
9
+ "eventSource": {
10
+ "isAndroidApp": false,
11
+ "isIosApp": false,
12
+ "isWebApp": true
13
+ },
14
+ "inputSchema": "analytics_js",
15
+ "releaseNotes": [
16
+ {
17
+ "date": "2025-09-17T21:00:00.000Z",
18
+ "note": "Version: 0.1.0\nBeta Version\nMicrosoft Ads CAPI initial release"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1 @@
1
+ "5c9f7c440e58598ae0793c7db222fa7b -"
@@ -0,0 +1,549 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "global": {
4
+ "mappings": [
5
+ {
6
+ "inputKey": "input",
7
+ "outputKey": "eventType",
8
+ "transforms": [
9
+ {
10
+ "expression": {
11
+ "lang": "lua",
12
+ "body": "return (input.type == 'page' and 'pageLoad') or 'custom'"
13
+ }
14
+ }
15
+ ]
16
+ },
17
+ {
18
+ "inputKey": "messageId",
19
+ "outputKey": "eventId"
20
+ },
21
+ {
22
+ "inputKey": "context.providers.microsoftAds.mid",
23
+ "outputKey": "pageLoadId"
24
+ },
25
+ {
26
+ "inputKey": "input",
27
+ "outputKey": "eventTime",
28
+ "transforms": [
29
+ {
30
+ "expression": {
31
+ "lang": "lua",
32
+ "body": "return SECONDS_SINCE_EPOCH_FROM_RFC3999(input.timestamp or input.originalTimestamp or input.sentAt)"
33
+ }
34
+ }
35
+ ]
36
+ },
37
+ {
38
+ "inputKey": "context.page.url",
39
+ "outputKey": "eventSourceUrl"
40
+ },
41
+ {
42
+ "inputKey": "context.page.title",
43
+ "outputKey": "pageTitle"
44
+ },
45
+ {
46
+ "inputKey": "context.page.referrer",
47
+ "outputKey": "referrerUrl"
48
+ },
49
+ {
50
+ "inputKey": "anonymousId",
51
+ "outputKey": "userData.anonymousId"
52
+ },
53
+ {
54
+ "inputKey": "userId",
55
+ "outputKey": "userData.externalId"
56
+ },
57
+ {
58
+ "inputKey": "context.providers.microsoftAds.msclkid",
59
+ "outputKey": "userData.msclkid"
60
+ },
61
+ {
62
+ "inputKey": "context.ip",
63
+ "outputKey": "userData.clientIpAddress"
64
+ },
65
+ {
66
+ "inputKey": "context.userAgent",
67
+ "outputKey": "userData.clientUserAgent"
68
+ },
69
+ {
70
+ "inputKey": "input",
71
+ "outputKey": "userData.em",
72
+ "transforms": [
73
+ {
74
+ "expression": {
75
+ "body": "local email = input.traits.email\nif email then\n local cleaned_email = (input.traits.email:gsub(\"([^@]+)@(.+)\", function(user, domain)\n return (user:gsub(\"%+.*\", \"\"):gsub(\"%.\", \"\")) .. \"@\" .. domain\n end))\n return TO_SHA256_HASH(LOWER(TRIM(cleaned_email)))\nend",
76
+ "lang": "lua"
77
+ }
78
+ }
79
+ ]
80
+ },
81
+ {
82
+ "inputKey": "input",
83
+ "outputKey": "userData.ph",
84
+ "transforms": [
85
+ {
86
+ "expression": {
87
+ "body": "local phone = input.traits.phone\nlocal default_country_code = \"+1\"\nif phone then\n local normalized_phone = (phone:gsub(\"[^%d+]\", \"\"):gsub(\"^00\", \"+\"):gsub(\"^(%d)\", default_country_code .. \"%1\"))\n return TO_SHA256_HASH(LOWER(normalized_phone))\nend",
88
+ "lang": "lua"
89
+ }
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "inputKey": "input",
95
+ "outputKey": "customData.eventLabel",
96
+ "transforms": [
97
+ {
98
+ "expression": {
99
+ "lang": "lua",
100
+ "body": "return input.event or input.type"
101
+ }
102
+ }
103
+ ]
104
+ }
105
+ ]
106
+ },
107
+ "eventSpecific": {
108
+ "page": {
109
+ "mappings": [
110
+ {
111
+ "inputKey": "input",
112
+ "outputKey": "customData.pageType",
113
+ "transforms": [
114
+ {
115
+ "expression": {
116
+ "body": "return input.context.page.path == '/' and 'home' or 'other'",
117
+ "lang": "lua"
118
+ }
119
+ }
120
+ ]
121
+ }
122
+ ]
123
+ },
124
+ "products_searched": {
125
+ "enrichments": [
126
+ {
127
+ "staticString": "searchresults",
128
+ "outputKey": "customData.pageType"
129
+ },
130
+ {
131
+ "staticString": "search",
132
+ "outputKey": "customData.eventCategory"
133
+ }
134
+ ],
135
+ "mappings": [
136
+ {
137
+ "inputKey": "properties.query",
138
+ "outputKey": "customData.searchTerm"
139
+ }
140
+ ]
141
+ },
142
+ "product_list_viewed": {
143
+ "enrichments": [
144
+ {
145
+ "staticString": "category",
146
+ "outputKey": "customData.pageType"
147
+ }
148
+ ],
149
+ "mappings": [
150
+ {
151
+ "inputKey": "properties.category",
152
+ "outputKey": "customData.ecommCategory"
153
+ },
154
+ {
155
+ "inputKey": "input",
156
+ "outputKey": "customData.itemIds",
157
+ "transforms": [
158
+ {
159
+ "expression": {
160
+ "body": "return MAP(input.properties.products, function (p) return p.product_id or p.sku end)",
161
+ "lang": "lua"
162
+ }
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "inputKey": "input",
168
+ "outputKey": "customData.items",
169
+ "transforms": [
170
+ {
171
+ "expression": {
172
+ "body": "return MAP(input.properties.products, function (p) return {\n id = p.product_id or p.sku or 'N/A',\n name = p.name,\n price = p.price or 0,\n quantity = p.quantity or 1\n} end)",
173
+ "lang": "lua"
174
+ }
175
+ }
176
+ ]
177
+ }
178
+ ]
179
+ },
180
+ "product_clicked": {
181
+ "enrichments": [
182
+ {
183
+ "staticString": "product",
184
+ "outputKey": "customData.pageType"
185
+ }
186
+ ],
187
+ "mappings": [
188
+ {
189
+ "inputKey": "properties.category",
190
+ "outputKey": "customData.ecommCategory"
191
+ },
192
+ {
193
+ "inputKey": "input",
194
+ "outputKey": "customData.itemIds",
195
+ "transforms": [
196
+ {
197
+ "expression": {
198
+ "body": "return { input.properties.product_id or input.properties.sku }",
199
+ "lang": "lua"
200
+ }
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ "inputKey": "input",
206
+ "outputKey": "customData.items",
207
+ "transforms": [
208
+ {
209
+ "expression": {
210
+ "body": "return {{\n id = input.properties.product_id or input.properties.sku or 'N/A',\n name = input.properties.name,\n price = input.properties.price or 0,\n quantity = input.properties.quantity or 1\n}}",
211
+ "lang": "lua"
212
+ }
213
+ }
214
+ ]
215
+ }
216
+ ]
217
+ },
218
+ "product_viewed": {
219
+ "enrichments": [
220
+ {
221
+ "staticString": "product",
222
+ "outputKey": "customData.pageType"
223
+ }
224
+ ],
225
+ "mappings": [
226
+ {
227
+ "inputKey": "properties.category",
228
+ "outputKey": "customData.ecommCategory"
229
+ },
230
+ {
231
+ "inputKey": "input",
232
+ "outputKey": "customData.itemIds",
233
+ "transforms": [
234
+ {
235
+ "expression": {
236
+ "body": "return { input.properties.product_id or input.properties.sku }",
237
+ "lang": "lua"
238
+ }
239
+ }
240
+ ]
241
+ },
242
+ {
243
+ "inputKey": "input",
244
+ "outputKey": "customData.items",
245
+ "transforms": [
246
+ {
247
+ "expression": {
248
+ "body": "return {{\n id = input.properties.product_id or input.properties.sku or 'N/A',\n name = input.properties.name,\n price = input.properties.price or 0,\n quantity = input.properties.quantity or 1\n}}",
249
+ "lang": "lua"
250
+ }
251
+ }
252
+ ]
253
+ }
254
+ ]
255
+ },
256
+ "product_added": {
257
+ "enrichments": [
258
+ {
259
+ "staticString": "product",
260
+ "outputKey": "customData.pageType"
261
+ }
262
+ ],
263
+ "mappings": [
264
+ {
265
+ "inputKey": "properties.category",
266
+ "outputKey": "customData.ecommCategory"
267
+ },
268
+ {
269
+ "inputKey": "input",
270
+ "outputKey": "customData.itemIds",
271
+ "transforms": [
272
+ {
273
+ "expression": {
274
+ "body": "return { input.properties.product_id or input.properties.sku }",
275
+ "lang": "lua"
276
+ }
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ "inputKey": "input",
282
+ "outputKey": "customData.items",
283
+ "transforms": [
284
+ {
285
+ "expression": {
286
+ "body": "return {{\n id = input.properties.product_id or input.properties.sku or 'N/A',\n name = input.properties.name,\n price = input.properties.price or 0,\n quantity = input.properties.quantity or 1\n}}",
287
+ "lang": "lua"
288
+ }
289
+ }
290
+ ]
291
+ },
292
+ {
293
+ "inputKey": "input",
294
+ "outputKey": "customData.value",
295
+ "transforms": [
296
+ {
297
+ "expression": {
298
+ "lang": "lua",
299
+ "body": "return TOTAL_VALUE(input.properties)"
300
+ }
301
+ }
302
+ ]
303
+ },
304
+ {
305
+ "inputKey": "input",
306
+ "outputKey": "customData.ecommTotalValue",
307
+ "transforms": [
308
+ {
309
+ "expression": {
310
+ "lang": "lua",
311
+ "body": "return TOTAL_VALUE(input.properties)"
312
+ }
313
+ }
314
+ ]
315
+ },
316
+ {
317
+ "inputKey": "properties.currency",
318
+ "outputKey": "customData.currency",
319
+ "transforms": [
320
+ {
321
+ "modifyString": "uppercase"
322
+ }
323
+ ],
324
+ "defaultString": "USD"
325
+ }
326
+ ]
327
+ },
328
+ "product_removed": {
329
+ "enrichments": [
330
+ {
331
+ "staticString": "product",
332
+ "outputKey": "customData.pageType"
333
+ }
334
+ ],
335
+ "mappings": [
336
+ {
337
+ "inputKey": "properties.category",
338
+ "outputKey": "customData.ecommCategory"
339
+ },
340
+ {
341
+ "inputKey": "input",
342
+ "outputKey": "customData.itemIds",
343
+ "transforms": [
344
+ {
345
+ "expression": {
346
+ "body": "return { input.properties.product_id or input.properties.sku }",
347
+ "lang": "lua"
348
+ }
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "inputKey": "input",
354
+ "outputKey": "customData.items",
355
+ "transforms": [
356
+ {
357
+ "expression": {
358
+ "body": "return {{\n id = input.properties.product_id or input.properties.sku or 'N/A',\n name = input.properties.name,\n price = input.properties.price or 0,\n quantity = input.properties.quantity or 1\n}}",
359
+ "lang": "lua"
360
+ }
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "inputKey": "input",
366
+ "outputKey": "customData.value",
367
+ "transforms": [
368
+ {
369
+ "expression": {
370
+ "lang": "lua",
371
+ "body": "return TOTAL_VALUE(input.properties)"
372
+ }
373
+ }
374
+ ]
375
+ },
376
+ {
377
+ "inputKey": "input",
378
+ "outputKey": "customData.ecommTotalValue",
379
+ "transforms": [
380
+ {
381
+ "expression": {
382
+ "lang": "lua",
383
+ "body": "return TOTAL_VALUE(input.properties)"
384
+ }
385
+ }
386
+ ]
387
+ },
388
+ {
389
+ "inputKey": "properties.currency",
390
+ "outputKey": "customData.currency",
391
+ "transforms": [
392
+ {
393
+ "modifyString": "uppercase"
394
+ }
395
+ ],
396
+ "defaultString": "USD"
397
+ }
398
+ ]
399
+ },
400
+ "cart_viewed": {
401
+ "enrichments": [
402
+ {
403
+ "staticString": "cart",
404
+ "outputKey": "customData.pageType"
405
+ }
406
+ ],
407
+ "mappings": [
408
+ {
409
+ "inputKey": "input",
410
+ "outputKey": "customData.itemIds",
411
+ "transforms": [
412
+ {
413
+ "expression": {
414
+ "body": "return MAP(input.properties.products, function (p) return p.product_id or p.sku end)",
415
+ "lang": "lua"
416
+ }
417
+ }
418
+ ]
419
+ },
420
+ {
421
+ "inputKey": "input",
422
+ "outputKey": "customData.items",
423
+ "transforms": [
424
+ {
425
+ "expression": {
426
+ "body": "return MAP(input.properties.products, function (p) return {\n id = p.product_id or p.sku or 'N/A',\n name = p.name,\n price = p.price or 0,\n quantity = p.quantity or 1\n} end)",
427
+ "lang": "lua"
428
+ }
429
+ }
430
+ ]
431
+ },
432
+ {
433
+ "inputKey": "input",
434
+ "outputKey": "customData.value",
435
+ "transforms": [
436
+ {
437
+ "expression": {
438
+ "lang": "lua",
439
+ "body": "return TOTAL_VALUE(input.properties.products)"
440
+ }
441
+ }
442
+ ]
443
+ },
444
+ {
445
+ "inputKey": "input",
446
+ "outputKey": "customData.ecommTotalValue",
447
+ "transforms": [
448
+ {
449
+ "expression": {
450
+ "lang": "lua",
451
+ "body": "return TOTAL_VALUE(input.properties.products)"
452
+ }
453
+ }
454
+ ]
455
+ },
456
+ {
457
+ "inputKey": "properties.currency",
458
+ "outputKey": "customData.currency",
459
+ "transforms": [
460
+ {
461
+ "modifyString": "uppercase"
462
+ }
463
+ ],
464
+ "defaultString": "USD"
465
+ }
466
+ ]
467
+ },
468
+ "order_completed": {
469
+ "enrichments": [
470
+ {
471
+ "staticString": "purchase",
472
+ "outputKey": "customData.pageType"
473
+ }
474
+ ],
475
+ "mappings": [
476
+ {
477
+ "inputKey": "properties.order_id",
478
+ "outputKey": "customData.transactionId"
479
+ },
480
+ {
481
+ "inputKey": "input",
482
+ "outputKey": "customData.itemIds",
483
+ "transforms": [
484
+ {
485
+ "expression": {
486
+ "body": "return MAP(input.properties.products, function (p) return p.product_id or p.sku end)",
487
+ "lang": "lua"
488
+ }
489
+ }
490
+ ]
491
+ },
492
+ {
493
+ "inputKey": "input",
494
+ "outputKey": "customData.items",
495
+ "transforms": [
496
+ {
497
+ "expression": {
498
+ "body": "return MAP(input.properties.products, function (p) return {\n id = p.product_id or p.sku or 'N/A',\n name = p.name,\n price = p.price or 0,\n quantity = p.quantity or 1\n} end)",
499
+ "lang": "lua"
500
+ }
501
+ }
502
+ ]
503
+ },
504
+ {
505
+ "inputKey": "input",
506
+ "outputKey": "customData.value",
507
+ "transforms": [
508
+ {
509
+ "expression": {
510
+ "lang": "lua",
511
+ "body": "return TOTAL_VALUE(input.properties.products)"
512
+ }
513
+ }
514
+ ]
515
+ },
516
+ {
517
+ "inputKey": "input",
518
+ "outputKey": "customData.ecommTotalValue",
519
+ "transforms": [
520
+ {
521
+ "expression": {
522
+ "lang": "lua",
523
+ "body": "return TOTAL_VALUE(input.properties.products)"
524
+ }
525
+ }
526
+ ]
527
+ },
528
+ {
529
+ "inputKey": "properties.currency",
530
+ "outputKey": "customData.currency",
531
+ "transforms": [
532
+ {
533
+ "modifyString": "uppercase"
534
+ }
535
+ ],
536
+ "defaultString": "USD"
537
+ }
538
+ ]
539
+ }
540
+ },
541
+ "default": {
542
+ "enrichments": [
543
+ {
544
+ "staticString": "other",
545
+ "outputKey": "customData.pageType"
546
+ }
547
+ ]
548
+ }
549
+ }
@@ -1 +1 @@
1
- "3415659ce647c325ee093e5f24390dae"
1
+ "3415659ce647c325ee093e5f24390dae -"
@@ -1 +1 @@
1
- "a76f389e52b25bdfc863e1005f6aee04"
1
+ "5bb176ae896eca8dee91dfc4fb7bfad9 -"
@@ -1 +1 @@
1
- "a8e6cdd44f662c410f801b3ef8e4e1d5"
1
+ "a8e6cdd44f662c410f801b3ef8e4e1d5 -"
@@ -1 +1 @@
1
- "a2954a40361ab841a304a1cca1e256a9"
1
+ "a2954a40361ab841a304a1cca1e256a9 -"
@@ -1 +1 @@
1
- "b2e360c4991818def04b2e770bcfea6d"
1
+ "0d357f0f7c58942d5c59a17f50125514 -"
@@ -1 +1 @@
1
- "0e5443bf79a7009fad5a4903e125b768"
1
+ "0e5443bf79a7009fad5a4903e125b768 -"
@@ -1 +1 @@
1
- "d818194a33ded718398d2b3d345ef8db"
1
+ "d818194a33ded718398d2b3d345ef8db -"
@@ -1 +1 @@
1
- "a5b619b7bb0cd50c0138cd38c4673c19"
1
+ "f36324ae11a090c0e1ef7e1441f5ee42 -"
@@ -1 +1 @@
1
- "54ebfff68f490705fa552893bfa6f76e"
1
+ "54ebfff68f490705fa552893bfa6f76e -"
@@ -1 +1 @@
1
- "1bb318b25c50ab2a0714bc09b5710f0a"
1
+ "1bb318b25c50ab2a0714bc09b5710f0a -"
@@ -1 +1 @@
1
- "e3258cf162133e42aa7969c675fa6420"
1
+ "c1d5eb586d303a4bb2a0b15008f4d8ae -"
@@ -1 +1 @@
1
- "7df34301bc470359d9b681dbef3cfa96"
1
+ "7df34301bc470359d9b681dbef3cfa96 -"
@@ -1 +1 @@
1
- "113d40c3d8bdcdeb8d55813fb3306b7a"
1
+ "113d40c3d8bdcdeb8d55813fb3306b7a -"
@@ -1 +1 @@
1
- "41e333fb42225d54dd1b9121545676ef"
1
+ "1bb4baa131a4c3d3424de87bfd5424d6 -"
@@ -1 +1 @@
1
- "a60ed01b01451e52e71c5f5653d88b2a"
1
+ "a60ed01b01451e52e71c5f5653d88b2a -"
@@ -1 +1 @@
1
- "8453a7604fd59632c28fc2d86abe7b73"
1
+ "8453a7604fd59632c28fc2d86abe7b73 -"
@@ -1 +1 @@
1
- "2ece1819e8ca9a273453dde24cd07c23"
1
+ "ef03e9d213c0f9245f94ea8a713523e1 -"
@@ -1 +1 @@
1
- "daf5f8b1f13ac70aacb4bea50fac5ac7"
1
+ "daf5f8b1f13ac70aacb4bea50fac5ac7 -"
@@ -1 +1 @@
1
- "87ee4386c51a48d465d942b70a5fba84"
1
+ "87ee4386c51a48d465d942b70a5fba84 -"
@@ -1 +1 @@
1
- "0e7736bf98702a02574443bab688fd4c"
1
+ "b54219c39d94c21216908b769c63e5ef -"
@@ -1 +1 @@
1
- "1dcade80f36aa93364878be1d75ada87"
1
+ "1dcade80f36aa93364878be1d75ada87 -"
@@ -1 +1 @@
1
- "c752be088c743ff1fb49d99ff5376984"
1
+ "c752be088c743ff1fb49d99ff5376984 -"
@@ -1 +1 @@
1
- "f006c7e8b97c471e1542de0f43f1a6c6"
1
+ "b866afad2d2e3d1a5b2e8c4a8432e548 -"
@@ -1 +1 @@
1
- "d7e76e5085d5354707ca807b892f0e11"
1
+ "d7e76e5085d5354707ca807b892f0e11 -"
@@ -1 +1 @@
1
- "cd4779aca67c541637b809139ef52b6a"
1
+ "cd4779aca67c541637b809139ef52b6a -"