@adtrackify/at-tracking-event-types 3.1.42 → 3.1.43

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 (213) hide show
  1. package/dist/cjs/index.d.ts +1 -1
  2. package/dist/cjs/index.js +17 -17
  3. package/dist/cjs/types/api/account.d.ts +62 -62
  4. package/dist/cjs/types/api/account.js +23 -23
  5. package/dist/cjs/types/api/contact-acquisition.d.ts +39 -39
  6. package/dist/cjs/types/api/contact-acquisition.js +16 -16
  7. package/dist/cjs/types/api/dashboards/index.d.ts +1 -1
  8. package/dist/cjs/types/api/dashboards/index.js +17 -17
  9. package/dist/cjs/types/api/dashboards/widget.d.ts +83 -84
  10. package/dist/cjs/types/api/dashboards/widget.js +21 -21
  11. package/dist/cjs/types/api/destination-tracked-events.d.ts +11 -11
  12. package/dist/cjs/types/api/destination-tracked-events.js +3 -3
  13. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  14. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  15. package/dist/cjs/types/api/destinations/destinations.d.ts +110 -112
  16. package/dist/cjs/types/api/destinations/destinations.js +49 -49
  17. package/dist/cjs/types/api/destinations/destinations.js.map +1 -1
  18. package/dist/cjs/types/api/destinations/index.d.ts +5 -5
  19. package/dist/cjs/types/api/destinations/index.js +21 -21
  20. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  21. package/dist/cjs/types/api/destinations/third-party-contact-acquisition-configs.js +2 -2
  22. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +106 -106
  23. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
  24. package/dist/cjs/types/api/destinations/third-party-integration-configs.d.ts +60 -60
  25. package/dist/cjs/types/api/destinations/third-party-integration-configs.js +11 -11
  26. package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
  27. package/dist/cjs/types/api/event-last-seen.js +2 -2
  28. package/dist/cjs/types/api/event-status.d.ts +18 -18
  29. package/dist/cjs/types/api/event-status.js +9 -9
  30. package/dist/cjs/types/api/index.d.ts +19 -19
  31. package/dist/cjs/types/api/index.js +35 -35
  32. package/dist/cjs/types/api/log-events.d.ts +22 -22
  33. package/dist/cjs/types/api/log-events.js +2 -2
  34. package/dist/cjs/types/api/measures/definitions/core-channel-measure-definitions.d.ts +123 -123
  35. package/dist/cjs/types/api/measures/definitions/core-channel-measure-definitions.js +126 -126
  36. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.d.ts +123 -123
  37. package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +126 -126
  38. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.d.ts +363 -363
  39. package/dist/cjs/types/api/measures/definitions/facebook-measure-definitions.js +366 -366
  40. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.d.ts +183 -183
  41. package/dist/cjs/types/api/measures/definitions/google-measure-definitions.js +186 -186
  42. package/dist/cjs/types/api/measures/definitions/index.d.ts +7 -7
  43. package/dist/cjs/types/api/measures/definitions/index.js +23 -23
  44. package/dist/cjs/types/api/measures/definitions/measure-definitions.d.ts +1652 -1652
  45. package/dist/cjs/types/api/measures/definitions/measure-definitions.js +167 -167
  46. package/dist/cjs/types/api/measures/definitions/shopify-measure-definitions.d.ts +554 -554
  47. package/dist/cjs/types/api/measures/definitions/shopify-measure-definitions.js +557 -557
  48. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.d.ts +350 -350
  49. package/dist/cjs/types/api/measures/definitions/tracked-measure-definitions.js +353 -353
  50. package/dist/cjs/types/api/measures/index.d.ts +2 -2
  51. package/dist/cjs/types/api/measures/index.js +18 -18
  52. package/dist/cjs/types/api/measures/measures.d.ts +241 -241
  53. package/dist/cjs/types/api/measures/measures.js +245 -245
  54. package/dist/cjs/types/api/pixel-setup-health.d.ts +19 -19
  55. package/dist/cjs/types/api/pixel-setup-health.js +2 -2
  56. package/dist/cjs/types/api/query.d.ts +147 -147
  57. package/dist/cjs/types/api/query.js +90 -90
  58. package/dist/cjs/types/api/shopify-app-install.d.ts +40 -40
  59. package/dist/cjs/types/api/shopify-app-install.js +14 -14
  60. package/dist/cjs/types/api/subscription.d.ts +155 -155
  61. package/dist/cjs/types/api/subscription.js +47 -47
  62. package/dist/cjs/types/api/tracking-events.d.ts +15 -15
  63. package/dist/cjs/types/api/tracking-events.js +2 -2
  64. package/dist/cjs/types/api/user.d.ts +13 -13
  65. package/dist/cjs/types/api/user.js +2 -2
  66. package/dist/cjs/types/common/address.d.ts +15 -15
  67. package/dist/cjs/types/common/address.js +2 -2
  68. package/dist/cjs/types/common/currency.d.ts +1 -1
  69. package/dist/cjs/types/common/currency.js +63 -63
  70. package/dist/cjs/types/common/index.d.ts +2 -2
  71. package/dist/cjs/types/common/index.js +18 -18
  72. package/dist/cjs/types/event/base/event-name-enum.d.ts +60 -59
  73. package/dist/cjs/types/event/base/event-name-enum.js +66 -65
  74. package/dist/cjs/types/event/base/event-name-enum.js.map +1 -1
  75. package/dist/cjs/types/event/base/event.d.ts +20 -20
  76. package/dist/cjs/types/event/base/event.js +10 -10
  77. package/dist/cjs/types/event/base/index.d.ts +2 -2
  78. package/dist/cjs/types/event/base/index.js +18 -18
  79. package/dist/cjs/types/event/context/event-context-identity.d.ts +21 -21
  80. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  81. package/dist/cjs/types/event/context/event-context.d.ts +196 -196
  82. package/dist/cjs/types/event/context/event-context.js +2 -2
  83. package/dist/cjs/types/event/context/index.d.ts +2 -2
  84. package/dist/cjs/types/event/context/index.js +18 -18
  85. package/dist/cjs/types/event/index.d.ts +5 -5
  86. package/dist/cjs/types/event/index.js +21 -21
  87. package/dist/cjs/types/event/log-event.d.ts +35 -35
  88. package/dist/cjs/types/event/log-event.js +22 -22
  89. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  90. package/dist/cjs/types/event/metric-event.js +2 -2
  91. package/dist/cjs/types/event/tracking-event.d.ts +62 -62
  92. package/dist/cjs/types/event/tracking-event.js +2 -2
  93. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  94. package/dist/cjs/types/event-bus-event.js +2 -2
  95. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  96. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  97. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  98. package/dist/cjs/types/fingerprint/index.js +18 -18
  99. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  100. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  101. package/dist/cjs/types/index.d.ts +7 -7
  102. package/dist/cjs/types/index.js +23 -23
  103. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  104. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  105. package/dist/cjs/types/tracking-event-ingest-message.d.ts +10 -10
  106. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  107. package/dist/esm/index.d.ts +1 -1
  108. package/dist/esm/index.js +1 -1
  109. package/dist/esm/types/api/account.d.ts +62 -62
  110. package/dist/esm/types/api/account.js +20 -20
  111. package/dist/esm/types/api/contact-acquisition.d.ts +39 -39
  112. package/dist/esm/types/api/contact-acquisition.js +13 -13
  113. package/dist/esm/types/api/dashboards/index.d.ts +1 -1
  114. package/dist/esm/types/api/dashboards/index.js +1 -1
  115. package/dist/esm/types/api/dashboards/widget.d.ts +83 -84
  116. package/dist/esm/types/api/dashboards/widget.js +18 -18
  117. package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
  118. package/dist/esm/types/api/destination-tracked-events.js +1 -1
  119. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  120. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  121. package/dist/esm/types/api/destinations/destinations.d.ts +110 -112
  122. package/dist/esm/types/api/destinations/destinations.js +46 -46
  123. package/dist/esm/types/api/destinations/destinations.js.map +1 -1
  124. package/dist/esm/types/api/destinations/index.d.ts +5 -5
  125. package/dist/esm/types/api/destinations/index.js +5 -5
  126. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.d.ts +9 -9
  127. package/dist/esm/types/api/destinations/third-party-contact-acquisition-configs.js +1 -1
  128. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +106 -106
  129. package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
  130. package/dist/esm/types/api/destinations/third-party-integration-configs.d.ts +60 -60
  131. package/dist/esm/types/api/destinations/third-party-integration-configs.js +8 -8
  132. package/dist/esm/types/api/event-last-seen.d.ts +6 -6
  133. package/dist/esm/types/api/event-last-seen.js +1 -1
  134. package/dist/esm/types/api/event-status.d.ts +18 -18
  135. package/dist/esm/types/api/event-status.js +6 -6
  136. package/dist/esm/types/api/index.d.ts +19 -19
  137. package/dist/esm/types/api/index.js +19 -19
  138. package/dist/esm/types/api/log-events.d.ts +22 -22
  139. package/dist/esm/types/api/log-events.js +1 -1
  140. package/dist/esm/types/api/measures/definitions/core-channel-measure-definitions.d.ts +123 -123
  141. package/dist/esm/types/api/measures/definitions/core-channel-measure-definitions.js +123 -123
  142. package/dist/esm/types/api/measures/definitions/core-measure-definitions.d.ts +123 -123
  143. package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +123 -123
  144. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.d.ts +363 -363
  145. package/dist/esm/types/api/measures/definitions/facebook-measure-definitions.js +363 -363
  146. package/dist/esm/types/api/measures/definitions/google-measure-definitions.d.ts +183 -183
  147. package/dist/esm/types/api/measures/definitions/google-measure-definitions.js +183 -183
  148. package/dist/esm/types/api/measures/definitions/index.d.ts +7 -7
  149. package/dist/esm/types/api/measures/definitions/index.js +7 -7
  150. package/dist/esm/types/api/measures/definitions/measure-definitions.d.ts +1652 -1652
  151. package/dist/esm/types/api/measures/definitions/measure-definitions.js +164 -164
  152. package/dist/esm/types/api/measures/definitions/shopify-measure-definitions.d.ts +554 -554
  153. package/dist/esm/types/api/measures/definitions/shopify-measure-definitions.js +554 -554
  154. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.d.ts +350 -350
  155. package/dist/esm/types/api/measures/definitions/tracked-measure-definitions.js +350 -350
  156. package/dist/esm/types/api/measures/index.d.ts +2 -2
  157. package/dist/esm/types/api/measures/index.js +2 -2
  158. package/dist/esm/types/api/measures/measures.d.ts +241 -241
  159. package/dist/esm/types/api/measures/measures.js +242 -242
  160. package/dist/esm/types/api/pixel-setup-health.d.ts +19 -19
  161. package/dist/esm/types/api/pixel-setup-health.js +1 -1
  162. package/dist/esm/types/api/query.d.ts +147 -147
  163. package/dist/esm/types/api/query.js +87 -87
  164. package/dist/esm/types/api/shopify-app-install.d.ts +40 -40
  165. package/dist/esm/types/api/shopify-app-install.js +11 -11
  166. package/dist/esm/types/api/subscription.d.ts +155 -155
  167. package/dist/esm/types/api/subscription.js +44 -44
  168. package/dist/esm/types/api/tracking-events.d.ts +15 -15
  169. package/dist/esm/types/api/tracking-events.js +1 -1
  170. package/dist/esm/types/api/user.d.ts +13 -13
  171. package/dist/esm/types/api/user.js +1 -1
  172. package/dist/esm/types/common/address.d.ts +15 -15
  173. package/dist/esm/types/common/address.js +1 -1
  174. package/dist/esm/types/common/currency.d.ts +1 -1
  175. package/dist/esm/types/common/currency.js +60 -60
  176. package/dist/esm/types/common/index.d.ts +2 -2
  177. package/dist/esm/types/common/index.js +2 -2
  178. package/dist/esm/types/event/base/event-name-enum.d.ts +60 -59
  179. package/dist/esm/types/event/base/event-name-enum.js +63 -62
  180. package/dist/esm/types/event/base/event-name-enum.js.map +1 -1
  181. package/dist/esm/types/event/base/event.d.ts +20 -20
  182. package/dist/esm/types/event/base/event.js +7 -7
  183. package/dist/esm/types/event/base/index.d.ts +2 -2
  184. package/dist/esm/types/event/base/index.js +2 -2
  185. package/dist/esm/types/event/context/event-context-identity.d.ts +21 -21
  186. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  187. package/dist/esm/types/event/context/event-context.d.ts +196 -196
  188. package/dist/esm/types/event/context/event-context.js +1 -1
  189. package/dist/esm/types/event/context/index.d.ts +2 -2
  190. package/dist/esm/types/event/context/index.js +2 -2
  191. package/dist/esm/types/event/index.d.ts +5 -5
  192. package/dist/esm/types/event/index.js +5 -5
  193. package/dist/esm/types/event/log-event.d.ts +35 -35
  194. package/dist/esm/types/event/log-event.js +19 -19
  195. package/dist/esm/types/event/metric-event.d.ts +13 -13
  196. package/dist/esm/types/event/metric-event.js +1 -1
  197. package/dist/esm/types/event/tracking-event.d.ts +62 -62
  198. package/dist/esm/types/event/tracking-event.js +1 -1
  199. package/dist/esm/types/event-bus-event.d.ts +25 -25
  200. package/dist/esm/types/event-bus-event.js +1 -1
  201. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  202. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  203. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  204. package/dist/esm/types/fingerprint/index.js +2 -2
  205. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  206. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  207. package/dist/esm/types/index.d.ts +7 -7
  208. package/dist/esm/types/index.js +7 -7
  209. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  210. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  211. package/dist/esm/types/tracking-event-ingest-message.d.ts +10 -10
  212. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  213. package/package.json +1 -1
