@adtrackify/at-tracking-event-types 3.5.10 → 3.5.12

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 (294) hide show
  1. package/README.md +12 -12
  2. package/dist/cjs/index.d.ts +1 -1
  3. package/dist/cjs/index.js +17 -17
  4. package/dist/cjs/types/api/account.d.ts +132 -133
  5. package/dist/cjs/types/api/account.js +83 -84
  6. package/dist/cjs/types/api/account.js.map +1 -1
  7. package/dist/cjs/types/api/contact-acquisition/contact-acquisition.d.ts +106 -106
  8. package/dist/cjs/types/api/contact-acquisition/contact-acquisition.js +21 -21
  9. package/dist/cjs/types/api/contact-acquisition/email-verification.d.ts +30 -30
  10. package/dist/cjs/types/api/contact-acquisition/email-verification.js +11 -11
  11. package/dist/cjs/types/api/contact-acquisition/index.d.ts +6 -6
  12. package/dist/cjs/types/api/contact-acquisition/index.js +22 -22
  13. package/dist/cjs/types/api/contact-acquisition/purchased-contact.d.ts +35 -35
  14. package/dist/cjs/types/api/contact-acquisition/purchased-contact.js +8 -8
  15. package/dist/cjs/types/api/contact-acquisition/purchased-traits.d.ts +63 -63
  16. package/dist/cjs/types/api/contact-acquisition/purchased-traits.js +2 -2
  17. package/dist/cjs/types/api/contact-acquisition/third-party-contact.d.ts +44 -44
  18. package/dist/cjs/types/api/contact-acquisition/third-party-contact.js +2 -2
  19. package/dist/cjs/types/api/contact-acquisition/third-party-cookie-contact-acquisition.d.ts +6 -6
  20. package/dist/cjs/types/api/contact-acquisition/third-party-cookie-contact-acquisition.js +2 -2
  21. package/dist/cjs/types/api/dashboards/index.d.ts +1 -1
  22. package/dist/cjs/types/api/dashboards/index.js +17 -17
  23. package/dist/cjs/types/api/dashboards/widget.d.ts +126 -115
  24. package/dist/cjs/types/api/dashboards/widget.js +36 -36
  25. package/dist/cjs/types/api/destination-tracked-events.d.ts +11 -11
  26. package/dist/cjs/types/api/destination-tracked-events.js +3 -3
  27. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  28. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  29. package/dist/cjs/types/api/destinations/destinations.d.ts +114 -119
  30. package/dist/cjs/types/api/destinations/destinations.js +52 -53
  31. package/dist/cjs/types/api/destinations/destinations.js.map +1 -1
  32. package/dist/cjs/types/api/destinations/index.d.ts +5 -5
  33. package/dist/cjs/types/api/destinations/index.js +21 -21
  34. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  35. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.js +2 -2
  36. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +179 -185
  37. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +23 -23
  38. package/dist/cjs/types/api/destinations/third-party-destination-configs.js.map +1 -1
  39. package/dist/cjs/types/api/destinations/third-party-integration-configs.d.ts +67 -67
  40. package/dist/cjs/types/api/destinations/third-party-integration-configs.js +11 -11
  41. package/dist/cjs/types/api/emq/emq-types.d.ts +168 -0
  42. package/dist/cjs/types/api/emq/emq-types.js +26 -0
  43. package/dist/cjs/types/api/emq/emq-types.js.map +1 -0
  44. package/dist/cjs/types/api/emq/index.d.ts +1 -0
  45. package/dist/cjs/types/api/emq/index.js +18 -0
  46. package/dist/cjs/types/api/emq/index.js.map +1 -0
  47. package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
  48. package/dist/cjs/types/api/event-last-seen.js +2 -2
  49. package/dist/cjs/types/api/event-status.d.ts +18 -18
  50. package/dist/cjs/types/api/event-status.js +9 -9
  51. package/dist/cjs/types/api/index.d.ts +22 -23
  52. package/dist/cjs/types/api/index.js +38 -39
  53. package/dist/cjs/types/api/index.js.map +1 -1
  54. package/dist/cjs/types/api/log-events.d.ts +22 -22
  55. package/dist/cjs/types/api/log-events.js +2 -2
  56. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  57. package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.js +1677 -1677
  58. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  59. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +446 -446
  60. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  61. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.js +1451 -1451
  62. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  63. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.js +325 -325
  64. package/dist/cjs/types/api/measures/definitions/index.d.ts +12 -12
  65. package/dist/cjs/types/api/measures/definitions/index.js +28 -28
  66. package/dist/cjs/types/api/measures/definitions/measure-applicable-contexts.d.ts +9 -9
  67. package/dist/cjs/types/api/measures/definitions/measure-applicable-contexts.js +22 -22
  68. package/dist/cjs/types/api/measures/definitions/measure-categories.d.ts +18 -18
  69. package/dist/cjs/types/api/measures/definitions/measure-categories.js +22 -22
  70. package/dist/cjs/types/api/measures/definitions/measure-definitions.d.ts +40 -40
  71. package/dist/cjs/types/api/measures/definitions/measure-definitions.js +29 -29
  72. package/dist/cjs/types/api/measures/definitions/measure-value-type.d.ts +8 -8
  73. package/dist/cjs/types/api/measures/definitions/measure-value-type.js +12 -12
  74. package/dist/cjs/types/api/measures/definitions/shopify/shopify-measure-definitions.d.ts +2 -2
  75. package/dist/cjs/types/api/measures/definitions/shopify/shopify-measure-definitions.js +864 -864
  76. package/dist/cjs/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.d.ts +2 -2
  77. package/dist/cjs/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.js +446 -446
  78. package/dist/cjs/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.d.ts +2 -2
  79. package/dist/cjs/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.js +447 -447
  80. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  81. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.js +509 -509
  82. package/dist/cjs/types/api/measures/index.d.ts +2 -2
  83. package/dist/cjs/types/api/measures/index.js +18 -18
  84. package/dist/cjs/types/api/measures/measures.d.ts +455 -455
  85. package/dist/cjs/types/api/measures/measures.js +459 -459
  86. package/dist/cjs/types/api/pixel-setup-health.d.ts +19 -19
  87. package/dist/cjs/types/api/pixel-setup-health.js +2 -2
  88. package/dist/cjs/types/api/query.d.ts +147 -147
  89. package/dist/cjs/types/api/query.js +90 -90
  90. package/dist/cjs/types/api/shopify-app-install.d.ts +41 -41
  91. package/dist/cjs/types/api/shopify-app-install.js +14 -14
  92. package/dist/cjs/types/api/subscription.d.ts +190 -192
  93. package/dist/cjs/types/api/subscription.js +48 -48
  94. package/dist/cjs/types/api/subscription.js.map +1 -1
  95. package/dist/cjs/types/api/tracking-events.d.ts +15 -15
  96. package/dist/cjs/types/api/tracking-events.js +2 -2
  97. package/dist/cjs/types/api/user-account.d.ts +22 -28
  98. package/dist/cjs/types/api/user-account.js +15 -15
  99. package/dist/cjs/types/api/user.d.ts +13 -13
  100. package/dist/cjs/types/api/user.js +2 -2
  101. package/dist/cjs/types/common/address.d.ts +22 -22
  102. package/dist/cjs/types/common/address.js +8 -8
  103. package/dist/cjs/types/common/currency.d.ts +1 -1
  104. package/dist/cjs/types/common/currency.js +63 -63
  105. package/dist/cjs/types/common/index.d.ts +2 -2
  106. package/dist/cjs/types/common/index.js +18 -18
  107. package/dist/cjs/types/event/base/event-name-enum.d.ts +84 -95
  108. package/dist/cjs/types/event/base/event-name-enum.js +90 -101
  109. package/dist/cjs/types/event/base/event-name-enum.js.map +1 -1
  110. package/dist/cjs/types/event/base/event.d.ts +20 -20
  111. package/dist/cjs/types/event/base/event.js +10 -10
  112. package/dist/cjs/types/event/base/index.d.ts +2 -2
  113. package/dist/cjs/types/event/base/index.js +18 -18
  114. package/dist/cjs/types/event/context/event-context-identity.d.ts +32 -32
  115. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  116. package/dist/cjs/types/event/context/event-context.d.ts +201 -201
  117. package/dist/cjs/types/event/context/event-context.js +2 -2
  118. package/dist/cjs/types/event/context/index.d.ts +2 -2
  119. package/dist/cjs/types/event/context/index.js +18 -18
  120. package/dist/cjs/types/event/index.d.ts +5 -5
  121. package/dist/cjs/types/event/index.js +21 -21
  122. package/dist/cjs/types/event/log-event.d.ts +35 -35
  123. package/dist/cjs/types/event/log-event.js +22 -22
  124. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  125. package/dist/cjs/types/event/metric-event.js +2 -2
  126. package/dist/cjs/types/event/tracking-event.d.ts +66 -66
  127. package/dist/cjs/types/event/tracking-event.js +2 -2
  128. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  129. package/dist/cjs/types/event-bus-event.js +2 -2
  130. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  131. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  132. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  133. package/dist/cjs/types/fingerprint/index.js +18 -18
  134. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  135. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  136. package/dist/cjs/types/index.d.ts +7 -7
  137. package/dist/cjs/types/index.js +23 -23
  138. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  139. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  140. package/dist/cjs/types/tracking-event-ingest-message.d.ts +12 -12
  141. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  142. package/dist/esm/index.d.ts +1 -1
  143. package/dist/esm/index.js +1 -1
  144. package/dist/esm/types/api/account.d.ts +132 -133
  145. package/dist/esm/types/api/account.js +80 -81
  146. package/dist/esm/types/api/account.js.map +1 -1
  147. package/dist/esm/types/api/contact-acquisition/contact-acquisition.d.ts +106 -106
  148. package/dist/esm/types/api/contact-acquisition/contact-acquisition.js +18 -18
  149. package/dist/esm/types/api/contact-acquisition/email-verification.d.ts +30 -30
  150. package/dist/esm/types/api/contact-acquisition/email-verification.js +8 -8
  151. package/dist/esm/types/api/contact-acquisition/index.d.ts +6 -6
  152. package/dist/esm/types/api/contact-acquisition/index.js +6 -6
  153. package/dist/esm/types/api/contact-acquisition/purchased-contact.d.ts +35 -35
  154. package/dist/esm/types/api/contact-acquisition/purchased-contact.js +5 -5
  155. package/dist/esm/types/api/contact-acquisition/purchased-traits.d.ts +63 -63
  156. package/dist/esm/types/api/contact-acquisition/purchased-traits.js +1 -1
  157. package/dist/esm/types/api/contact-acquisition/third-party-contact.d.ts +44 -44
  158. package/dist/esm/types/api/contact-acquisition/third-party-contact.js +1 -1
  159. package/dist/esm/types/api/contact-acquisition/third-party-cookie-contact-acquisition.d.ts +6 -6
  160. package/dist/esm/types/api/contact-acquisition/third-party-cookie-contact-acquisition.js +1 -1
  161. package/dist/esm/types/api/dashboards/index.d.ts +1 -1
  162. package/dist/esm/types/api/dashboards/index.js +1 -1
  163. package/dist/esm/types/api/dashboards/widget.d.ts +126 -115
  164. package/dist/esm/types/api/dashboards/widget.js +33 -33
  165. package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
  166. package/dist/esm/types/api/destination-tracked-events.js +1 -1
  167. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  168. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  169. package/dist/esm/types/api/destinations/destinations.d.ts +114 -119
  170. package/dist/esm/types/api/destinations/destinations.js +49 -50
  171. package/dist/esm/types/api/destinations/destinations.js.map +1 -1
  172. package/dist/esm/types/api/destinations/index.d.ts +5 -5
  173. package/dist/esm/types/api/destinations/index.js +5 -5
  174. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  175. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.js +1 -1
  176. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +179 -185
  177. package/dist/esm/types/api/destinations/third-party-destination-configs.js +20 -20
  178. package/dist/esm/types/api/destinations/third-party-destination-configs.js.map +1 -1
  179. package/dist/esm/types/api/destinations/third-party-integration-configs.d.ts +67 -67
  180. package/dist/esm/types/api/destinations/third-party-integration-configs.js +8 -8
  181. package/dist/esm/types/api/emq/emq-types.d.ts +168 -0
  182. package/dist/esm/types/api/emq/emq-types.js +23 -0
  183. package/dist/esm/types/api/emq/emq-types.js.map +1 -0
  184. package/dist/esm/types/api/emq/index.d.ts +1 -0
  185. package/dist/esm/types/api/emq/index.js +2 -0
  186. package/dist/esm/types/api/emq/index.js.map +1 -0
  187. package/dist/esm/types/api/event-last-seen.d.ts +6 -6
  188. package/dist/esm/types/api/event-last-seen.js +1 -1
  189. package/dist/esm/types/api/event-status.d.ts +18 -18
  190. package/dist/esm/types/api/event-status.js +6 -6
  191. package/dist/esm/types/api/index.d.ts +22 -23
  192. package/dist/esm/types/api/index.js +22 -23
  193. package/dist/esm/types/api/index.js.map +1 -1
  194. package/dist/esm/types/api/log-events.d.ts +22 -22
  195. package/dist/esm/types/api/log-events.js +1 -1
  196. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.d.ts +2 -2
  197. package/dist/esm/types/api/measures/definitions/channel-measure-definitions.js +1674 -1674
  198. package/dist/esm/types/api/measures/definitions/core-measure-definitions.d.ts +2 -2
  199. package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +443 -443
  200. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.d.ts +2 -2
  201. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.js +1448 -1448
  202. package/dist/esm/types/api/measures/definitions/google-measure-definitions.d.ts +2 -2
  203. package/dist/esm/types/api/measures/definitions/google-measure-definitions.js +322 -322
  204. package/dist/esm/types/api/measures/definitions/index.d.ts +12 -12
  205. package/dist/esm/types/api/measures/definitions/index.js +12 -12
  206. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.d.ts +9 -9
  207. package/dist/esm/types/api/measures/definitions/measure-applicable-contexts.js +19 -19
  208. package/dist/esm/types/api/measures/definitions/measure-categories.d.ts +18 -18
  209. package/dist/esm/types/api/measures/definitions/measure-categories.js +19 -19
  210. package/dist/esm/types/api/measures/definitions/measure-definitions.d.ts +40 -40
  211. package/dist/esm/types/api/measures/definitions/measure-definitions.js +26 -26
  212. package/dist/esm/types/api/measures/definitions/measure-value-type.d.ts +8 -8
  213. package/dist/esm/types/api/measures/definitions/measure-value-type.js +9 -9
  214. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.d.ts +2 -2
  215. package/dist/esm/types/api/measures/definitions/shopify/shopify-measure-definitions.js +861 -861
  216. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.d.ts +2 -2
  217. package/dist/esm/types/api/measures/definitions/shopify/shopify-nc-measure-definitions.js +443 -443
  218. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.d.ts +2 -2
  219. package/dist/esm/types/api/measures/definitions/shopify/shopify-rc-measure-definitions.js +444 -444
  220. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.d.ts +2 -2
  221. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.js +506 -506
  222. package/dist/esm/types/api/measures/index.d.ts +2 -2
  223. package/dist/esm/types/api/measures/index.js +2 -2
  224. package/dist/esm/types/api/measures/measures.d.ts +455 -455
  225. package/dist/esm/types/api/measures/measures.js +456 -456
  226. package/dist/esm/types/api/pixel-setup-health.d.ts +19 -19
  227. package/dist/esm/types/api/pixel-setup-health.js +1 -1
  228. package/dist/esm/types/api/query.d.ts +147 -147
  229. package/dist/esm/types/api/query.js +87 -87
  230. package/dist/esm/types/api/shopify-app-install.d.ts +41 -41
  231. package/dist/esm/types/api/shopify-app-install.js +11 -11
  232. package/dist/esm/types/api/subscription.d.ts +190 -192
  233. package/dist/esm/types/api/subscription.js +45 -45
  234. package/dist/esm/types/api/subscription.js.map +1 -1
  235. package/dist/esm/types/api/tracking-events.d.ts +15 -15
  236. package/dist/esm/types/api/tracking-events.js +1 -1
  237. package/dist/esm/types/api/user-account.d.ts +22 -28
  238. package/dist/esm/types/api/user-account.js +12 -12
  239. package/dist/esm/types/api/user.d.ts +13 -13
  240. package/dist/esm/types/api/user.js +1 -1
  241. package/dist/esm/types/common/address.d.ts +22 -22
  242. package/dist/esm/types/common/address.js +5 -5
  243. package/dist/esm/types/common/currency.d.ts +1 -1
  244. package/dist/esm/types/common/currency.js +60 -60
  245. package/dist/esm/types/common/index.d.ts +2 -2
  246. package/dist/esm/types/common/index.js +2 -2
  247. package/dist/esm/types/event/base/event-name-enum.d.ts +84 -95
  248. package/dist/esm/types/event/base/event-name-enum.js +87 -98
  249. package/dist/esm/types/event/base/event-name-enum.js.map +1 -1
  250. package/dist/esm/types/event/base/event.d.ts +20 -20
  251. package/dist/esm/types/event/base/event.js +7 -7
  252. package/dist/esm/types/event/base/index.d.ts +2 -2
  253. package/dist/esm/types/event/base/index.js +2 -2
  254. package/dist/esm/types/event/context/event-context-identity.d.ts +32 -32
  255. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  256. package/dist/esm/types/event/context/event-context.d.ts +201 -201
  257. package/dist/esm/types/event/context/event-context.js +1 -1
  258. package/dist/esm/types/event/context/index.d.ts +2 -2
  259. package/dist/esm/types/event/context/index.js +2 -2
  260. package/dist/esm/types/event/index.d.ts +5 -5
  261. package/dist/esm/types/event/index.js +5 -5
  262. package/dist/esm/types/event/log-event.d.ts +35 -35
  263. package/dist/esm/types/event/log-event.js +19 -19
  264. package/dist/esm/types/event/metric-event.d.ts +13 -13
  265. package/dist/esm/types/event/metric-event.js +1 -1
  266. package/dist/esm/types/event/tracking-event.d.ts +66 -66
  267. package/dist/esm/types/event/tracking-event.js +1 -1
  268. package/dist/esm/types/event-bus-event.d.ts +25 -25
  269. package/dist/esm/types/event-bus-event.js +1 -1
  270. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  271. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  272. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  273. package/dist/esm/types/fingerprint/index.js +2 -2
  274. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  275. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  276. package/dist/esm/types/index.d.ts +7 -7
  277. package/dist/esm/types/index.js +7 -7
  278. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  279. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  280. package/dist/esm/types/tracking-event-ingest-message.d.ts +12 -12
  281. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  282. package/package.json +1 -1
  283. package/dist/cjs/types/api/feature.d.ts +0 -66
  284. package/dist/cjs/types/api/feature.js +0 -37
  285. package/dist/cjs/types/api/feature.js.map +0 -1
  286. package/dist/cjs/types/api/promotion-code.d.ts +0 -35
  287. package/dist/cjs/types/api/promotion-code.js +0 -10
  288. package/dist/cjs/types/api/promotion-code.js.map +0 -1
  289. package/dist/esm/types/api/feature.d.ts +0 -66
  290. package/dist/esm/types/api/feature.js +0 -34
  291. package/dist/esm/types/api/feature.js.map +0 -1
  292. package/dist/esm/types/api/promotion-code.d.ts +0 -35
  293. package/dist/esm/types/api/promotion-code.js +0 -7
  294. package/dist/esm/types/api/promotion-code.js.map +0 -1
