@adtrackify/at-tracking-event-types 3.5.17 → 3.5.19

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