@@ -1,555 +1,555 @@
1
- import { MEASURE } from '../measures';
2
- export const SHOPIFY_MEASURES_MAP = {
3
- [MEASURE.SHOPIFY_CUSTOMERS]: {
4
- title: 'Customers',
5
- description: 'The number of customers.',
6
- sumPrefix: '',
7
- sumSuffix: '',
8
- avgPrefix: '',
9
- avgSuffix: '',
10
- icon: 'shopify',
11
- measure: MEASURE.SHOPIFY_CUSTOMERS,
12
- },
13
- [MEASURE.SHOPIFY_ABANDONED_CHECKOUTS_VALUE]: {
14
- title: 'Abandoned Checkouts Value',
15
- description: 'The total value of abandoned checkouts.',
16
- sumPrefix: '$',
17
- sumSuffix: '',
18
- avgPrefix: '$',
19
- avgSuffix: '',
20
- icon: 'shopify',
21
- measure: MEASURE.SHOPIFY_ABANDONED_CHECKOUTS_VALUE,
22
- },
23
- [MEASURE.SHOPIFY_ABANDONED_CHECKOUTS]: {
24
- title: 'Abandoned Checkouts',
25
- description: 'The number of abandoned checkouts.',
26
- sumPrefix: '',
27
- sumSuffix: '',
28
- avgPrefix: '',
29
- avgSuffix: '',
30
- icon: 'shopify',
31
- measure: MEASURE.SHOPIFY_ABANDONED_CHECKOUTS,
32
- },
33
- [MEASURE.SHOPIFY_CANCELLED_ORDERS]: {
34
- title: 'Cancelled Orders',
35
- description: 'The number of cancelled orders.',
36
- sumPrefix: '',
37
- sumSuffix: '',
38
- avgPrefix: '',
39
- avgSuffix: '',
40
- icon: 'shopify',
41
- measure: MEASURE.SHOPIFY_CANCELLED_ORDERS,
42
- },
43
- [MEASURE.SHOPIFY_CANCELLED_AMOUNT]: {
44
- title: 'Cancelled Amount',
45
- description: 'The total amount of cancelled orders.',
46
- sumPrefix: '$',
47
- sumSuffix: '',
48
- avgPrefix: '$',
49
- avgSuffix: '',
50
- icon: 'shopify',
51
- measure: MEASURE.SHOPIFY_CANCELLED_AMOUNT,
52
- },
53
- [MEASURE.SHOPIFY_GROSS_SALES]: {
54
- title: 'Gross Sales',
55
- description: 'Product price x quantity (before taxes, shipping, discounts and returns)',
56
- sumPrefix: '$',
57
- sumSuffix: '',
58
- avgPrefix: '$',
59
- avgSuffix: '',
60
- icon: 'shopify',
61
- measure: MEASURE.SHOPIFY_GROSS_SALES,
62
- },
63
- [MEASURE.SHOPIFY_NET_SALES]: {
64
- title: 'Net Sales',
65
- description: 'Gross Sales - Discounts - Returns',
66
- sumPrefix: '$',
67
- sumSuffix: '',
68
- avgPrefix: '$',
69
- avgSuffix: '',
70
- icon: 'shopify',
71
- measure: MEASURE.SHOPIFY_NET_SALES,
72
- },
73
- [MEASURE.SHOPIFY_REFUNDS]: {
74
- title: 'Refunds',
75
- description: 'The number of refunds.',
76
- sumPrefix: '',
77
- sumSuffix: '',
78
- avgPrefix: '',
79
- avgSuffix: '',
80
- icon: 'shopify',
81
- measure: MEASURE.SHOPIFY_REFUNDS,
82
- },
83
- [MEASURE.SHOPIFY_REFUND_AMOUNT_REFUND_DATE]: {
84
- title: 'Refund Amount Refund Date',
85
- description: 'The total amount of refunds by refund date.',
86
- sumPrefix: '$',
87
- sumSuffix: '',
88
- avgPrefix: '$',
89
- avgSuffix: '',
90
- icon: 'shopify',
91
- measure: MEASURE.SHOPIFY_REFUND_AMOUNT_REFUND_DATE,
92
- },
93
- [MEASURE.SHOPIFY_REFUND_AMOUNT_ORDER_DATE]: {
94
- title: 'Refund Amount Order Date',
95
- description: 'The total amount of refunds by order date.',
96
- sumPrefix: '$',
97
- sumSuffix: '',
98
- avgPrefix: '$',
99
- avgSuffix: '',
100
- icon: 'shopify',
101
- measure: MEASURE.SHOPIFY_REFUND_AMOUNT_ORDER_DATE,
102
- },
103
- [MEASURE.SHOPIFY_REFUND_GROSS_PERCENT]: {
104
- title: 'Refund Gross Percent',
105
- description: 'The percentage of gross sales that were refunded.',
106
- sumPrefix: '',
107
- sumSuffix: '%',
108
- avgPrefix: '',
109
- avgSuffix: '%',
110
- icon: 'shopify',
111
- measure: MEASURE.SHOPIFY_REFUND_GROSS_PERCENT,
112
- },
113
- [MEASURE.SHOPIFY_REFUND_NET_PERCENT]: {
114
- title: 'Refund Net Percent',
115
- description: 'The percentage of net sales that were refunded.',
116
- sumPrefix: '',
117
- sumSuffix: '%',
118
- avgPrefix: '',
119
- avgSuffix: '%',
120
- icon: 'shopify',
121
- measure: MEASURE.SHOPIFY_REFUND_NET_PERCENT,
122
- },
123
- [MEASURE.SHOPIFY_REFUND_RATE]: {
124
- title: 'Refund Rate',
125
- description: 'The percentage of orders that were refunded.',
126
- sumPrefix: '',
127
- sumSuffix: '%',
128
- avgPrefix: '',
129
- avgSuffix: '%',
130
- icon: 'shopify',
131
- measure: MEASURE.SHOPIFY_REFUND_RATE,
132
- },
133
- [MEASURE.SHOPIFY_DISCOUNTS]: {
134
- title: 'Discounts',
135
- description: 'The number of discounts applied.',
136
- sumPrefix: '',
137
- sumSuffix: '',
138
- avgPrefix: '',
139
- avgSuffix: '',
140
- icon: 'shopify',
141
- measure: MEASURE.SHOPIFY_DISCOUNTS,
142
- },
143
- [MEASURE.SHOPIFY_DISCOUNT_AMOUNT]: {
144
- title: 'Discount Amount',
145
- description: 'The total amount of discounts applied.',
146
- sumPrefix: '$',
147
- sumSuffix: '',
148
- avgPrefix: '$',
149
- avgSuffix: '',
150
- icon: 'shopify',
151
- measure: MEASURE.SHOPIFY_DISCOUNT_AMOUNT,
152
- },
153
- [MEASURE.SHOPIFY_DISCOUNT_GROSS_PERCENT]: {
154
- title: 'Discount Gross Percent',
155
- description: 'The percentage of gross sales that were discounted.',
156
- sumPrefix: '',
157
- sumSuffix: '%',
158
- avgPrefix: '',
159
- avgSuffix: '%',
160
- icon: 'shopify',
161
- measure: MEASURE.SHOPIFY_DISCOUNT_GROSS_PERCENT,
162
- },
163
- [MEASURE.SHOPIFY_DISCOUNT_NET_PERCENT]: {
164
- title: 'Discount Net Percent',
165
- description: 'The percentage of net sales that were discounted.',
166
- sumPrefix: '',
167
- sumSuffix: '%',
168
- avgPrefix: '',
169
- avgSuffix: '%',
170
- icon: 'shopify',
171
- measure: MEASURE.SHOPIFY_DISCOUNT_NET_PERCENT,
172
- },
173
- [MEASURE.SHOPIFY_DISCOUNT_RATE]: {
174
- title: 'Discount Rate',
175
- description: 'The percentage of orders that were discounted.',
176
- sumPrefix: '',
177
- sumSuffix: '%',
178
- avgPrefix: '',
179
- avgSuffix: '%',
180
- icon: 'shopify',
181
- measure: MEASURE.SHOPIFY_DISCOUNT_RATE,
182
- },
183
- [MEASURE.SHOPIFY_ORDERS]: {
184
- title: 'Orders',
185
- description: 'The number of orders.',
186
- sumPrefix: '',
187
- sumSuffix: '',
188
- avgPrefix: '',
189
- avgSuffix: '',
190
- icon: 'shopify',
191
- measure: MEASURE.SHOPIFY_ORDERS,
192
- },
193
- [MEASURE.SHOPIFY_REVENUE]: {
194
- title: 'Revenue',
195
- description: 'The total revenue generated.',
196
- sumPrefix: '$',
197
- sumSuffix: '',
198
- avgPrefix: '$',
199
- avgSuffix: '',
200
- icon: 'shopify',
201
- measure: MEASURE.SHOPIFY_REVENUE,
202
- },
203
- [MEASURE.SHOPIFY_SUBTOTAL_AMOUNT]: {
204
- title: 'Subtotal Amount',
205
- description: 'The total amount of subtotals.',
206
- sumPrefix: '$',
207
- sumSuffix: '',
208
- avgPrefix: '$',
209
- avgSuffix: '',
210
- icon: 'shopify',
211
- measure: MEASURE.SHOPIFY_SUBTOTAL_AMOUNT,
212
- },
213
- [MEASURE.SHOPIFY_NET_PLUS_SHIPPING_AMOUNT]: {
214
- title: 'Net Plus Shipping Amount',
215
- description: 'The total amount of net sales plus shipping.',
216
- sumPrefix: '$',
217
- sumSuffix: '',
218
- avgPrefix: '$',
219
- avgSuffix: '',
220
- icon: 'shopify',
221
- measure: MEASURE.SHOPIFY_NET_PLUS_SHIPPING_AMOUNT,
222
- },
223
- [MEASURE.SHOPIFY_AOV]: {
224
- title: 'Average Order Value',
225
- description: 'The average value of an order.',
226
- sumPrefix: '$',
227
- sumSuffix: '',
228
- avgPrefix: '$',
229
- avgSuffix: '',
230
- icon: 'shopify',
231
- measure: MEASURE.SHOPIFY_AOV,
232
- },
233
- [MEASURE.SHOPIFY_NET_AOV]: {
234
- title: 'Net Average Order Value',
235
- shortTitle: 'Net AOV',
236
- description: 'The average value of an order after refunds.',
237
- sumPrefix: '$',
238
- sumSuffix: '',
239
- avgPrefix: '$',
240
- avgSuffix: '',
241
- icon: 'shopify',
242
- measure: MEASURE.SHOPIFY_NET_AOV,
243
- },
244
- [MEASURE.SHOPIFY_TOP_PRODUCTS]: {
245
- title: 'Top Products',
246
- description: 'The top products by revenue.',
247
- sumPrefix: '',
248
- sumSuffix: '',
249
- avgPrefix: '',
250
- avgSuffix: '',
251
- icon: 'shopify',
252
- measure: MEASURE.SHOPIFY_TOP_PRODUCTS,
253
- },
254
- [MEASURE.SHOPIFY_CUSTOMER_LTV]: {
255
- title: 'Customer Lifetime Value',
256
- description: 'The average value of a customer over their lifetime.',
257
- sumPrefix: '$',
258
- sumSuffix: '',
259
- avgPrefix: '$',
260
- avgSuffix: '',
261
- icon: 'shopify',
262
- measure: MEASURE.SHOPIFY_CUSTOMER_LTV,
263
- },
264
- [MEASURE.SHOPIFY_REPEAT_CUSTOMER_RATE]: {
265
- title: 'Repeat Customer Rate',
266
- description: 'The percentage of customers that are repeat customers.',
267
- sumPrefix: '',
268
- sumSuffix: '%',
269
- avgPrefix: '',
270
- avgSuffix: '%',
271
- icon: 'shopify',
272
- measure: MEASURE.SHOPIFY_REPEAT_CUSTOMER_RATE,
273
- },
274
- [MEASURE.SHOPIFY_TAX_AMOUNT]: {
275
- title: 'Tax Amount',
276
- description: 'The total amount of taxes.',
277
- sumPrefix: '$',
278
- sumSuffix: '',
279
- avgPrefix: '$',
280
- avgSuffix: '',
281
- icon: 'shopify',
282
- measure: MEASURE.SHOPIFY_TAX_AMOUNT,
283
- },
284
- [MEASURE.SHOPIFY_SHIPPING_AMOUNT]: {
285
- title: 'Shipping Amount',
286
- description: 'The total amount of shipping.',
287
- sumPrefix: '$',
288
- sumSuffix: '',
289
- avgPrefix: '$',
290
- avgSuffix: '',
291
- icon: 'shopify',
292
- measure: MEASURE.SHOPIFY_SHIPPING_AMOUNT,
293
- },
294
- [MEASURE.SHOPIFY_NEW_CUSTOMERS]: {
295
- title: 'New Customers',
296
- description: 'The number of new customers.',
297
- sumPrefix: '',
298
- sumSuffix: '',
299
- avgPrefix: '',
300
- avgSuffix: '',
301
- icon: 'shopify',
302
- measure: MEASURE.SHOPIFY_NEW_CUSTOMERS,
303
- },
304
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT]: {
305
- title: 'New Customer Gross Percent',
306
- description: 'The percentage of gross sales from new customers.',
307
- sumPrefix: '',
308
- sumSuffix: '%',
309
- avgPrefix: '',
310
- avgSuffix: '%',
311
- icon: 'shopify',
312
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT,
313
- },
314
- [MEASURE.SHOPIFY_NEW_CUSTOMER_AOV]: {
315
- title: 'New Customer Average Order Value',
316
- description: 'The average value of an order from new customers.',
317
- sumPrefix: '$',
318
- sumSuffix: '',
319
- avgPrefix: '$',
320
- avgSuffix: '',
321
- icon: 'shopify',
322
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_AOV,
323
- },
324
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV]: {
325
- title: 'New Customer Net Average Order Value',
326
- description: 'The average value of an order from new customers after refunds.',
327
- sumPrefix: '$',
328
- sumSuffix: '',
329
- avgPrefix: '$',
330
- avgSuffix: '',
331
- icon: 'shopify',
332
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV,
333
- },
334
- [MEASURE.SHOPIFY_NEW_CUSTOMER_RATE]: {
335
- title: 'New Customer Rate',
336
- description: 'The percentage of customers that are new customers.',
337
- sumPrefix: '',
338
- sumSuffix: '%',
339
- avgPrefix: '',
340
- avgSuffix: '%',
341
- icon: 'shopify',
342
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_RATE,
343
- },
344
- [MEASURE.SHOPIFY_RETURNING_CUSTOMER_RATE]: {
345
- title: 'Returning Customer Rate',
346
- description: 'The percentage of customers that are returning customers.',
347
- sumPrefix: '',
348
- sumSuffix: '%',
349
- avgPrefix: '',
350
- avgSuffix: '%',
351
- icon: 'shopify',
352
- measure: MEASURE.SHOPIFY_RETURNING_CUSTOMER_RATE,
353
- },
354
- [MEASURE.SHOPIFY_LTV]: {
355
- title: 'Lifetime Value',
356
- description: 'The average value of a customer over their lifetime.',
357
- sumPrefix: '$',
358
- sumSuffix: '',
359
- avgPrefix: '$',
360
- avgSuffix: '',
361
- icon: 'shopify',
362
- measure: MEASURE.SHOPIFY_LTV,
363
- },
364
- [MEASURE.SHOPIFY_LTV_90]: {
365
- title: 'Lifetime Value (90 days)',
366
- description: 'The average value of a customer over the last 90 days.',
367
- sumPrefix: '$',
368
- sumSuffix: '',
369
- avgPrefix: '$',
370
- avgSuffix: '',
371
- icon: 'shopify',
372
- measure: MEASURE.SHOPIFY_LTV_90,
373
- },
374
- [MEASURE.SHOPIFY_LTV_180]: {
375
- title: 'Lifetime Value (180 days)',
376
- description: 'The average value of a customer over the last 180 days.',
377
- sumPrefix: '$',
378
- sumSuffix: '',
379
- avgPrefix: '$',
380
- avgSuffix: '',
381
- icon: 'shopify',
382
- measure: MEASURE.SHOPIFY_LTV_180,
383
- },
384
- [MEASURE.SHOPIFY_LTV_365]: {
385
- title: 'Lifetime Value (365 days)',
386
- description: 'The average value of a customer over the last 365 days.',
387
- sumPrefix: '$',
388
- sumSuffix: '',
389
- avgPrefix: '$',
390
- avgSuffix: '',
391
- icon: 'shopify',
392
- measure: MEASURE.SHOPIFY_LTV_365,
393
- },
394
- [MEASURE.SHOPIFY_LTV_COHORT_GROSS_SALE_PRICE]: {
395
- title: 'Lifetime Value Cohort Gross Sale Price',
396
- description: 'The total amount of gross sales from a cohort.',
397
- sumPrefix: '$',
398
- sumSuffix: '',
399
- avgPrefix: '$',
400
- avgSuffix: '',
401
- icon: 'shopify',
402
- measure: MEASURE.SHOPIFY_LTV_COHORT_GROSS_SALE_PRICE,
403
- },
404
- [MEASURE.SHOPIFY_LTV_COHORT_NET_SALE_PRICE]: {
405
- title: 'Lifetime Value Cohort Net Sale Price',
406
- description: 'The total amount of net sales from a cohort.',
407
- sumPrefix: '$',
408
- sumSuffix: '',
409
- avgPrefix: '$',
410
- avgSuffix: '',
411
- icon: 'shopify',
412
- measure: MEASURE.SHOPIFY_LTV_COHORT_NET_SALE_PRICE,
413
- },
414
- [MEASURE.SHOPIFY_LTV_COHORT_NETT_SALE_PRICE]: {
415
- title: 'Lifetime Value Cohort Nett Sale Price',
416
- description: 'The total amount of nett sales from a cohort.',
417
- sumPrefix: '$',
418
- sumSuffix: '',
419
- avgPrefix: '$',
420
- avgSuffix: '',
421
- icon: 'shopify',
422
- measure: MEASURE.SHOPIFY_LTV_COHORT_NETT_SALE_PRICE,
423
- },
424
- [MEASURE.SHOPIFY_LTV_COHORT_NETTS_SALE_PRICE]: {
425
- title: 'Lifetime Value Cohort Netts Sale Price',
426
- description: 'The total amount of netts sales from a cohort.',
427
- sumPrefix: '$',
428
- sumSuffix: '',
429
- avgPrefix: '$',
430
- avgSuffix: '',
431
- icon: 'shopify',
432
- measure: MEASURE.SHOPIFY_LTV_COHORT_NETTS_SALE_PRICE,
433
- },
434
- [MEASURE.SHOPIFY_LTV_COHORT_NETS_SALE_PRICE]: {
435
- title: 'Lifetime Value Cohort Nets Sale Price',
436
- description: 'The total amount of nets sales from a cohort.',
437
- sumPrefix: '$',
438
- sumSuffix: '',
439
- avgPrefix: '$',
440
- avgSuffix: '',
441
- icon: 'shopify',
442
- measure: MEASURE.SHOPIFY_LTV_COHORT_NETS_SALE_PRICE,
443
- },
444
- [MEASURE.SHOPIFY_CUSTOMERS_COHORT]: {
445
- title: 'Customers Cohort',
446
- description: 'The number of customers in a cohort.',
447
- sumPrefix: '',
448
- sumSuffix: '',
449
- avgPrefix: '',
450
- avgSuffix: '',
451
- icon: 'shopify',
452
- measure: MEASURE.SHOPIFY_CUSTOMERS_COHORT,
453
- },
454
- [MEASURE.SHOPIFY_CUSTOMERS_RETENTION_RATE_COHORT]: {
455
- title: 'Customers Retention Rate Cohort',
456
- description: 'The percentage of customers retained in a cohort.',
457
- sumPrefix: '',
458
- sumSuffix: '%',
459
- avgPrefix: '',
460
- avgSuffix: '%',
461
- icon: 'shopify',
462
- measure: MEASURE.SHOPIFY_CUSTOMERS_RETENTION_RATE_COHORT,
463
- },
464
- [MEASURE.SHOPIFY_AVG_ORDER_VALUE_COHORT]: {
465
- title: 'Average Order Value Cohort',
466
- description: 'The average value of an order in a cohort.',
467
- sumPrefix: '$',
468
- sumSuffix: '',
469
- avgPrefix: '$',
470
- avgSuffix: '',
471
- icon: 'shopify',
472
- measure: MEASURE.SHOPIFY_AVG_ORDER_VALUE_COHORT,
473
- },
474
- [MEASURE.SHOPIFY_REFUND_PLUS_DISCOUNT_AMOUNT]: {
475
- title: 'Returns plus Discounts',
476
- description: 'The total amount of returns plus discounts.',
477
- sumPrefix: '$',
478
- sumSuffix: '',
479
- avgPrefix: '$',
480
- avgSuffix: '',
481
- icon: 'shopify',
482
- measure: MEASURE.SHOPIFY_REFUND_PLUS_DISCOUNT_AMOUNT,
483
- },
484
- [MEASURE.SHOPIFY_AVG_ORDERS_PER_CUSTOMER]: {
485
- title: 'Average Orders per Customer',
486
- description: 'The average number of orders per customer.',
487
- sumPrefix: '',
488
- sumSuffix: '',
489
- avgPrefix: '',
490
- avgSuffix: '',
491
- icon: 'shopify',
492
- measure: MEASURE.SHOPIFY_AVG_ORDERS_PER_CUSTOMER,
493
- },
494
- [MEASURE.SHOPIFY_RETURNING_CUSTOMER_NET_AOV]: {
495
- title: 'Returning Customer Net Average Order Value',
496
- description: 'The average value of an order from returning customers after refunds.',
497
- sumPrefix: '$',
498
- sumSuffix: '',
499
- avgPrefix: '$',
500
- avgSuffix: '',
501
- icon: 'shopify',
502
- measure: MEASURE.SHOPIFY_RETURNING_CUSTOMER_NET_AOV,
503
- },
504
- [MEASURE.SHOPIFY_RETURNING_CUSTOMER_AOV]: {
505
- title: 'Returning Customer Average Order Value',
506
- description: 'The average value of an order from returning customers.',
507
- sumPrefix: '$',
508
- sumSuffix: '',
509
- avgPrefix: '$',
510
- avgSuffix: '',
511
- icon: 'shopify',
512
- measure: MEASURE.SHOPIFY_RETURNING_CUSTOMER_AOV,
513
- },
514
- [MEASURE.SHOPIFY_TOTAL_AMOUNT]: {
515
- title: 'Total Amount',
516
- description: 'The total amount of the order.',
517
- sumPrefix: '$',
518
- sumSuffix: '',
519
- avgPrefix: '$',
520
- avgSuffix: '',
521
- icon: 'shopify',
522
- measure: MEASURE.SHOPIFY_TOTAL_AMOUNT,
523
- },
524
- [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES]: {
525
- title: 'New Customer Gross Sales',
526
- description: 'The gross sales of new customers.',
527
- sumPrefix: '$',
528
- sumSuffix: '',
529
- avgPrefix: '$',
530
- avgSuffix: '',
531
- icon: 'shopify',
532
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES,
533
- },
534
- [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES]: {
535
- title: 'New Customer Net Sales',
536
- description: 'The net sales of new customers.',
537
- sumPrefix: '$',
538
- sumSuffix: '',
539
- avgPrefix: '$',
540
- avgSuffix: '',
541
- icon: 'shopify',
542
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES,
543
- },
544
- [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_SALES]: {
545
- title: 'New Customer Total Sales',
546
- description: 'The total sales of new customers.',
547
- sumPrefix: '$',
548
- sumSuffix: '',
549
- avgPrefix: '$',
550
- avgSuffix: '',
551
- icon: 'shopify',
552
- measure: MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_SALES,
553
- },
554
- };
1
+ import { MEASURE } from '../measures';
2
+ export const SHOPIFY_MEASURES_MAP = {
3
+ [MEASURE.SHOPIFY_CUSTOMERS]: {
4
+ title: 'Customers',
5
+ description: 'The number of customers.',
6
+ sumPrefix: '',
7
+ sumSuffix: '',
8
+ avgPrefix: '',
9
+ avgSuffix: '',
10
+ icon: 'shopify',
11
+ measure: MEASURE.SHOPIFY_CUSTOMERS,
12
+ },
13
+ [MEASURE.SHOPIFY_ABANDONED_CHECKOUTS_VALUE]: {
14
+ title: 'Abandoned Checkouts Value',
15
+ description: 'The total value of abandoned checkouts.',
16
+ sumPrefix: '$',
17
+ sumSuffix: '',
18
+ avgPrefix: '$',
19
+ avgSuffix: '',
20
+ icon: 'shopify',
21
+ measure: MEASURE.SHOPIFY_ABANDONED_CHECKOUTS_VALUE,
22
+ },
23
+ [MEASURE.SHOPIFY_ABANDONED_CHECKOUTS]: {
24
+ title: 'Abandoned Checkouts',
25
+ description: 'The number of abandoned checkouts.',
26
+ sumPrefix: '',
27
+ sumSuffix: '',
28
+ avgPrefix: '',
29
+ avgSuffix: '',
30
+ icon: 'shopify',
31
+ measure: MEASURE.SHOPIFY_ABANDONED_CHECKOUTS,
32
+ },
33
+ [MEASURE.SHOPIFY_CANCELLED_ORDERS]: {
34
+ title: 'Cancelled Orders',
35
+ description: 'The number of cancelled orders.',
36
+ sumPrefix: '',
37
+ sumSuffix: '',
38
+ avgPrefix: '',
39
+ avgSuffix: '',
40
+ icon: 'shopify',
41
+ measure: MEASURE.SHOPIFY_CANCELLED_ORDERS,
42
+ },
43
+ [MEASURE.SHOPIFY_CANCELLED_AMOUNT]: {
44
+ title: 'Cancelled Amount',
45
+ description: 'The total amount of cancelled orders.',
46
+ sumPrefix: '$',
47
+ sumSuffix: '',
48
+ avgPrefix: '$',
49
+ avgSuffix: '',
50
+ icon: 'shopify',
51
+ measure: MEASURE.SHOPIFY_CANCELLED_AMOUNT,
52
+ },
53
+ [MEASURE.SHOPIFY_GROSS_SALES]: {
54
+ title: 'Gross Sales',
55
+ description: 'Product price x quantity (before taxes, shipping, discounts and returns)',
56
+ sumPrefix: '$',
57
+ sumSuffix: '',
58
+ avgPrefix: '$',
59
+ avgSuffix: '',
60
+ icon: 'shopify',
61
+ measure: MEASURE.SHOPIFY_GROSS_SALES,
62
+ },
63
+ [MEASURE.SHOPIFY_NET_SALES]: {
64
+ title: 'Net Sales',
65
+ description: 'Gross Sales - Discounts - Returns',
66
+ sumPrefix: '$',
67
+ sumSuffix: '',
68
+ avgPrefix: '$',
69
+ avgSuffix: '',
70
+ icon: 'shopify',
71
+ measure: MEASURE.SHOPIFY_NET_SALES,
72
+ },
73
+ [MEASURE.SHOPIFY_REFUNDS]: {
74
+ title: 'Refunds',
75
+ description: 'The number of refunds.',
76
+ sumPrefix: '',
77
+ sumSuffix: '',
78
+ avgPrefix: '',
79
+ avgSuffix: '',
80
+ icon: 'shopify',
81
+ measure: MEASURE.SHOPIFY_REFUNDS,
82
+ },
83
+ [MEASURE.SHOPIFY_REFUND_AMOUNT_REFUND_DATE]: {
84
+ title: 'Refund Amount Refund Date',
85
+ description: 'The total amount of refunds by refund date.',
86
+ sumPrefix: '$',
87
+ sumSuffix: '',
88
+ avgPrefix: '$',
89
+ avgSuffix: '',
90
+ icon: 'shopify',
91
+ measure: MEASURE.SHOPIFY_REFUND_AMOUNT_REFUND_DATE,
92
+ },
93
+ [MEASURE.SHOPIFY_REFUND_AMOUNT_ORDER_DATE]: {
94
+ title: 'Refund Amount Order Date',
95
+ description: 'The total amount of refunds by order date.',
96
+ sumPrefix: '$',
97
+ sumSuffix: '',
98
+ avgPrefix: '$',
99
+ avgSuffix: '',
100
+ icon: 'shopify',
101
+ measure: MEASURE.SHOPIFY_REFUND_AMOUNT_ORDER_DATE,
102
+ },
103
+ [MEASURE.SHOPIFY_REFUND_GROSS_PERCENT]: {
104
+ title: 'Refund Gross Percent',
105
+ description: 'The percentage of gross sales that were refunded.',
106
+ sumPrefix: '',
107
+ sumSuffix: '%',
108
+ avgPrefix: '',
109
+ avgSuffix: '%',
110
+ icon: 'shopify',
111
+ measure: MEASURE.SHOPIFY_REFUND_GROSS_PERCENT,
112
+ },
113
+ [MEASURE.SHOPIFY_REFUND_NET_PERCENT]: {
114
+ title: 'Refund Net Percent',
115
+ description: 'The percentage of net sales that were refunded.',
116
+ sumPrefix: '',
117
+ sumSuffix: '%',
118
+ avgPrefix: '',
119
+ avgSuffix: '%',
120
+ icon: 'shopify',
121
+ measure: MEASURE.SHOPIFY_REFUND_NET_PERCENT,
122
+ },
123
+ [MEASURE.SHOPIFY_REFUND_RATE]: {
124
+ title: 'Refund Rate',
125
+ description: 'The percentage of orders that were refunded.',
126
+ sumPrefix: '',
127
+ sumSuffix: '%',
128
+ avgPrefix: '',
129
+ avgSuffix: '%',
130
+ icon: 'shopify',
131
+ measure: MEASURE.SHOPIFY_REFUND_RATE,
132
+ },
133
+ [MEASURE.SHOPIFY_DISCOUNTS]: {
134
+ title: 'Discounts',
135
+ description: 'The number of discounts applied.',
136
+ sumPrefix: '',
137
+ sumSuffix: '',
138
+ avgPrefix: '',
139
+ avgSuffix: '',
140
+ icon: 'shopify',
141
+ measure: MEASURE.SHOPIFY_DISCOUNTS,
142
+ },
143
+ [MEASURE.SHOPIFY_DISCOUNT_AMOUNT]: {
144
+ title: 'Discount Amount',
145
+ description: 'The total amount of discounts applied.',
146
+ sumPrefix: '$',
147
+ sumSuffix: '',
148
+ avgPrefix: '$',
149
+ avgSuffix: '',
150
+ icon: 'shopify',
151
+ measure: MEASURE.SHOPIFY_DISCOUNT_AMOUNT,
152
+ },
153
+ [MEASURE.SHOPIFY_DISCOUNT_GROSS_PERCENT]: {
154
+ title: 'Discount Gross Percent',
155
+ description: 'The percentage of gross sales that were discounted.',
156
+ sumPrefix: '',
157
+ sumSuffix: '%',
158
+ avgPrefix: '',
159
+ avgSuffix: '%',
160
+ icon: 'shopify',
161
+ measure: MEASURE.SHOPIFY_DISCOUNT_GROSS_PERCENT,
162
+ },
163
+ [MEASURE.SHOPIFY_DISCOUNT_NET_PERCENT]: {
164
+ title: 'Discount Net Percent',
165
+ description: 'The percentage of net sales that were discounted.',
166
+ sumPrefix: '',
167
+ sumSuffix: '%',
168
+ avgPrefix: '',
169
+ avgSuffix: '%',
170
+ icon: 'shopify',
171
+ measure: MEASURE.SHOPIFY_DISCOUNT_NET_PERCENT,
172
+ },
173
+ [MEASURE.SHOPIFY_DISCOUNT_RATE]: {
174
+ title: 'Discount Rate',
175
+ description: 'The percentage of orders that were discounted.',
176
+ sumPrefix: '',
177
+ sumSuffix: '%',
178
+ avgPrefix: '',
179
+ avgSuffix: '%',
180
+ icon: 'shopify',
181
+ measure: MEASURE.SHOPIFY_DISCOUNT_RATE,
182
+ },
183
+ [MEASURE.SHOPIFY_ORDERS]: {
184
+ title: 'Orders',
185
+ description: 'The number of orders.',
186
+ sumPrefix: '',
187
+ sumSuffix: '',
188
+ avgPrefix: '',
189
+ avgSuffix: '',
190
+ icon: 'shopify',
191
+ measure: MEASURE.SHOPIFY_ORDERS,
192
+ },
193
+ [MEASURE.SHOPIFY_REVENUE]: {
194
+ title: 'Revenue',
195
+ description: 'The total revenue generated.',
196
+ sumPrefix: '$',
197
+ sumSuffix: '',
198
+ avgPrefix: '$',
199
+ avgSuffix: '',
200
+ icon: 'shopify',
201
+ measure: MEASURE.SHOPIFY_REVENUE,
202
+ },
203
+ [MEASURE.SHOPIFY_SUBTOTAL_AMOUNT]: {
204
+ title: 'Subtotal Amount',
205
+ description: 'The total amount of subtotals.',
206
+ sumPrefix: '$',
207
+ sumSuffix: '',
208
+ avgPrefix: '$',
209
+ avgSuffix: '',
210
+ icon: 'shopify',
211
+ measure: MEASURE.SHOPIFY_SUBTOTAL_AMOUNT,
212
+ },
213
+ [MEASURE.SHOPIFY_NET_PLUS_SHIPPING_AMOUNT]: {
214
+ title: 'Net Plus Shipping Amount',
215
+ description: 'The total amount of net sales plus shipping.',
216
+ sumPrefix: '$',
217
+ sumSuffix: '',
218
+ avgPrefix: '$',
219
+ avgSuffix: '',
220
+ icon: 'shopify',
221
+ measure: MEASURE.SHOPIFY_NET_PLUS_SHIPPING_AMOUNT,
222
+ },
223
+ [MEASURE.SHOPIFY_AOV]: {
224
+ title: 'Average Order Value',
225
+ description: 'The average value of an order.',
226
+ sumPrefix: '$',
227
+ sumSuffix: '',
228
+ avgPrefix: '$',
229
+ avgSuffix: '',
230
+ icon: 'shopify',
231
+ measure: MEASURE.SHOPIFY_AOV,
232
+ },
233
+ [MEASURE.SHOPIFY_NET_AOV]: {
234
+ title: 'Net Average Order Value',
235
+ shortTitle: 'Net AOV',
236
+ description: 'The average value of an order after refunds.',
237
+ sumPrefix: '$',
238
+ sumSuffix: '',
239
+ avgPrefix: '$',
240
+ avgSuffix: '',
241
+ icon: 'shopify',
242
+ measure: MEASURE.SHOPIFY_NET_AOV,
243
+ },
244
+ [MEASURE.SHOPIFY_TOP_PRODUCTS]: {
245
+ title: 'Top Products',
246
+ description: 'The top products by revenue.',
247
+ sumPrefix: '',
248
+ sumSuffix: '',
249
+ avgPrefix: '',
250
+ avgSuffix: '',
251
+ icon: 'shopify',
252
+ measure: MEASURE.SHOPIFY_TOP_PRODUCTS,
253
+ },
254
+ [MEASURE.SHOPIFY_CUSTOMER_LTV]: {
255
+ title: 'Customer Lifetime Value',
256
+ description: 'The average value of a customer over their lifetime.',
257
+ sumPrefix: '$',
258
+ sumSuffix: '',
259
+ avgPrefix: '$',
260
+ avgSuffix: '',
261
+ icon: 'shopify',
262
+ measure: MEASURE.SHOPIFY_CUSTOMER_LTV,
263
+ },
264
+ [MEASURE.SHOPIFY_REPEAT_CUSTOMER_RATE]: {
265
+ title: 'Repeat Customer Rate',
266
+ description: 'The percentage of customers that are repeat customers.',
267
+ sumPrefix: '',
268
+ sumSuffix: '%',
269
+ avgPrefix: '',
270
+ avgSuffix: '%',
271
+ icon: 'shopify',
272
+ measure: MEASURE.SHOPIFY_REPEAT_CUSTOMER_RATE,
273
+ },
274
+ [MEASURE.SHOPIFY_TAX_AMOUNT]: {
275
+ title: 'Tax Amount',
276
+ description: 'The total amount of taxes.',
277
+ sumPrefix: '$',
278
+ sumSuffix: '',
279
+ avgPrefix: '$',
280
+ avgSuffix: '',
281
+ icon: 'shopify',
282
+ measure: MEASURE.SHOPIFY_TAX_AMOUNT,
283
+ },
284
+ [MEASURE.SHOPIFY_SHIPPING_AMOUNT]: {
285
+ title: 'Shipping Amount',
286
+ description: 'The total amount of shipping.',
287
+ sumPrefix: '$',
288
+ sumSuffix: '',
289
+ avgPrefix: '$',
290
+ avgSuffix: '',
291
+ icon: 'shopify',
292
+ measure: MEASURE.SHOPIFY_SHIPPING_AMOUNT,
293
+ },
294
+ [MEASURE.SHOPIFY_NEW_CUSTOMERS]: {
295
+ title: 'New Customers',
296
+ description: 'The number of new customers.',
297
+ sumPrefix: '',
298
+ sumSuffix: '',
299
+ avgPrefix: '',
300
+ avgSuffix: '',
301
+ icon: 'shopify',
302
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMERS,
303
+ },
304
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT]: {
305
+ title: 'New Customer Gross Percent',
306
+ description: 'The percentage of gross sales from new customers.',
307
+ sumPrefix: '',
308
+ sumSuffix: '%',
309
+ avgPrefix: '',
310
+ avgSuffix: '%',
311
+ icon: 'shopify',
312
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_PERCENT,
313
+ },
314
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_AOV]: {
315
+ title: 'New Customer Average Order Value',
316
+ description: 'The average value of an order from new customers.',
317
+ sumPrefix: '$',
318
+ sumSuffix: '',
319
+ avgPrefix: '$',
320
+ avgSuffix: '',
321
+ icon: 'shopify',
322
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_AOV,
323
+ },
324
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV]: {
325
+ title: 'New Customer Net Average Order Value',
326
+ description: 'The average value of an order from new customers after refunds.',
327
+ sumPrefix: '$',
328
+ sumSuffix: '',
329
+ avgPrefix: '$',
330
+ avgSuffix: '',
331
+ icon: 'shopify',
332
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_AOV,
333
+ },
334
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_RATE]: {
335
+ title: 'New Customer Rate',
336
+ description: 'The percentage of customers that are new customers.',
337
+ sumPrefix: '',
338
+ sumSuffix: '%',
339
+ avgPrefix: '',
340
+ avgSuffix: '%',
341
+ icon: 'shopify',
342
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_RATE,
343
+ },
344
+ [MEASURE.SHOPIFY_RETURNING_CUSTOMER_RATE]: {
345
+ title: 'Returning Customer Rate',
346
+ description: 'The percentage of customers that are returning customers.',
347
+ sumPrefix: '',
348
+ sumSuffix: '%',
349
+ avgPrefix: '',
350
+ avgSuffix: '%',
351
+ icon: 'shopify',
352
+ measure: MEASURE.SHOPIFY_RETURNING_CUSTOMER_RATE,
353
+ },
354
+ [MEASURE.SHOPIFY_LTV]: {
355
+ title: 'Lifetime Value',
356
+ description: 'The average value of a customer over their lifetime.',
357
+ sumPrefix: '$',
358
+ sumSuffix: '',
359
+ avgPrefix: '$',
360
+ avgSuffix: '',
361
+ icon: 'shopify',
362
+ measure: MEASURE.SHOPIFY_LTV,
363
+ },
364
+ [MEASURE.SHOPIFY_LTV_90]: {
365
+ title: 'Lifetime Value (90 days)',
366
+ description: 'The average value of a customer over the last 90 days.',
367
+ sumPrefix: '$',
368
+ sumSuffix: '',
369
+ avgPrefix: '$',
370
+ avgSuffix: '',
371
+ icon: 'shopify',
372
+ measure: MEASURE.SHOPIFY_LTV_90,
373
+ },
374
+ [MEASURE.SHOPIFY_LTV_180]: {
375
+ title: 'Lifetime Value (180 days)',
376
+ description: 'The average value of a customer over the last 180 days.',
377
+ sumPrefix: '$',
378
+ sumSuffix: '',
379
+ avgPrefix: '$',
380
+ avgSuffix: '',
381
+ icon: 'shopify',
382
+ measure: MEASURE.SHOPIFY_LTV_180,
383
+ },
384
+ [MEASURE.SHOPIFY_LTV_365]: {
385
+ title: 'Lifetime Value (365 days)',
386
+ description: 'The average value of a customer over the last 365 days.',
387
+ sumPrefix: '$',
388
+ sumSuffix: '',
389
+ avgPrefix: '$',
390
+ avgSuffix: '',
391
+ icon: 'shopify',
392
+ measure: MEASURE.SHOPIFY_LTV_365,
393
+ },
394
+ [MEASURE.SHOPIFY_LTV_COHORT_GROSS_SALE_PRICE]: {
395
+ title: 'Lifetime Value Cohort Gross Sale Price',
396
+ description: 'The total amount of gross sales from a cohort.',
397
+ sumPrefix: '$',
398
+ sumSuffix: '',
399
+ avgPrefix: '$',
400
+ avgSuffix: '',
401
+ icon: 'shopify',
402
+ measure: MEASURE.SHOPIFY_LTV_COHORT_GROSS_SALE_PRICE,
403
+ },
404
+ [MEASURE.SHOPIFY_LTV_COHORT_NET_SALE_PRICE]: {
405
+ title: 'Lifetime Value Cohort Net Sale Price',
406
+ description: 'The total amount of net sales from a cohort.',
407
+ sumPrefix: '$',
408
+ sumSuffix: '',
409
+ avgPrefix: '$',
410
+ avgSuffix: '',
411
+ icon: 'shopify',
412
+ measure: MEASURE.SHOPIFY_LTV_COHORT_NET_SALE_PRICE,
413
+ },
414
+ [MEASURE.SHOPIFY_LTV_COHORT_NETT_SALE_PRICE]: {
415
+ title: 'Lifetime Value Cohort Nett Sale Price',
416
+ description: 'The total amount of nett sales from a cohort.',
417
+ sumPrefix: '$',
418
+ sumSuffix: '',
419
+ avgPrefix: '$',
420
+ avgSuffix: '',
421
+ icon: 'shopify',
422
+ measure: MEASURE.SHOPIFY_LTV_COHORT_NETT_SALE_PRICE,
423
+ },
424
+ [MEASURE.SHOPIFY_LTV_COHORT_NETTS_SALE_PRICE]: {
425
+ title: 'Lifetime Value Cohort Netts Sale Price',
426
+ description: 'The total amount of netts sales from a cohort.',
427
+ sumPrefix: '$',
428
+ sumSuffix: '',
429
+ avgPrefix: '$',
430
+ avgSuffix: '',
431
+ icon: 'shopify',
432
+ measure: MEASURE.SHOPIFY_LTV_COHORT_NETTS_SALE_PRICE,
433
+ },
434
+ [MEASURE.SHOPIFY_LTV_COHORT_NETS_SALE_PRICE]: {
435
+ title: 'Lifetime Value Cohort Nets Sale Price',
436
+ description: 'The total amount of nets sales from a cohort.',
437
+ sumPrefix: '$',
438
+ sumSuffix: '',
439
+ avgPrefix: '$',
440
+ avgSuffix: '',
441
+ icon: 'shopify',
442
+ measure: MEASURE.SHOPIFY_LTV_COHORT_NETS_SALE_PRICE,
443
+ },
444
+ [MEASURE.SHOPIFY_CUSTOMERS_COHORT]: {
445
+ title: 'Customers Cohort',
446
+ description: 'The number of customers in a cohort.',
447
+ sumPrefix: '',
448
+ sumSuffix: '',
449
+ avgPrefix: '',
450
+ avgSuffix: '',
451
+ icon: 'shopify',
452
+ measure: MEASURE.SHOPIFY_CUSTOMERS_COHORT,
453
+ },
454
+ [MEASURE.SHOPIFY_CUSTOMERS_RETENTION_RATE_COHORT]: {
455
+ title: 'Customers Retention Rate Cohort',
456
+ description: 'The percentage of customers retained in a cohort.',
457
+ sumPrefix: '',
458
+ sumSuffix: '%',
459
+ avgPrefix: '',
460
+ avgSuffix: '%',
461
+ icon: 'shopify',
462
+ measure: MEASURE.SHOPIFY_CUSTOMERS_RETENTION_RATE_COHORT,
463
+ },
464
+ [MEASURE.SHOPIFY_AVG_ORDER_VALUE_COHORT]: {
465
+ title: 'Average Order Value Cohort',
466
+ description: 'The average value of an order in a cohort.',
467
+ sumPrefix: '$',
468
+ sumSuffix: '',
469
+ avgPrefix: '$',
470
+ avgSuffix: '',
471
+ icon: 'shopify',
472
+ measure: MEASURE.SHOPIFY_AVG_ORDER_VALUE_COHORT,
473
+ },
474
+ [MEASURE.SHOPIFY_REFUND_PLUS_DISCOUNT_AMOUNT]: {
475
+ title: 'Returns plus Discounts',
476
+ description: 'The total amount of returns plus discounts.',
477
+ sumPrefix: '$',
478
+ sumSuffix: '',
479
+ avgPrefix: '$',
480
+ avgSuffix: '',
481
+ icon: 'shopify',
482
+ measure: MEASURE.SHOPIFY_REFUND_PLUS_DISCOUNT_AMOUNT,
483
+ },
484
+ [MEASURE.SHOPIFY_AVG_ORDERS_PER_CUSTOMER]: {
485
+ title: 'Average Orders per Customer',
486
+ description: 'The average number of orders per customer.',
487
+ sumPrefix: '',
488
+ sumSuffix: '',
489
+ avgPrefix: '',
490
+ avgSuffix: '',
491
+ icon: 'shopify',
492
+ measure: MEASURE.SHOPIFY_AVG_ORDERS_PER_CUSTOMER,
493
+ },
494
+ [MEASURE.SHOPIFY_RETURNING_CUSTOMER_NET_AOV]: {
495
+ title: 'Returning Customer Net Average Order Value',
496
+ description: 'The average value of an order from returning customers after refunds.',
497
+ sumPrefix: '$',
498
+ sumSuffix: '',
499
+ avgPrefix: '$',
500
+ avgSuffix: '',
501
+ icon: 'shopify',
502
+ measure: MEASURE.SHOPIFY_RETURNING_CUSTOMER_NET_AOV,
503
+ },
504
+ [MEASURE.SHOPIFY_RETURNING_CUSTOMER_AOV]: {
505
+ title: 'Returning Customer Average Order Value',
506
+ description: 'The average value of an order from returning customers.',
507
+ sumPrefix: '$',
508
+ sumSuffix: '',
509
+ avgPrefix: '$',
510
+ avgSuffix: '',
511
+ icon: 'shopify',
512
+ measure: MEASURE.SHOPIFY_RETURNING_CUSTOMER_AOV,
513
+ },
514
+ [MEASURE.SHOPIFY_TOTAL_AMOUNT]: {
515
+ title: 'Total Amount',
516
+ description: 'The total amount of the order.',
517
+ sumPrefix: '$',
518
+ sumSuffix: '',
519
+ avgPrefix: '$',
520
+ avgSuffix: '',
521
+ icon: 'shopify',
522
+ measure: MEASURE.SHOPIFY_TOTAL_AMOUNT,
523
+ },
524
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES]: {
525
+ title: 'New Customer Gross Sales',
526
+ description: 'The gross sales of new customers.',
527
+ sumPrefix: '$',
528
+ sumSuffix: '',
529
+ avgPrefix: '$',
530
+ avgSuffix: '',
531
+ icon: 'shopify',
532
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_GROSS_SALES,
533
+ },
534
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES]: {
535
+ title: 'New Customer Net Sales',
536
+ description: 'The net sales of new customers.',
537
+ sumPrefix: '$',
538
+ sumSuffix: '',
539
+ avgPrefix: '$',
540
+ avgSuffix: '',
541
+ icon: 'shopify',
542
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_NET_SALES,
543
+ },
544
+ [MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_SALES]: {
545
+ title: 'New Customer Total Sales',
546
+ description: 'The total sales of new customers.',
547
+ sumPrefix: '$',
548
+ sumSuffix: '',
549
+ avgPrefix: '$',
550
+ avgSuffix: '',
551
+ icon: 'shopify',
552
+ measure: MEASURE.SHOPIFY_NEW_CUSTOMER_TOTAL_SALES,
553
+ },
554
+ };
555
555
  //# sourceMappingURL=shopify-measure-definitions.js.map