@@ -1,444 +1,444 @@
1
- import { MEASURE } from '../../measures.js';
2
- import { MEASURE_CATEGORY } from '../measure-categories.js';
3
- import { MeasureValueType } from '../measure-value-type.js';
4
- import { CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS, STANDARD_APPLICABLE_CONTEXTS } from '../measure-applicable-contexts.js';
5
- export const SHOPIFY_NEW_CUSTOMER_MEASURES_MAP = {
6
- [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDERS]: {
7
- title: 'New Customer Orders',
8
- description: 'The number of orders from new customers.',
9
- sumPrefix: '',
10
- sumSuffix: '',
11
- avgPrefix: '',
12
- avgSuffix: '',
13
- icon: 'shopify',
14
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDERS,
15
- category: MEASURE_CATEGORY.SALES,
16
- valueType: MeasureValueType.NUMBER,
17
- decimalPlaces: 0,
18
- useCompactNotation: false,
19
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
20
- },
21
- [MEASURE.SHOPIFY_NEW_CUSTOMERS]: {
22
- title: 'New Customers',
23
- description: 'The number of new customers.',
24
- sumPrefix: '',
25
- sumSuffix: '',
26
- avgPrefix: '',
27
- avgSuffix: '',
28
- icon: 'shopify',
29
- measure: MEASURE.SHOPIFY_NEW_CUSTOMERS,
30
- category: MEASURE_CATEGORY.SALES,
31
- valueType: MeasureValueType.NUMBER,
32
- decimalPlaces: 0,
33
- useCompactNotation: false,
34
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
35
- },
36
- [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_REVENUE]: {
37
- title: 'New Customer Revenue',
38
- description: 'The total revenue from new customers.',
39
- sumPrefix: '$',
40
- sumSuffix: '',
41
- avgPrefix: '$',
42
- avgSuffix: '',
43
- icon: 'shopify',
44
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_REVENUE,
45
- category: MEASURE_CATEGORY.SALES,
46
- valueType: MeasureValueType.CURRENCY,
47
- decimalPlaces: 2,
48
- useCompactNotation: true,
49
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
50
- aliases: [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AMOUNT, MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_SALES, MEASURE.SHOPIFY_NEW_CUSTOMER_REVENUE],
51
- },
52
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT]: {
53
- title: 'New Customer Gross Percent',
54
- description: 'The percentage of gross sales from new customers.',
55
- sumPrefix: '',
56
- sumSuffix: '%',
57
- avgPrefix: '',
58
- avgSuffix: '%',
59
- icon: 'shopify',
60
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT,
61
- category: MEASURE_CATEGORY.SALES,
62
- valueType: MeasureValueType.PERCENTAGE,
63
- decimalPlaces: 2,
64
- useCompactNotation: false,
65
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
66
- },
67
- [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AOV]: {
68
- title: 'New Customer Total Average Order Value',
69
- description: 'The average value of an order from new customers.',
70
- sumPrefix: '$',
71
- sumSuffix: '',
72
- avgPrefix: '$',
73
- avgSuffix: '',
74
- icon: 'shopify',
75
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AOV,
76
- category: MEASURE_CATEGORY.SALES,
77
- valueType: MeasureValueType.CURRENCY,
78
- decimalPlaces: 2,
79
- useCompactNotation: true,
80
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
81
- },
82
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_AOV]: {
83
- title: 'New Customer Gross Average Order Value',
84
- description: 'The average value of an order from new customers.',
85
- sumPrefix: '$',
86
- sumSuffix: '',
87
- avgPrefix: '$',
88
- avgSuffix: '',
89
- icon: 'shopify',
90
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_AOV,
91
- category: MEASURE_CATEGORY.SALES,
92
- valueType: MeasureValueType.CURRENCY,
93
- decimalPlaces: 2,
94
- useCompactNotation: true,
95
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
96
- aliases: [MEASURE.SHOPIFY_NEW_CUSTOMER_AOV]
97
- },
98
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV]: {
99
- title: 'New Customer Net Average Order Value',
100
- description: 'The average value of an order from new customers after refunds.',
101
- sumPrefix: '$',
102
- sumSuffix: '',
103
- avgPrefix: '$',
104
- avgSuffix: '',
105
- icon: 'shopify',
106
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV,
107
- category: MEASURE_CATEGORY.SALES,
108
- valueType: MeasureValueType.CURRENCY,
109
- decimalPlaces: 2,
110
- useCompactNotation: true,
111
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS
112
- },
113
- [MEASURE.SHOPIFY_NEW_CUSTOMER_RATE]: {
114
- title: 'New Customer Rate',
115
- description: 'The percentage of customers that are new customers.',
116
- sumPrefix: '',
117
- sumSuffix: '%',
118
- avgPrefix: '',
119
- avgSuffix: '%',
120
- icon: 'shopify',
121
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_RATE,
122
- category: MEASURE_CATEGORY.SALES,
123
- valueType: MeasureValueType.PERCENTAGE,
124
- decimalPlaces: 2,
125
- useCompactNotation: false,
126
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS
127
- },
128
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES]: {
129
- title: 'New Customer Gross Sales',
130
- description: 'The gross sales of new customers.',
131
- sumPrefix: '$',
132
- sumSuffix: '',
133
- avgPrefix: '$',
134
- avgSuffix: '',
135
- icon: 'shopify',
136
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES,
137
- category: MEASURE_CATEGORY.SALES,
138
- valueType: MeasureValueType.CURRENCY,
139
- decimalPlaces: 2,
140
- useCompactNotation: true,
141
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS
142
- },
143
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES]: {
144
- title: 'New Customer Net Sales',
145
- description: 'The net sales of new customers.',
146
- sumPrefix: '$',
147
- sumSuffix: '',
148
- avgPrefix: '$',
149
- avgSuffix: '',
150
- icon: 'shopify',
151
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES,
152
- category: MEASURE_CATEGORY.SALES,
153
- valueType: MeasureValueType.CURRENCY,
154
- decimalPlaces: 2,
155
- useCompactNotation: true,
156
- applicableContexts: STANDARD_APPLICABLE_CONTEXTS
157
- },
158
- [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_AMOUNT]: {
159
- title: 'New Customer Discount Amount',
160
- description: 'The total amount of discounts applied to orders from new customers.',
161
- sumPrefix: '$',
162
- sumSuffix: '',
163
- avgPrefix: '$',
164
- avgSuffix: '',
165
- icon: 'shopify',
166
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_AMOUNT,
167
- category: MEASURE_CATEGORY.SALES,
168
- valueType: MeasureValueType.CURRENCY,
169
- decimalPlaces: 2,
170
- useCompactNotation: true,
171
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
172
- },
173
- [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_GROSS_PERCENT]: {
174
- title: 'New Customer Discount Rate (% of Gross Sales)',
175
- description: 'The percentage of gross sales amount that was discounted for new customers.',
176
- sumPrefix: '',
177
- sumSuffix: '%',
178
- avgPrefix: '',
179
- avgSuffix: '%',
180
- icon: 'shopify',
181
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_GROSS_PERCENT,
182
- category: MEASURE_CATEGORY.SALES,
183
- valueType: MeasureValueType.PERCENTAGE,
184
- decimalPlaces: 2,
185
- useCompactNotation: false,
186
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
187
- },
188
- [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_RATE]: {
189
- title: 'New Customer Discounted Order Rate',
190
- description: 'The percentage of total orders from new customers that were discounted.',
191
- sumPrefix: '',
192
- sumSuffix: '%',
193
- avgPrefix: '',
194
- avgSuffix: '%',
195
- icon: 'shopify',
196
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_RATE,
197
- category: MEASURE_CATEGORY.SALES,
198
- valueType: MeasureValueType.PERCENTAGE,
199
- decimalPlaces: 2,
200
- useCompactNotation: false,
201
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
202
- },
203
- [MEASURE.SHOPIFY_NEW_CUSTOMER_REFUND_PLUS_DISCOUNT_AMOUNT]: {
204
- title: 'New Customer Refund Plus Discount Amount',
205
- description: 'The amount of refunds plus discounts given to all new customers.',
206
- sumPrefix: '$',
207
- sumSuffix: '',
208
- avgPrefix: '$',
209
- avgSuffix: '',
210
- icon: 'shopify',
211
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_REFUND_PLUS_DISCOUNT_AMOUNT,
212
- category: MEASURE_CATEGORY.SALES,
213
- valueType: MeasureValueType.CURRENCY,
214
- decimalPlaces: 2,
215
- useCompactNotation: true,
216
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
217
- },
218
- [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST]: {
219
- title: 'New Customer Order Total Product Cost',
220
- description: 'The total cost of the products in an order from new customers.',
221
- sumPrefix: '$',
222
- sumSuffix: '',
223
- avgPrefix: '$',
224
- avgSuffix: '',
225
- icon: 'shopify',
226
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST,
227
- category: MEASURE_CATEGORY.SALES,
228
- valueType: MeasureValueType.CURRENCY,
229
- decimalPlaces: 2,
230
- useCompactNotation: true,
231
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
232
- },
233
- [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_GROSS_PERCENT]: {
234
- title: 'New Customer Order Total Product Cost (% of Gross Sales)',
235
- description: 'The percentage of gross sales from new customers that represents the total product cost.',
236
- sumPrefix: '',
237
- sumSuffix: '%',
238
- avgPrefix: '',
239
- avgSuffix: '%',
240
- icon: 'shopify',
241
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_GROSS_PERCENT,
242
- category: MEASURE_CATEGORY.SALES,
243
- valueType: MeasureValueType.PERCENTAGE,
244
- decimalPlaces: 2,
245
- useCompactNotation: false,
246
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
247
- },
248
- [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_NET_PERCENT]: {
249
- title: 'New Customer Order Total Product Cost (% of Net Sales)',
250
- description: 'The percentage of net sales from new customers that represents the total product cost.',
251
- sumPrefix: '',
252
- sumSuffix: '%',
253
- avgPrefix: '',
254
- avgSuffix: '%',
255
- icon: 'shopify',
256
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_NET_PERCENT,
257
- category: MEASURE_CATEGORY.SALES,
258
- valueType: MeasureValueType.PERCENTAGE,
259
- decimalPlaces: 2,
260
- useCompactNotation: false,
261
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
262
- },
263
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN]: {
264
- title: 'New Customer Gross Product Margin',
265
- description: 'Shopify new customer gross margin (New Customer Gross Sales - New Customer Total Product Cost)',
266
- sumPrefix: '$',
267
- sumSuffix: '',
268
- avgPrefix: '$',
269
- avgSuffix: '',
270
- icon: 'shopify',
271
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN,
272
- category: MEASURE_CATEGORY.SALES,
273
- valueType: MeasureValueType.CURRENCY,
274
- decimalPlaces: 2,
275
- useCompactNotation: true,
276
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
277
- },
278
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_GROSS_PERCENT]: {
279
- title: 'New Customer Gross Product Margin (% of Gross Sales)',
280
- description: 'The percentage of gross sales from new customers that represents the gross product margin.',
281
- sumPrefix: '',
282
- sumSuffix: '%',
283
- avgPrefix: '',
284
- avgSuffix: '%',
285
- icon: 'shopify',
286
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_GROSS_PERCENT,
287
- category: MEASURE_CATEGORY.SALES,
288
- valueType: MeasureValueType.PERCENTAGE,
289
- decimalPlaces: 2,
290
- useCompactNotation: false,
291
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
292
- },
293
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_NET_PERCENT]: {
294
- title: 'New Customer Gross Product Margin (% of Net Sales)',
295
- description: 'The percentage of net sales from new customers that represents the gross product margin.',
296
- sumPrefix: '',
297
- sumSuffix: '%',
298
- avgPrefix: '',
299
- avgSuffix: '%',
300
- icon: 'shopify',
301
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_NET_PERCENT,
302
- category: MEASURE_CATEGORY.SALES,
303
- valueType: MeasureValueType.PERCENTAGE,
304
- decimalPlaces: 2,
305
- useCompactNotation: false,
306
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
307
- },
308
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN]: {
309
- title: 'New Customer Net Product Margin',
310
- description: 'Shopify new customer net margin (New Customer Net Sales - New Customer Total Product Cost)',
311
- sumPrefix: '$',
312
- sumSuffix: '',
313
- avgPrefix: '$',
314
- avgSuffix: '',
315
- icon: 'shopify',
316
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN,
317
- category: MEASURE_CATEGORY.SALES,
318
- valueType: MeasureValueType.CURRENCY,
319
- decimalPlaces: 2,
320
- useCompactNotation: true,
321
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
322
- },
323
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_GROSS_PERCENT]: {
324
- title: 'New Customer Net Product Margin (% of Gross Sales)',
325
- description: 'The percentage of gross sales from new customers that represents the net product margin.',
326
- sumPrefix: '',
327
- sumSuffix: '%',
328
- avgPrefix: '',
329
- avgSuffix: '%',
330
- icon: 'shopify',
331
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_GROSS_PERCENT,
332
- category: MEASURE_CATEGORY.SALES,
333
- valueType: MeasureValueType.PERCENTAGE,
334
- decimalPlaces: 2,
335
- useCompactNotation: false,
336
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
337
- },
338
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_NET_PERCENT]: {
339
- title: 'New Customer Net Product Margin (% of Net Sales)',
340
- description: 'The percentage of net sales from new customers that represents the net product margin.',
341
- sumPrefix: '',
342
- sumSuffix: '%',
343
- avgPrefix: '',
344
- avgSuffix: '%',
345
- icon: 'shopify',
346
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_NET_PERCENT,
347
- category: MEASURE_CATEGORY.SALES,
348
- valueType: MeasureValueType.PERCENTAGE,
349
- decimalPlaces: 2,
350
- useCompactNotation: false,
351
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
352
- },
353
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN]: {
354
- title: 'New Customer Gross Margin',
355
- description: 'Shopify new customer gross margin (New Customer Gross Sales - New Customer Total Product Cost - Ad Spend)',
356
- sumPrefix: '$',
357
- sumSuffix: '',
358
- avgPrefix: '$',
359
- avgSuffix: '',
360
- icon: 'shopify',
361
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN,
362
- category: MEASURE_CATEGORY.SALES,
363
- valueType: MeasureValueType.CURRENCY,
364
- decimalPlaces: 2,
365
- useCompactNotation: true,
366
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
367
- },
368
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_GROSS_PERCENT]: {
369
- title: 'New Customer Gross Margin (% of Gross Sales)',
370
- description: 'The percentage of gross sales from new customers that represents the gross margin.',
371
- sumPrefix: '',
372
- sumSuffix: '%',
373
- avgPrefix: '',
374
- avgSuffix: '%',
375
- icon: 'shopify',
376
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_GROSS_PERCENT,
377
- category: MEASURE_CATEGORY.SALES,
378
- valueType: MeasureValueType.PERCENTAGE,
379
- decimalPlaces: 2,
380
- useCompactNotation: false,
381
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
382
- },
383
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_NET_PERCENT]: {
384
- title: 'New Customer Gross Margin (% of Net Sales)',
385
- description: 'The percentage of net sales from new customers that represents the gross margin.',
386
- sumPrefix: '',
387
- sumSuffix: '%',
388
- avgPrefix: '',
389
- avgSuffix: '%',
390
- icon: 'shopify',
391
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_NET_PERCENT,
392
- category: MEASURE_CATEGORY.SALES,
393
- valueType: MeasureValueType.PERCENTAGE,
394
- decimalPlaces: 2,
395
- useCompactNotation: false,
396
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
397
- },
398
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN]: {
399
- title: 'New Customer Net Margin',
400
- description: 'Shopify new customer net margin (New Customer Net Sales - New Customer Total Product Cost - Ad Spend)',
401
- sumPrefix: '$',
402
- sumSuffix: '',
403
- avgPrefix: '$',
404
- avgSuffix: '',
405
- icon: 'shopify',
406
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN,
407
- category: MEASURE_CATEGORY.SALES,
408
- valueType: MeasureValueType.CURRENCY,
409
- decimalPlaces: 2,
410
- useCompactNotation: true,
411
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
412
- },
413
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_GROSS_PERCENT]: {
414
- title: 'New Customer Net Margin (% of Gross Sales)',
415
- description: 'The percentage of gross sales from new customers that represents the net margin.',
416
- sumPrefix: '',
417
- sumSuffix: '%',
418
- avgPrefix: '',
419
- avgSuffix: '%',
420
- icon: 'shopify',
421
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_GROSS_PERCENT,
422
- category: MEASURE_CATEGORY.SALES,
423
- valueType: MeasureValueType.PERCENTAGE,
424
- decimalPlaces: 2,
425
- useCompactNotation: false,
426
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
427
- },
428
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_NET_PERCENT]: {
429
- title: 'New Customer Net Margin (% of Net Sales)',
430
- description: 'The percentage of net sales from new customers that represents the net margin.',
431
- sumPrefix: '',
432
- sumSuffix: '%',
433
- avgPrefix: '',
434
- avgSuffix: '%',
435
- icon: 'shopify',
436
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_NET_PERCENT,
437
- category: MEASURE_CATEGORY.SALES,
438
- valueType: MeasureValueType.PERCENTAGE,
439
- decimalPlaces: 2,
440
- useCompactNotation: false,
441
- applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
442
- }
443
- };
1
+ import { MEASURE } from '../../measures.js';
2
+ import { MEASURE_CATEGORY } from '../measure-categories.js';
3
+ import { MeasureValueType } from '../measure-value-type.js';
4
+ import { CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS, STANDARD_APPLICABLE_CONTEXTS } from '../measure-applicable-contexts.js';
5
+ export const SHOPIFY_NEW_CUSTOMER_MEASURES_MAP = {
6
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDERS]: {
7
+ title: 'New Customer Orders',
8
+ description: 'The number of orders from new customers.',
9
+ sumPrefix: '',
10
+ sumSuffix: '',
11
+ avgPrefix: '',
12
+ avgSuffix: '',
13
+ icon: 'shopify',
14
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDERS,
15
+ category: MEASURE_CATEGORY.SALES,
16
+ valueType: MeasureValueType.NUMBER,
17
+ decimalPlaces: 0,
18
+ useCompactNotation: false,
19
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
20
+ },
21
+ [MEASURE.SHOPIFY_NEW_CUSTOMERS]: {
22
+ title: 'New Customers',
23
+ description: 'The number of new customers.',
24
+ sumPrefix: '',
25
+ sumSuffix: '',
26
+ avgPrefix: '',
27
+ avgSuffix: '',
28
+ icon: 'shopify',
29
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMERS,
30
+ category: MEASURE_CATEGORY.SALES,
31
+ valueType: MeasureValueType.NUMBER,
32
+ decimalPlaces: 0,
33
+ useCompactNotation: false,
34
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
35
+ },
36
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_REVENUE]: {
37
+ title: 'New Customer Revenue',
38
+ description: 'The total revenue from new customers.',
39
+ sumPrefix: '$',
40
+ sumSuffix: '',
41
+ avgPrefix: '$',
42
+ avgSuffix: '',
43
+ icon: 'shopify',
44
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_REVENUE,
45
+ category: MEASURE_CATEGORY.SALES,
46
+ valueType: MeasureValueType.CURRENCY,
47
+ decimalPlaces: 2,
48
+ useCompactNotation: true,
49
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
50
+ aliases: [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AMOUNT, MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_SALES, MEASURE.SHOPIFY_NEW_CUSTOMER_REVENUE],
51
+ },
52
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT]: {
53
+ title: 'New Customer Gross Percent',
54
+ description: 'The percentage of gross sales from new customers.',
55
+ sumPrefix: '',
56
+ sumSuffix: '%',
57
+ avgPrefix: '',
58
+ avgSuffix: '%',
59
+ icon: 'shopify',
60
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT,
61
+ category: MEASURE_CATEGORY.SALES,
62
+ valueType: MeasureValueType.PERCENTAGE,
63
+ decimalPlaces: 2,
64
+ useCompactNotation: false,
65
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
66
+ },
67
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AOV]: {
68
+ title: 'New Customer Total Average Order Value',
69
+ description: 'The average value of an order from new customers.',
70
+ sumPrefix: '$',
71
+ sumSuffix: '',
72
+ avgPrefix: '$',
73
+ avgSuffix: '',
74
+ icon: 'shopify',
75
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_AOV,
76
+ category: MEASURE_CATEGORY.SALES,
77
+ valueType: MeasureValueType.CURRENCY,
78
+ decimalPlaces: 2,
79
+ useCompactNotation: true,
80
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
81
+ },
82
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_AOV]: {
83
+ title: 'New Customer Gross Average Order Value',
84
+ description: 'The average value of an order from new customers.',
85
+ sumPrefix: '$',
86
+ sumSuffix: '',
87
+ avgPrefix: '$',
88
+ avgSuffix: '',
89
+ icon: 'shopify',
90
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_AOV,
91
+ category: MEASURE_CATEGORY.SALES,
92
+ valueType: MeasureValueType.CURRENCY,
93
+ decimalPlaces: 2,
94
+ useCompactNotation: true,
95
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
96
+ aliases: [MEASURE.SHOPIFY_NEW_CUSTOMER_AOV]
97
+ },
98
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV]: {
99
+ title: 'New Customer Net Average Order Value',
100
+ description: 'The average value of an order from new customers after refunds.',
101
+ sumPrefix: '$',
102
+ sumSuffix: '',
103
+ avgPrefix: '$',
104
+ avgSuffix: '',
105
+ icon: 'shopify',
106
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV,
107
+ category: MEASURE_CATEGORY.SALES,
108
+ valueType: MeasureValueType.CURRENCY,
109
+ decimalPlaces: 2,
110
+ useCompactNotation: true,
111
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS
112
+ },
113
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_RATE]: {
114
+ title: 'New Customer Rate',
115
+ description: 'The percentage of customers that are new customers.',
116
+ sumPrefix: '',
117
+ sumSuffix: '%',
118
+ avgPrefix: '',
119
+ avgSuffix: '%',
120
+ icon: 'shopify',
121
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_RATE,
122
+ category: MEASURE_CATEGORY.SALES,
123
+ valueType: MeasureValueType.PERCENTAGE,
124
+ decimalPlaces: 2,
125
+ useCompactNotation: false,
126
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS
127
+ },
128
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES]: {
129
+ title: 'New Customer Gross Sales',
130
+ description: 'The gross sales of new customers.',
131
+ sumPrefix: '$',
132
+ sumSuffix: '',
133
+ avgPrefix: '$',
134
+ avgSuffix: '',
135
+ icon: 'shopify',
136
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES,
137
+ category: MEASURE_CATEGORY.SALES,
138
+ valueType: MeasureValueType.CURRENCY,
139
+ decimalPlaces: 2,
140
+ useCompactNotation: true,
141
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS
142
+ },
143
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES]: {
144
+ title: 'New Customer Net Sales',
145
+ description: 'The net sales of new customers.',
146
+ sumPrefix: '$',
147
+ sumSuffix: '',
148
+ avgPrefix: '$',
149
+ avgSuffix: '',
150
+ icon: 'shopify',
151
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES,
152
+ category: MEASURE_CATEGORY.SALES,
153
+ valueType: MeasureValueType.CURRENCY,
154
+ decimalPlaces: 2,
155
+ useCompactNotation: true,
156
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS
157
+ },
158
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_AMOUNT]: {
159
+ title: 'New Customer Discount Amount',
160
+ description: 'The total amount of discounts applied to orders from new customers.',
161
+ sumPrefix: '$',
162
+ sumSuffix: '',
163
+ avgPrefix: '$',
164
+ avgSuffix: '',
165
+ icon: 'shopify',
166
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_AMOUNT,
167
+ category: MEASURE_CATEGORY.SALES,
168
+ valueType: MeasureValueType.CURRENCY,
169
+ decimalPlaces: 2,
170
+ useCompactNotation: true,
171
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
172
+ },
173
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_GROSS_PERCENT]: {
174
+ title: 'New Customer Discount Rate (% of Gross Sales)',
175
+ description: 'The percentage of gross sales amount that was discounted for new customers.',
176
+ sumPrefix: '',
177
+ sumSuffix: '%',
178
+ avgPrefix: '',
179
+ avgSuffix: '%',
180
+ icon: 'shopify',
181
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_GROSS_PERCENT,
182
+ category: MEASURE_CATEGORY.SALES,
183
+ valueType: MeasureValueType.PERCENTAGE,
184
+ decimalPlaces: 2,
185
+ useCompactNotation: false,
186
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
187
+ },
188
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_RATE]: {
189
+ title: 'New Customer Discounted Order Rate',
190
+ description: 'The percentage of total orders from new customers that were discounted.',
191
+ sumPrefix: '',
192
+ sumSuffix: '%',
193
+ avgPrefix: '',
194
+ avgSuffix: '%',
195
+ icon: 'shopify',
196
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_DISCOUNT_RATE,
197
+ category: MEASURE_CATEGORY.SALES,
198
+ valueType: MeasureValueType.PERCENTAGE,
199
+ decimalPlaces: 2,
200
+ useCompactNotation: false,
201
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
202
+ },
203
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_REFUND_PLUS_DISCOUNT_AMOUNT]: {
204
+ title: 'New Customer Refund Plus Discount Amount',
205
+ description: 'The amount of refunds plus discounts given to all new customers.',
206
+ sumPrefix: '$',
207
+ sumSuffix: '',
208
+ avgPrefix: '$',
209
+ avgSuffix: '',
210
+ icon: 'shopify',
211
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_REFUND_PLUS_DISCOUNT_AMOUNT,
212
+ category: MEASURE_CATEGORY.SALES,
213
+ valueType: MeasureValueType.CURRENCY,
214
+ decimalPlaces: 2,
215
+ useCompactNotation: true,
216
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
217
+ },
218
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST]: {
219
+ title: 'New Customer Order Total Product Cost',
220
+ description: 'The total cost of the products in an order from new customers.',
221
+ sumPrefix: '$',
222
+ sumSuffix: '',
223
+ avgPrefix: '$',
224
+ avgSuffix: '',
225
+ icon: 'shopify',
226
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST,
227
+ category: MEASURE_CATEGORY.SALES,
228
+ valueType: MeasureValueType.CURRENCY,
229
+ decimalPlaces: 2,
230
+ useCompactNotation: true,
231
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
232
+ },
233
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_GROSS_PERCENT]: {
234
+ title: 'New Customer Order Total Product Cost (% of Gross Sales)',
235
+ description: 'The percentage of gross sales from new customers that represents the total product cost.',
236
+ sumPrefix: '',
237
+ sumSuffix: '%',
238
+ avgPrefix: '',
239
+ avgSuffix: '%',
240
+ icon: 'shopify',
241
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_GROSS_PERCENT,
242
+ category: MEASURE_CATEGORY.SALES,
243
+ valueType: MeasureValueType.PERCENTAGE,
244
+ decimalPlaces: 2,
245
+ useCompactNotation: false,
246
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
247
+ },
248
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_NET_PERCENT]: {
249
+ title: 'New Customer Order Total Product Cost (% of Net Sales)',
250
+ description: 'The percentage of net sales from new customers that represents the total product cost.',
251
+ sumPrefix: '',
252
+ sumSuffix: '%',
253
+ avgPrefix: '',
254
+ avgSuffix: '%',
255
+ icon: 'shopify',
256
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_ORDER_TOTAL_PRODUCT_COST_NET_PERCENT,
257
+ category: MEASURE_CATEGORY.SALES,
258
+ valueType: MeasureValueType.PERCENTAGE,
259
+ decimalPlaces: 2,
260
+ useCompactNotation: false,
261
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
262
+ },
263
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN]: {
264
+ title: 'New Customer Gross Product Margin',
265
+ description: 'Shopify new customer gross margin (New Customer Gross Sales - New Customer Total Product Cost)',
266
+ sumPrefix: '$',
267
+ sumSuffix: '',
268
+ avgPrefix: '$',
269
+ avgSuffix: '',
270
+ icon: 'shopify',
271
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN,
272
+ category: MEASURE_CATEGORY.SALES,
273
+ valueType: MeasureValueType.CURRENCY,
274
+ decimalPlaces: 2,
275
+ useCompactNotation: true,
276
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
277
+ },
278
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_GROSS_PERCENT]: {
279
+ title: 'New Customer Gross Product Margin (% of Gross Sales)',
280
+ description: 'The percentage of gross sales from new customers that represents the gross product margin.',
281
+ sumPrefix: '',
282
+ sumSuffix: '%',
283
+ avgPrefix: '',
284
+ avgSuffix: '%',
285
+ icon: 'shopify',
286
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_GROSS_PERCENT,
287
+ category: MEASURE_CATEGORY.SALES,
288
+ valueType: MeasureValueType.PERCENTAGE,
289
+ decimalPlaces: 2,
290
+ useCompactNotation: false,
291
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
292
+ },
293
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_NET_PERCENT]: {
294
+ title: 'New Customer Gross Product Margin (% of Net Sales)',
295
+ description: 'The percentage of net sales from new customers that represents the gross product margin.',
296
+ sumPrefix: '',
297
+ sumSuffix: '%',
298
+ avgPrefix: '',
299
+ avgSuffix: '%',
300
+ icon: 'shopify',
301
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_NET_PERCENT,
302
+ category: MEASURE_CATEGORY.SALES,
303
+ valueType: MeasureValueType.PERCENTAGE,
304
+ decimalPlaces: 2,
305
+ useCompactNotation: false,
306
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
307
+ },
308
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN]: {
309
+ title: 'New Customer Net Product Margin',
310
+ description: 'Shopify new customer net margin (New Customer Net Sales - New Customer Total Product Cost)',
311
+ sumPrefix: '$',
312
+ sumSuffix: '',
313
+ avgPrefix: '$',
314
+ avgSuffix: '',
315
+ icon: 'shopify',
316
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN,
317
+ category: MEASURE_CATEGORY.SALES,
318
+ valueType: MeasureValueType.CURRENCY,
319
+ decimalPlaces: 2,
320
+ useCompactNotation: true,
321
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
322
+ },
323
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_GROSS_PERCENT]: {
324
+ title: 'New Customer Net Product Margin (% of Gross Sales)',
325
+ description: 'The percentage of gross sales from new customers that represents the net product margin.',
326
+ sumPrefix: '',
327
+ sumSuffix: '%',
328
+ avgPrefix: '',
329
+ avgSuffix: '%',
330
+ icon: 'shopify',
331
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_GROSS_PERCENT,
332
+ category: MEASURE_CATEGORY.SALES,
333
+ valueType: MeasureValueType.PERCENTAGE,
334
+ decimalPlaces: 2,
335
+ useCompactNotation: false,
336
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
337
+ },
338
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_NET_PERCENT]: {
339
+ title: 'New Customer Net Product Margin (% of Net Sales)',
340
+ description: 'The percentage of net sales from new customers that represents the net product margin.',
341
+ sumPrefix: '',
342
+ sumSuffix: '%',
343
+ avgPrefix: '',
344
+ avgSuffix: '%',
345
+ icon: 'shopify',
346
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_PRODUCT_MARGIN_NET_PERCENT,
347
+ category: MEASURE_CATEGORY.SALES,
348
+ valueType: MeasureValueType.PERCENTAGE,
349
+ decimalPlaces: 2,
350
+ useCompactNotation: false,
351
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
352
+ },
353
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN]: {
354
+ title: 'New Customer Gross Margin',
355
+ description: 'Shopify new customer gross margin (New Customer Gross Sales - New Customer Total Product Cost - Ad Spend)',
356
+ sumPrefix: '$',
357
+ sumSuffix: '',
358
+ avgPrefix: '$',
359
+ avgSuffix: '',
360
+ icon: 'shopify',
361
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN,
362
+ category: MEASURE_CATEGORY.SALES,
363
+ valueType: MeasureValueType.CURRENCY,
364
+ decimalPlaces: 2,
365
+ useCompactNotation: true,
366
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
367
+ },
368
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_GROSS_PERCENT]: {
369
+ title: 'New Customer Gross Margin (% of Gross Sales)',
370
+ description: 'The percentage of gross sales from new customers that represents the gross margin.',
371
+ sumPrefix: '',
372
+ sumSuffix: '%',
373
+ avgPrefix: '',
374
+ avgSuffix: '%',
375
+ icon: 'shopify',
376
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_GROSS_PERCENT,
377
+ category: MEASURE_CATEGORY.SALES,
378
+ valueType: MeasureValueType.PERCENTAGE,
379
+ decimalPlaces: 2,
380
+ useCompactNotation: false,
381
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
382
+ },
383
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_NET_PERCENT]: {
384
+ title: 'New Customer Gross Margin (% of Net Sales)',
385
+ description: 'The percentage of net sales from new customers that represents the gross margin.',
386
+ sumPrefix: '',
387
+ sumSuffix: '%',
388
+ avgPrefix: '',
389
+ avgSuffix: '%',
390
+ icon: 'shopify',
391
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_MARGIN_NET_PERCENT,
392
+ category: MEASURE_CATEGORY.SALES,
393
+ valueType: MeasureValueType.PERCENTAGE,
394
+ decimalPlaces: 2,
395
+ useCompactNotation: false,
396
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
397
+ },
398
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN]: {
399
+ title: 'New Customer Net Margin',
400
+ description: 'Shopify new customer net margin (New Customer Net Sales - New Customer Total Product Cost - Ad Spend)',
401
+ sumPrefix: '$',
402
+ sumSuffix: '',
403
+ avgPrefix: '$',
404
+ avgSuffix: '',
405
+ icon: 'shopify',
406
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN,
407
+ category: MEASURE_CATEGORY.SALES,
408
+ valueType: MeasureValueType.CURRENCY,
409
+ decimalPlaces: 2,
410
+ useCompactNotation: true,
411
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
412
+ },
413
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_GROSS_PERCENT]: {
414
+ title: 'New Customer Net Margin (% of Gross Sales)',
415
+ description: 'The percentage of gross sales from new customers that represents the net margin.',
416
+ sumPrefix: '',
417
+ sumSuffix: '%',
418
+ avgPrefix: '',
419
+ avgSuffix: '%',
420
+ icon: 'shopify',
421
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_GROSS_PERCENT,
422
+ category: MEASURE_CATEGORY.SALES,
423
+ valueType: MeasureValueType.PERCENTAGE,
424
+ decimalPlaces: 2,
425
+ useCompactNotation: false,
426
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
427
+ },
428
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_NET_PERCENT]: {
429
+ title: 'New Customer Net Margin (% of Net Sales)',
430
+ description: 'The percentage of net sales from new customers that represents the net margin.',
431
+ sumPrefix: '',
432
+ sumSuffix: '%',
433
+ avgPrefix: '',
434
+ avgSuffix: '%',
435
+ icon: 'shopify',
436
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_MARGIN_NET_PERCENT,
437
+ category: MEASURE_CATEGORY.SALES,
438
+ valueType: MeasureValueType.PERCENTAGE,
439
+ decimalPlaces: 2,
440
+ useCompactNotation: false,
441
+ applicableContexts: CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS
442
+ }
443
+ };
444
444
  //# sourceMappingURL=shopify-nc-measure-definitions.js.map