@adtrackify/at-tracking-event-types 4.63.3 → 4.64.1

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 (29) hide show
  1. package/dist/cjs/__tests__/cm4-measure-definitions.spec.d.ts +1 -0
  2. package/dist/cjs/__tests__/cm4-measure-definitions.spec.js +185 -0
  3. package/dist/cjs/__tests__/cm4-measure-definitions.spec.js.map +1 -0
  4. package/dist/cjs/types/api/measures/definitions/orders-measure-definitions.js +912 -200
  5. package/dist/cjs/types/api/measures/definitions/orders-measure-definitions.js.map +1 -1
  6. package/dist/cjs/types/api/measures/measure-categories.d.ts +2 -0
  7. package/dist/cjs/types/api/measures/measure-categories.js +2 -0
  8. package/dist/cjs/types/api/measures/measure-categories.js.map +1 -1
  9. package/dist/cjs/types/api/measures/measures.d.ts +38 -3
  10. package/dist/cjs/types/api/measures/measures.js +38 -3
  11. package/dist/cjs/types/api/measures/measures.js.map +1 -1
  12. package/dist/cjs/types/costs/cost-types.d.ts +10 -11
  13. package/dist/cjs/types/costs/cost-types.js +11 -8
  14. package/dist/cjs/types/costs/cost-types.js.map +1 -1
  15. package/dist/esm/__tests__/cm4-measure-definitions.spec.d.ts +1 -0
  16. package/dist/esm/__tests__/cm4-measure-definitions.spec.js +183 -0
  17. package/dist/esm/__tests__/cm4-measure-definitions.spec.js.map +1 -0
  18. package/dist/esm/types/api/measures/definitions/orders-measure-definitions.js +912 -200
  19. package/dist/esm/types/api/measures/definitions/orders-measure-definitions.js.map +1 -1
  20. package/dist/esm/types/api/measures/measure-categories.d.ts +2 -0
  21. package/dist/esm/types/api/measures/measure-categories.js +2 -0
  22. package/dist/esm/types/api/measures/measure-categories.js.map +1 -1
  23. package/dist/esm/types/api/measures/measures.d.ts +38 -3
  24. package/dist/esm/types/api/measures/measures.js +38 -3
  25. package/dist/esm/types/api/measures/measures.js.map +1 -1
  26. package/dist/esm/types/costs/cost-types.d.ts +10 -11
  27. package/dist/esm/types/costs/cost-types.js +10 -7
  28. package/dist/esm/types/costs/cost-types.js.map +1 -1
  29. package/package.json +1 -1
@@ -656,7 +656,7 @@ export const ORDERS_MEASURES_MAP = {
656
656
  icon: MEASURE_ICON.SHOPIFY,
657
657
  measure: MEASURE.ORDERS_HANDLING_COST,
658
658
  category: MEASURE_CATEGORY.ORDERS,
659
- subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
659
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
660
660
  valueType: MeasureValueType.CURRENCY,
661
661
  decimalPlaces: 2,
662
662
  useCompactNotation: true,
@@ -675,7 +675,7 @@ export const ORDERS_MEASURES_MAP = {
675
675
  icon: MEASURE_ICON.SHOPIFY,
676
676
  measure: MEASURE.ORDERS_HANDLING_COST_PER_ORDER,
677
677
  category: MEASURE_CATEGORY.ORDERS,
678
- subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
678
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
679
679
  valueType: MeasureValueType.CURRENCY,
680
680
  decimalPlaces: 2,
681
681
  useCompactNotation: false,
@@ -696,7 +696,7 @@ export const ORDERS_MEASURES_MAP = {
696
696
  icon: MEASURE_ICON.SHOPIFY,
697
697
  measure: MEASURE.ORDERS_HANDLING_COST_PERCENT,
698
698
  category: MEASURE_CATEGORY.ORDERS,
699
- subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
699
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
700
700
  valueType: MeasureValueType.PERCENTAGE,
701
701
  decimalPlaces: 2,
702
702
  useCompactNotation: false,
@@ -717,7 +717,7 @@ export const ORDERS_MEASURES_MAP = {
717
717
  icon: MEASURE_ICON.SHOPIFY,
718
718
  measure: MEASURE.ORDERS_GATEWAY_COST,
719
719
  category: MEASURE_CATEGORY.ORDERS,
720
- subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
720
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_TRANSACTION,
721
721
  valueType: MeasureValueType.CURRENCY,
722
722
  decimalPlaces: 2,
723
723
  useCompactNotation: true,
@@ -736,7 +736,7 @@ export const ORDERS_MEASURES_MAP = {
736
736
  icon: MEASURE_ICON.SHOPIFY,
737
737
  measure: MEASURE.ORDERS_GATEWAY_COST_PER_ORDER,
738
738
  category: MEASURE_CATEGORY.ORDERS,
739
- subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
739
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_TRANSACTION,
740
740
  valueType: MeasureValueType.CURRENCY,
741
741
  decimalPlaces: 2,
742
742
  useCompactNotation: false,
@@ -757,7 +757,7 @@ export const ORDERS_MEASURES_MAP = {
757
757
  icon: MEASURE_ICON.SHOPIFY,
758
758
  measure: MEASURE.ORDERS_GATEWAY_COST_PERCENT,
759
759
  category: MEASURE_CATEGORY.ORDERS,
760
- subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
760
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_TRANSACTION,
761
761
  valueType: MeasureValueType.PERCENTAGE,
762
762
  decimalPlaces: 2,
763
763
  useCompactNotation: false,
@@ -778,7 +778,7 @@ export const ORDERS_MEASURES_MAP = {
778
778
  icon: MEASURE_ICON.SHOPIFY,
779
779
  measure: MEASURE.ORDERS_SHIPPING_COST,
780
780
  category: MEASURE_CATEGORY.ORDERS,
781
- subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
781
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
782
782
  valueType: MeasureValueType.CURRENCY,
783
783
  decimalPlaces: 2,
784
784
  useCompactNotation: true,
@@ -797,7 +797,7 @@ export const ORDERS_MEASURES_MAP = {
797
797
  icon: MEASURE_ICON.SHOPIFY,
798
798
  measure: MEASURE.ORDERS_SHIPPING_COST_PER_ORDER,
799
799
  category: MEASURE_CATEGORY.ORDERS,
800
- subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
800
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
801
801
  valueType: MeasureValueType.CURRENCY,
802
802
  decimalPlaces: 2,
803
803
  useCompactNotation: false,
@@ -818,7 +818,7 @@ export const ORDERS_MEASURES_MAP = {
818
818
  icon: MEASURE_ICON.SHOPIFY,
819
819
  measure: MEASURE.ORDERS_SHIPPING_COST_PERCENT,
820
820
  category: MEASURE_CATEGORY.ORDERS,
821
- subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
821
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
822
822
  valueType: MeasureValueType.PERCENTAGE,
823
823
  decimalPlaces: 2,
824
824
  useCompactNotation: false,
@@ -829,9 +829,9 @@ export const ORDERS_MEASURES_MAP = {
829
829
  },
830
830
  [MEASURE.ORDERS_OTHER_COST]: {
831
831
  priority: 10,
832
- title: 'Order Cost (Other)',
833
- shortTitle: 'Order Cost (Other)',
834
- description: 'Order costs from Cost Settings including per-order, per-line-item, per-refund, weight-based, quantity-based, and percentage-based fees.',
832
+ title: 'Other Cost',
833
+ shortTitle: 'Other Cost',
834
+ description: 'Other variable order costs (per-order, per-line-item, percentage-based).',
835
835
  sumPrefix: '$',
836
836
  sumSuffix: '',
837
837
  avgPrefix: '$',
@@ -844,13 +844,13 @@ export const ORDERS_MEASURES_MAP = {
844
844
  decimalPlaces: 2,
845
845
  useCompactNotation: true,
846
846
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
847
- tooltip: 'Order costs from Cost Settings including per-order, per-line-item, per-refund, weight-based, quantity-based, and percentage-based fees.',
847
+ tooltip: 'Other variable order costs including per-order fees, per-line-item fees, and percentage-based costs.',
848
848
  },
849
849
  [MEASURE.ORDERS_OTHER_COST_PER_ORDER]: {
850
850
  priority: 11,
851
- title: 'Order Cost (Other) Per Order',
852
- shortTitle: 'Order Cost (Other)/Order',
853
- description: 'Average Order Cost (Other) per order.',
851
+ title: 'Other Cost Per Order',
852
+ shortTitle: 'Other Cost/Order',
853
+ description: 'Average other cost per order.',
854
854
  sumPrefix: '$',
855
855
  sumSuffix: '',
856
856
  avgPrefix: '$',
@@ -863,15 +863,15 @@ export const ORDERS_MEASURES_MAP = {
863
863
  decimalPlaces: 2,
864
864
  useCompactNotation: false,
865
865
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
866
- tooltip: 'Average Order Cost (Other) per order.',
867
- formulaDisplay: 'Order Cost (Other) ÷ Order Count',
866
+ tooltip: 'Average other variable cost per order.',
867
+ formulaDisplay: '(Other Cost) ÷ (Order Count)',
868
868
  formula: '(other_cost) / (order_count)',
869
869
  },
870
870
  [MEASURE.ORDERS_OTHER_COST_PERCENT]: {
871
871
  priority: 12,
872
- title: 'Order Cost (Other) %',
873
- shortTitle: 'Order Cost (Other) %',
874
- description: 'Order Cost (Other) as a percentage of net revenue.',
872
+ title: 'Other Cost %',
873
+ shortTitle: 'Other Cost %',
874
+ description: 'Other cost as percentage of net revenue.',
875
875
  sumPrefix: '',
876
876
  sumSuffix: '%',
877
877
  avgPrefix: '',
@@ -884,72 +884,632 @@ export const ORDERS_MEASURES_MAP = {
884
884
  decimalPlaces: 2,
885
885
  useCompactNotation: false,
886
886
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
887
- tooltip: 'Order Cost (Other) as a percentage of net revenue.',
888
- formulaDisplay: 'Order Cost (Other) ÷ Net Revenue × 100',
887
+ tooltip: 'Other variable cost as a percentage of net revenue.',
888
+ formulaDisplay: '(Other Cost) ÷ (Net Revenue) × 100',
889
889
  formula: '((other_cost) / (net_revenue)) * 100',
890
890
  },
891
- [MEASURE.ORDERS_ORDER_COST_TOTAL]: {
892
- priority: 13,
893
- title: 'Order Cost (Total)',
894
- shortTitle: 'Order Cost (Total)',
895
- description: 'Total order costs: Handling Cost + Gateway Cost + Shipping Cost + Order Cost (Other).',
891
+ [MEASURE.ORDERS_OTHER_COGS]: {
892
+ priority: 25,
893
+ title: 'Other COGS',
894
+ shortTitle: 'Other COGS',
895
+ description: 'User-defined cost of goods sold from order cost entries with category COGS.',
896
+ sumPrefix: '$',
897
+ sumSuffix: '',
898
+ avgPrefix: '$',
899
+ avgSuffix: '',
900
+ icon: MEASURE_ICON.SHOPIFY,
901
+ measure: MEASURE.ORDERS_OTHER_COGS,
902
+ category: MEASURE_CATEGORY.ORDERS,
903
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
904
+ valueType: MeasureValueType.CURRENCY,
905
+ decimalPlaces: 2,
906
+ useCompactNotation: true,
907
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
908
+ tooltip: 'User-defined COGS from order cost entries. Combined with product COGS to calculate Total COGS.',
909
+ formulaDisplay: 'Sum of order cost entries where category = COGS',
910
+ },
911
+ [MEASURE.ORDERS_TOTAL_COGS]: {
912
+ priority: 26,
913
+ title: 'Total COGS',
914
+ shortTitle: 'Total COGS',
915
+ description: 'Total cost of goods sold including product costs and user-defined COGS.',
916
+ sumPrefix: '$',
917
+ sumSuffix: '',
918
+ avgPrefix: '$',
919
+ avgSuffix: '',
920
+ icon: MEASURE_ICON.SHOPIFY,
921
+ measure: MEASURE.ORDERS_TOTAL_COGS,
922
+ category: MEASURE_CATEGORY.ORDERS,
923
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
924
+ valueType: MeasureValueType.CURRENCY,
925
+ decimalPlaces: 2,
926
+ useCompactNotation: true,
927
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
928
+ tooltip: 'Total COGS combining product variant costs and user-defined COGS entries. Deducted from Net Revenue to calculate CM1.',
929
+ formulaDisplay: 'COGS + Other COGS',
930
+ },
931
+ [MEASURE.ORDERS_OTHER_FULFILLMENT_COST]: {
932
+ priority: 27,
933
+ title: 'Other Fulfillment Cost',
934
+ shortTitle: 'Other Fulfillment',
935
+ description: 'User-defined fulfillment costs from order cost entries with category FULFILLMENT.',
936
+ sumPrefix: '$',
937
+ sumSuffix: '',
938
+ avgPrefix: '$',
939
+ avgSuffix: '',
940
+ icon: MEASURE_ICON.SHOPIFY,
941
+ measure: MEASURE.ORDERS_OTHER_FULFILLMENT_COST,
942
+ category: MEASURE_CATEGORY.ORDERS,
943
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
944
+ valueType: MeasureValueType.CURRENCY,
945
+ decimalPlaces: 2,
946
+ useCompactNotation: true,
947
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
948
+ tooltip: 'User-defined fulfillment costs from order cost entries. Includes packaging and other fulfillment fees.',
949
+ formulaDisplay: 'Sum of order cost entries with category Fulfillment',
950
+ },
951
+ [MEASURE.ORDERS_TOTAL_FULFILLMENT_COST]: {
952
+ priority: 28,
953
+ title: 'Total Fulfillment Cost',
954
+ shortTitle: 'Total Fulfillment',
955
+ description: 'Total fulfillment costs including shipping, handling, and user-defined fulfillment.',
956
+ sumPrefix: '$',
957
+ sumSuffix: '',
958
+ avgPrefix: '$',
959
+ avgSuffix: '',
960
+ icon: MEASURE_ICON.SHOPIFY,
961
+ measure: MEASURE.ORDERS_TOTAL_FULFILLMENT_COST,
962
+ category: MEASURE_CATEGORY.ORDERS,
963
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
964
+ valueType: MeasureValueType.CURRENCY,
965
+ decimalPlaces: 2,
966
+ useCompactNotation: true,
967
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
968
+ tooltip: 'Total fulfillment costs combining shipping, handling, and user-defined fulfillment. Deducted from CM1 to calculate CM2.',
969
+ formulaDisplay: 'Shipping Cost + Handling Cost + Other Fulfillment',
970
+ },
971
+ [MEASURE.ORDERS_OTHER_TRANSACTION_COST]: {
972
+ priority: 29,
973
+ title: 'Other Transaction Cost',
974
+ shortTitle: 'Other Transaction',
975
+ description: 'User-defined transaction costs from order cost entries with category TRANSACTION.',
976
+ sumPrefix: '$',
977
+ sumSuffix: '',
978
+ avgPrefix: '$',
979
+ avgSuffix: '',
980
+ icon: MEASURE_ICON.SHOPIFY,
981
+ measure: MEASURE.ORDERS_OTHER_TRANSACTION_COST,
982
+ category: MEASURE_CATEGORY.ORDERS,
983
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_TRANSACTION,
984
+ valueType: MeasureValueType.CURRENCY,
985
+ decimalPlaces: 2,
986
+ useCompactNotation: true,
987
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
988
+ tooltip: 'User-defined transaction costs from order cost entries. Includes additional payment processing fees.',
989
+ formulaDisplay: 'Sum of order cost entries with category Transaction',
990
+ },
991
+ [MEASURE.ORDERS_TOTAL_TRANSACTION_COST]: {
992
+ priority: 30,
993
+ title: 'Total Transaction Cost',
994
+ shortTitle: 'Total Transaction',
995
+ description: 'Total transaction costs including gateway fees and user-defined transaction costs.',
996
+ sumPrefix: '$',
997
+ sumSuffix: '',
998
+ avgPrefix: '$',
999
+ avgSuffix: '',
1000
+ icon: MEASURE_ICON.SHOPIFY,
1001
+ measure: MEASURE.ORDERS_TOTAL_TRANSACTION_COST,
1002
+ category: MEASURE_CATEGORY.ORDERS,
1003
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_TRANSACTION,
1004
+ valueType: MeasureValueType.CURRENCY,
1005
+ decimalPlaces: 2,
1006
+ useCompactNotation: true,
1007
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1008
+ tooltip: 'Total transaction costs combining payment gateway fees and user-defined transaction costs. Deducted from CM1 to calculate CM2.',
1009
+ formulaDisplay: 'Gateway Cost + Other Transaction',
1010
+ },
1011
+ [MEASURE.ORDERS_MARKETING_COST]: {
1012
+ priority: 19,
1013
+ title: 'Marketing Cost',
1014
+ shortTitle: 'Marketing Cost',
1015
+ description: 'User-defined marketing costs from order cost entries with category MARKETING.',
1016
+ sumPrefix: '$',
1017
+ sumSuffix: '',
1018
+ avgPrefix: '$',
1019
+ avgSuffix: '',
1020
+ icon: MEASURE_ICON.SHOPIFY,
1021
+ measure: MEASURE.ORDERS_MARKETING_COST,
1022
+ category: MEASURE_CATEGORY.ORDERS,
1023
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1024
+ valueType: MeasureValueType.CURRENCY,
1025
+ decimalPlaces: 2,
1026
+ useCompactNotation: true,
1027
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1028
+ tooltip: 'User-defined marketing costs from order cost entries. Combined with Ad Spend and deducted from CM2 to calculate CM3.',
1029
+ formulaDisplay: 'Sum of order cost entries with category Marketing',
1030
+ },
1031
+ [MEASURE.ORDERS_AGENCY_FEES_COST]: {
1032
+ priority: 32,
1033
+ title: 'Agency Fees',
1034
+ shortTitle: 'Agency Fees',
1035
+ description: 'User-defined agency fees from order cost entries with category AGENCY_FEES.',
1036
+ sumPrefix: '$',
1037
+ sumSuffix: '',
1038
+ avgPrefix: '$',
1039
+ avgSuffix: '',
1040
+ icon: MEASURE_ICON.SHOPIFY,
1041
+ measure: MEASURE.ORDERS_AGENCY_FEES_COST,
1042
+ category: MEASURE_CATEGORY.ORDERS,
1043
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1044
+ valueType: MeasureValueType.CURRENCY,
1045
+ decimalPlaces: 2,
1046
+ useCompactNotation: true,
1047
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1048
+ tooltip: 'User-defined agency fees from order cost entries. Deducted from CM3 to calculate CM4.',
1049
+ formulaDisplay: 'Sum of order cost entries with category Agency Fees',
1050
+ },
1051
+ [MEASURE.ORDERS_OPEX_COST]: {
1052
+ priority: 21,
1053
+ title: 'Opex',
1054
+ shortTitle: 'Opex',
1055
+ description: 'User-defined operating expenses from order cost entries with category OPEX.',
1056
+ sumPrefix: '$',
1057
+ sumSuffix: '',
1058
+ avgPrefix: '$',
1059
+ avgSuffix: '',
1060
+ icon: MEASURE_ICON.SHOPIFY,
1061
+ measure: MEASURE.ORDERS_OPEX_COST,
1062
+ category: MEASURE_CATEGORY.ORDERS,
1063
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1064
+ valueType: MeasureValueType.CURRENCY,
1065
+ decimalPlaces: 2,
1066
+ useCompactNotation: true,
1067
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1068
+ tooltip: 'User-defined operating expenses from order cost entries. Deducted from CM3 to calculate CM4.',
1069
+ formulaDisplay: 'Sum of order cost entries with category Operating Expenses',
1070
+ },
1071
+ [MEASURE.ORDERS_NEW_CUSTOMER_SHIPPING_COST]: {
1072
+ priority: 40,
1073
+ title: 'New Customer Shipping Cost',
1074
+ shortTitle: 'NC Shipping Cost',
1075
+ description: 'Shipping costs for new customer orders.',
896
1076
  sumPrefix: '$',
897
1077
  sumSuffix: '',
898
1078
  avgPrefix: '$',
899
1079
  avgSuffix: '',
900
1080
  icon: MEASURE_ICON.SHOPIFY,
901
- measure: MEASURE.ORDERS_ORDER_COST_TOTAL,
1081
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_SHIPPING_COST,
1082
+ category: MEASURE_CATEGORY.ORDERS,
1083
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
1084
+ valueType: MeasureValueType.CURRENCY,
1085
+ decimalPlaces: 2,
1086
+ useCompactNotation: true,
1087
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1088
+ tooltip: 'Total shipping costs for orders placed by new customers.',
1089
+ },
1090
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_SHIPPING_COST]: {
1091
+ priority: 41,
1092
+ title: 'Returning Customer Shipping Cost',
1093
+ shortTitle: 'RC Shipping Cost',
1094
+ description: 'Shipping costs for returning customer orders.',
1095
+ sumPrefix: '$',
1096
+ sumSuffix: '',
1097
+ avgPrefix: '$',
1098
+ avgSuffix: '',
1099
+ icon: MEASURE_ICON.SHOPIFY,
1100
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_SHIPPING_COST,
1101
+ category: MEASURE_CATEGORY.ORDERS,
1102
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
1103
+ valueType: MeasureValueType.CURRENCY,
1104
+ decimalPlaces: 2,
1105
+ useCompactNotation: true,
1106
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1107
+ tooltip: 'Total shipping costs for orders placed by returning customers.',
1108
+ },
1109
+ [MEASURE.ORDERS_NEW_CUSTOMER_HANDLING_COST]: {
1110
+ priority: 42,
1111
+ title: 'New Customer Handling Cost',
1112
+ shortTitle: 'NC Handling Cost',
1113
+ description: 'Handling costs for new customer orders.',
1114
+ sumPrefix: '$',
1115
+ sumSuffix: '',
1116
+ avgPrefix: '$',
1117
+ avgSuffix: '',
1118
+ icon: MEASURE_ICON.SHOPIFY,
1119
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_HANDLING_COST,
1120
+ category: MEASURE_CATEGORY.ORDERS,
1121
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
1122
+ valueType: MeasureValueType.CURRENCY,
1123
+ decimalPlaces: 2,
1124
+ useCompactNotation: true,
1125
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1126
+ tooltip: 'Total handling costs for orders placed by new customers.',
1127
+ },
1128
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_HANDLING_COST]: {
1129
+ priority: 43,
1130
+ title: 'Returning Customer Handling Cost',
1131
+ shortTitle: 'RC Handling Cost',
1132
+ description: 'Handling costs for returning customer orders.',
1133
+ sumPrefix: '$',
1134
+ sumSuffix: '',
1135
+ avgPrefix: '$',
1136
+ avgSuffix: '',
1137
+ icon: MEASURE_ICON.SHOPIFY,
1138
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_HANDLING_COST,
1139
+ category: MEASURE_CATEGORY.ORDERS,
1140
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
1141
+ valueType: MeasureValueType.CURRENCY,
1142
+ decimalPlaces: 2,
1143
+ useCompactNotation: true,
1144
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1145
+ tooltip: 'Total handling costs for orders placed by returning customers.',
1146
+ },
1147
+ [MEASURE.ORDERS_NEW_CUSTOMER_GATEWAY_COST]: {
1148
+ priority: 44,
1149
+ title: 'New Customer Gateway Cost',
1150
+ shortTitle: 'NC Gateway Cost',
1151
+ description: 'Payment gateway costs for new customer orders.',
1152
+ sumPrefix: '$',
1153
+ sumSuffix: '',
1154
+ avgPrefix: '$',
1155
+ avgSuffix: '',
1156
+ icon: MEASURE_ICON.SHOPIFY,
1157
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_GATEWAY_COST,
1158
+ category: MEASURE_CATEGORY.ORDERS,
1159
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_TRANSACTION,
1160
+ valueType: MeasureValueType.CURRENCY,
1161
+ decimalPlaces: 2,
1162
+ useCompactNotation: true,
1163
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1164
+ tooltip: 'Total payment gateway fees for orders placed by new customers.',
1165
+ },
1166
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_GATEWAY_COST]: {
1167
+ priority: 45,
1168
+ title: 'Returning Customer Gateway Cost',
1169
+ shortTitle: 'RC Gateway Cost',
1170
+ description: 'Payment gateway costs for returning customer orders.',
1171
+ sumPrefix: '$',
1172
+ sumSuffix: '',
1173
+ avgPrefix: '$',
1174
+ avgSuffix: '',
1175
+ icon: MEASURE_ICON.SHOPIFY,
1176
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_GATEWAY_COST,
1177
+ category: MEASURE_CATEGORY.ORDERS,
1178
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_TRANSACTION,
1179
+ valueType: MeasureValueType.CURRENCY,
1180
+ decimalPlaces: 2,
1181
+ useCompactNotation: true,
1182
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1183
+ tooltip: 'Total payment gateway fees for orders placed by returning customers.',
1184
+ },
1185
+ [MEASURE.ORDERS_NEW_CUSTOMER_OTHER_COGS]: {
1186
+ priority: 46,
1187
+ title: 'New Customer Other COGS',
1188
+ shortTitle: 'NC Other COGS',
1189
+ description: 'User-defined COGS for new customer orders.',
1190
+ sumPrefix: '$',
1191
+ sumSuffix: '',
1192
+ avgPrefix: '$',
1193
+ avgSuffix: '',
1194
+ icon: MEASURE_ICON.SHOPIFY,
1195
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_OTHER_COGS,
1196
+ category: MEASURE_CATEGORY.ORDERS,
1197
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
1198
+ valueType: MeasureValueType.CURRENCY,
1199
+ decimalPlaces: 2,
1200
+ useCompactNotation: true,
1201
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1202
+ tooltip: 'User-defined cost of goods sold from order cost entries for new customer orders.',
1203
+ },
1204
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_OTHER_COGS]: {
1205
+ priority: 47,
1206
+ title: 'Returning Customer Other COGS',
1207
+ shortTitle: 'RC Other COGS',
1208
+ description: 'User-defined COGS for returning customer orders.',
1209
+ sumPrefix: '$',
1210
+ sumSuffix: '',
1211
+ avgPrefix: '$',
1212
+ avgSuffix: '',
1213
+ icon: MEASURE_ICON.SHOPIFY,
1214
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_OTHER_COGS,
902
1215
  category: MEASURE_CATEGORY.ORDERS,
903
1216
  subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
904
1217
  valueType: MeasureValueType.CURRENCY,
905
1218
  decimalPlaces: 2,
906
1219
  useCompactNotation: true,
907
1220
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
908
- tooltip: 'Total order costs: Handling Cost + Gateway Cost + Shipping Cost + Order Cost (Other). Deducted from CM1 to calculate CM2.',
909
- formulaDisplay: 'Handling Cost + Gateway Cost + Shipping Cost + Order Cost (Other)',
1221
+ tooltip: 'User-defined cost of goods sold from order cost entries for returning customer orders.',
1222
+ },
1223
+ [MEASURE.ORDERS_NEW_CUSTOMER_OTHER_FULFILLMENT_COST]: {
1224
+ priority: 48,
1225
+ title: 'New Customer Other Fulfillment Cost',
1226
+ shortTitle: 'NC Other Fulfillment',
1227
+ description: 'User-defined fulfillment costs for new customer orders.',
1228
+ sumPrefix: '$',
1229
+ sumSuffix: '',
1230
+ avgPrefix: '$',
1231
+ avgSuffix: '',
1232
+ icon: MEASURE_ICON.SHOPIFY,
1233
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_OTHER_FULFILLMENT_COST,
1234
+ category: MEASURE_CATEGORY.ORDERS,
1235
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
1236
+ valueType: MeasureValueType.CURRENCY,
1237
+ decimalPlaces: 2,
1238
+ useCompactNotation: true,
1239
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1240
+ tooltip: 'User-defined fulfillment costs from order cost entries for new customer orders.',
1241
+ },
1242
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_OTHER_FULFILLMENT_COST]: {
1243
+ priority: 49,
1244
+ title: 'Returning Customer Other Fulfillment Cost',
1245
+ shortTitle: 'RC Other Fulfillment',
1246
+ description: 'User-defined fulfillment costs for returning customer orders.',
1247
+ sumPrefix: '$',
1248
+ sumSuffix: '',
1249
+ avgPrefix: '$',
1250
+ avgSuffix: '',
1251
+ icon: MEASURE_ICON.SHOPIFY,
1252
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_OTHER_FULFILLMENT_COST,
1253
+ category: MEASURE_CATEGORY.ORDERS,
1254
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_FULFILLMENT,
1255
+ valueType: MeasureValueType.CURRENCY,
1256
+ decimalPlaces: 2,
1257
+ useCompactNotation: true,
1258
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1259
+ tooltip: 'User-defined fulfillment costs from order cost entries for returning customer orders.',
1260
+ },
1261
+ [MEASURE.ORDERS_NEW_CUSTOMER_OTHER_TRANSACTION_COST]: {
1262
+ priority: 50,
1263
+ title: 'New Customer Other Transaction Cost',
1264
+ shortTitle: 'NC Other Transaction',
1265
+ description: 'User-defined transaction costs for new customer orders.',
1266
+ sumPrefix: '$',
1267
+ sumSuffix: '',
1268
+ avgPrefix: '$',
1269
+ avgSuffix: '',
1270
+ icon: MEASURE_ICON.SHOPIFY,
1271
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_OTHER_TRANSACTION_COST,
1272
+ category: MEASURE_CATEGORY.ORDERS,
1273
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_TRANSACTION,
1274
+ valueType: MeasureValueType.CURRENCY,
1275
+ decimalPlaces: 2,
1276
+ useCompactNotation: true,
1277
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1278
+ tooltip: 'User-defined transaction costs from order cost entries for new customer orders.',
1279
+ },
1280
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_OTHER_TRANSACTION_COST]: {
1281
+ priority: 51,
1282
+ title: 'Returning Customer Other Transaction Cost',
1283
+ shortTitle: 'RC Other Transaction',
1284
+ description: 'User-defined transaction costs for returning customer orders.',
1285
+ sumPrefix: '$',
1286
+ sumSuffix: '',
1287
+ avgPrefix: '$',
1288
+ avgSuffix: '',
1289
+ icon: MEASURE_ICON.SHOPIFY,
1290
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_OTHER_TRANSACTION_COST,
1291
+ category: MEASURE_CATEGORY.ORDERS,
1292
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_TRANSACTION,
1293
+ valueType: MeasureValueType.CURRENCY,
1294
+ decimalPlaces: 2,
1295
+ useCompactNotation: true,
1296
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1297
+ tooltip: 'User-defined transaction costs from order cost entries for returning customer orders.',
1298
+ },
1299
+ [MEASURE.ORDERS_NEW_CUSTOMER_MARKETING_COST]: {
1300
+ priority: 52,
1301
+ title: 'New Customer Marketing Cost',
1302
+ shortTitle: 'NC Marketing Cost',
1303
+ description: 'User-defined marketing costs for new customer orders.',
1304
+ sumPrefix: '$',
1305
+ sumSuffix: '',
1306
+ avgPrefix: '$',
1307
+ avgSuffix: '',
1308
+ icon: MEASURE_ICON.SHOPIFY,
1309
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_MARKETING_COST,
1310
+ category: MEASURE_CATEGORY.ORDERS,
1311
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1312
+ valueType: MeasureValueType.CURRENCY,
1313
+ decimalPlaces: 2,
1314
+ useCompactNotation: true,
1315
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1316
+ tooltip: 'User-defined marketing costs from order cost entries for new customer orders.',
1317
+ },
1318
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_MARKETING_COST]: {
1319
+ priority: 53,
1320
+ title: 'Returning Customer Marketing Cost',
1321
+ shortTitle: 'RC Marketing Cost',
1322
+ description: 'User-defined marketing costs for returning customer orders.',
1323
+ sumPrefix: '$',
1324
+ sumSuffix: '',
1325
+ avgPrefix: '$',
1326
+ avgSuffix: '',
1327
+ icon: MEASURE_ICON.SHOPIFY,
1328
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_MARKETING_COST,
1329
+ category: MEASURE_CATEGORY.ORDERS,
1330
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1331
+ valueType: MeasureValueType.CURRENCY,
1332
+ decimalPlaces: 2,
1333
+ useCompactNotation: true,
1334
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1335
+ tooltip: 'User-defined marketing costs from order cost entries for returning customer orders.',
1336
+ },
1337
+ [MEASURE.ORDERS_NEW_CUSTOMER_AGENCY_FEES_COST]: {
1338
+ priority: 54,
1339
+ title: 'New Customer Agency Fees',
1340
+ shortTitle: 'NC Agency Fees',
1341
+ description: 'User-defined agency fees for new customer orders.',
1342
+ sumPrefix: '$',
1343
+ sumSuffix: '',
1344
+ avgPrefix: '$',
1345
+ avgSuffix: '',
1346
+ icon: MEASURE_ICON.SHOPIFY,
1347
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_AGENCY_FEES_COST,
1348
+ category: MEASURE_CATEGORY.ORDERS,
1349
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1350
+ valueType: MeasureValueType.CURRENCY,
1351
+ decimalPlaces: 2,
1352
+ useCompactNotation: true,
1353
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1354
+ tooltip: 'User-defined agency fees from order cost entries for new customer orders.',
1355
+ },
1356
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_AGENCY_FEES_COST]: {
1357
+ priority: 55,
1358
+ title: 'Returning Customer Agency Fees',
1359
+ shortTitle: 'RC Agency Fees',
1360
+ description: 'User-defined agency fees for returning customer orders.',
1361
+ sumPrefix: '$',
1362
+ sumSuffix: '',
1363
+ avgPrefix: '$',
1364
+ avgSuffix: '',
1365
+ icon: MEASURE_ICON.SHOPIFY,
1366
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_AGENCY_FEES_COST,
1367
+ category: MEASURE_CATEGORY.ORDERS,
1368
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1369
+ valueType: MeasureValueType.CURRENCY,
1370
+ decimalPlaces: 2,
1371
+ useCompactNotation: true,
1372
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1373
+ tooltip: 'User-defined agency fees from order cost entries for returning customer orders.',
1374
+ },
1375
+ [MEASURE.ORDERS_NEW_CUSTOMER_OPEX_COST]: {
1376
+ priority: 56,
1377
+ title: 'New Customer Opex',
1378
+ shortTitle: 'NC Opex',
1379
+ description: 'User-defined operating expenses for new customer orders.',
1380
+ sumPrefix: '$',
1381
+ sumSuffix: '',
1382
+ avgPrefix: '$',
1383
+ avgSuffix: '',
1384
+ icon: MEASURE_ICON.SHOPIFY,
1385
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_OPEX_COST,
1386
+ category: MEASURE_CATEGORY.ORDERS,
1387
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1388
+ valueType: MeasureValueType.CURRENCY,
1389
+ decimalPlaces: 2,
1390
+ useCompactNotation: true,
1391
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1392
+ tooltip: 'User-defined operating expenses from order cost entries for new customer orders.',
1393
+ },
1394
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_OPEX_COST]: {
1395
+ priority: 57,
1396
+ title: 'Returning Customer Opex',
1397
+ shortTitle: 'RC Opex',
1398
+ description: 'User-defined operating expenses for returning customer orders.',
1399
+ sumPrefix: '$',
1400
+ sumSuffix: '',
1401
+ avgPrefix: '$',
1402
+ avgSuffix: '',
1403
+ icon: MEASURE_ICON.SHOPIFY,
1404
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_OPEX_COST,
1405
+ category: MEASURE_CATEGORY.ORDERS,
1406
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1407
+ valueType: MeasureValueType.CURRENCY,
1408
+ decimalPlaces: 2,
1409
+ useCompactNotation: true,
1410
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1411
+ tooltip: 'User-defined operating expenses from order cost entries for returning customer orders.',
1412
+ },
1413
+ [MEASURE.ORDERS_NEW_CUSTOMER_TOTAL_OTHER_COST]: {
1414
+ priority: 58,
1415
+ title: 'New Customer Total Other Cost',
1416
+ shortTitle: 'NC Total Other Cost',
1417
+ description: 'Total other costs for new customer orders.',
1418
+ sumPrefix: '$',
1419
+ sumSuffix: '',
1420
+ avgPrefix: '$',
1421
+ avgSuffix: '',
1422
+ icon: MEASURE_ICON.SHOPIFY,
1423
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_TOTAL_OTHER_COST,
1424
+ category: MEASURE_CATEGORY.ORDERS,
1425
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1426
+ valueType: MeasureValueType.CURRENCY,
1427
+ decimalPlaces: 2,
1428
+ useCompactNotation: true,
1429
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1430
+ tooltip: 'Total other costs for orders placed by new customers. Deducted from CM3 to calculate CM4.',
1431
+ },
1432
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_TOTAL_OTHER_COST]: {
1433
+ priority: 59,
1434
+ title: 'Returning Customer Total Other Cost',
1435
+ shortTitle: 'RC Total Other Cost',
1436
+ description: 'Total other costs for returning customer orders.',
1437
+ sumPrefix: '$',
1438
+ sumSuffix: '',
1439
+ avgPrefix: '$',
1440
+ avgSuffix: '',
1441
+ icon: MEASURE_ICON.SHOPIFY,
1442
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_TOTAL_OTHER_COST,
1443
+ category: MEASURE_CATEGORY.ORDERS,
1444
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1445
+ valueType: MeasureValueType.CURRENCY,
1446
+ decimalPlaces: 2,
1447
+ useCompactNotation: true,
1448
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1449
+ tooltip: 'Total other costs for orders placed by returning customers. Deducted from CM3 to calculate CM4.',
1450
+ },
1451
+ [MEASURE.ORDERS_VARIABLE_COSTS]: {
1452
+ priority: 33,
1453
+ title: 'Variable Costs',
1454
+ shortTitle: 'Variable Costs',
1455
+ description: 'Total variable order costs (handling + gateway + shipping + other).',
1456
+ sumPrefix: '$',
1457
+ sumSuffix: '',
1458
+ avgPrefix: '$',
1459
+ avgSuffix: '',
1460
+ icon: MEASURE_ICON.SHOPIFY,
1461
+ measure: MEASURE.ORDERS_VARIABLE_COSTS,
1462
+ category: MEASURE_CATEGORY.ORDERS,
1463
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
1464
+ valueType: MeasureValueType.CURRENCY,
1465
+ decimalPlaces: 2,
1466
+ useCompactNotation: true,
1467
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1468
+ tooltip: 'Total variable order costs including handling, gateway fees, shipping costs, and other fees. Deducted from CM1 to calculate CM2.',
1469
+ formulaDisplay: '(Handling Cost) + (Gateway Cost) + (Shipping Cost) + (Other Cost)',
910
1470
  formula: '(handling_cost) + (gateway_cost) + (shipping_cost) + (other_cost)',
911
1471
  },
912
- [MEASURE.ORDERS_ORDER_COST_TOTAL_PER_ORDER]: {
913
- priority: 14,
914
- title: 'Order Cost (Total) Per Order',
915
- shortTitle: 'Order Cost (Total)/Order',
916
- description: 'Average Order Cost (Total) per order.',
1472
+ [MEASURE.ORDERS_VARIABLE_COSTS_PER_ORDER]: {
1473
+ priority: 34,
1474
+ title: 'Variable Costs Per Order',
1475
+ shortTitle: 'Var. Costs/Order',
1476
+ description: 'Average variable costs per order.',
917
1477
  sumPrefix: '$',
918
1478
  sumSuffix: '',
919
1479
  avgPrefix: '$',
920
1480
  avgSuffix: '',
921
1481
  icon: MEASURE_ICON.SHOPIFY,
922
- measure: MEASURE.ORDERS_ORDER_COST_TOTAL_PER_ORDER,
1482
+ measure: MEASURE.ORDERS_VARIABLE_COSTS_PER_ORDER,
923
1483
  category: MEASURE_CATEGORY.ORDERS,
924
1484
  subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
925
1485
  valueType: MeasureValueType.CURRENCY,
926
1486
  decimalPlaces: 2,
927
1487
  useCompactNotation: false,
928
1488
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
929
- tooltip: 'Average Order Cost (Total) per order.',
930
- formulaDisplay: 'Order Cost (Total) ÷ Order Count',
931
- formula: '(order_cost_total) / (order_count)',
1489
+ tooltip: 'Average variable costs per order.',
1490
+ formulaDisplay: '(Variable Costs) ÷ (Order Count)',
1491
+ formula: '(variable_costs) / (order_count)',
932
1492
  },
933
- [MEASURE.ORDERS_ORDER_COST_TOTAL_PERCENT]: {
934
- priority: 15,
935
- title: 'Order Cost (Total) %',
936
- shortTitle: 'Order Cost (Total) %',
937
- description: 'Order Cost (Total) as a percentage of net revenue.',
1493
+ [MEASURE.ORDERS_VARIABLE_COSTS_PERCENT]: {
1494
+ priority: 35,
1495
+ title: 'Variable Costs %',
1496
+ shortTitle: 'Var. Costs %',
1497
+ description: 'Variable costs as percentage of net revenue.',
938
1498
  sumPrefix: '',
939
1499
  sumSuffix: '%',
940
1500
  avgPrefix: '',
941
1501
  avgSuffix: '%',
942
1502
  icon: MEASURE_ICON.SHOPIFY,
943
- measure: MEASURE.ORDERS_ORDER_COST_TOTAL_PERCENT,
1503
+ measure: MEASURE.ORDERS_VARIABLE_COSTS_PERCENT,
944
1504
  category: MEASURE_CATEGORY.ORDERS,
945
1505
  subcategory: MEASURE_SUBCATEGORY.ORDERS_COGS,
946
1506
  valueType: MeasureValueType.PERCENTAGE,
947
1507
  decimalPlaces: 2,
948
1508
  useCompactNotation: false,
949
1509
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
950
- tooltip: 'Order Cost (Total) as a percentage of net revenue.',
951
- formulaDisplay: 'Order Cost (Total) ÷ Net Revenue × 100',
952
- formula: '((order_cost_total) / (net_revenue)) * 100',
1510
+ tooltip: 'Variable costs as a percentage of net revenue.',
1511
+ formulaDisplay: '(Variable Costs) ÷ (Net Revenue) × 100',
1512
+ formula: '((variable_costs) / (net_revenue)) * 100',
953
1513
  },
954
1514
  [MEASURE.ORDERS_REFUND_AMOUNT]: {
955
1515
  priority: 1,
@@ -1374,7 +1934,7 @@ export const ORDERS_MEASURES_MAP = {
1374
1934
  [MEASURE.ORDERS_SHIPPING]: {
1375
1935
  priority: 31,
1376
1936
  title: 'Shipping Revenue',
1377
- shortTitle: 'Shipping Revenue',
1937
+ shortTitle: 'Shipping',
1378
1938
  description: 'Total shipping revenue.',
1379
1939
  sumPrefix: '$',
1380
1940
  sumSuffix: '',
@@ -1392,9 +1952,8 @@ export const ORDERS_MEASURES_MAP = {
1392
1952
  },
1393
1953
  [MEASURE.ORDERS_SHIPPING_PERCENT]: {
1394
1954
  priority: 32,
1395
- title: 'Shipping Revenue %',
1396
- shortTitle: 'Shipping Revenue %',
1397
- description: 'Shipping revenue as percentage of total revenue.',
1955
+ title: 'Shipping %',
1956
+ description: 'Shipping as percentage of total revenue.',
1398
1957
  sumPrefix: '',
1399
1958
  sumSuffix: '%',
1400
1959
  avgPrefix: '',
@@ -1413,9 +1972,9 @@ export const ORDERS_MEASURES_MAP = {
1413
1972
  },
1414
1973
  [MEASURE.ORDERS_SHIPPING_PER_ORDER]: {
1415
1974
  priority: 33,
1416
- title: 'Shipping Revenue Per Order',
1417
- shortTitle: 'Shipping Revenue/Order',
1418
- description: 'Average shipping revenue per order.',
1975
+ title: 'Shipping Per Order',
1976
+ shortTitle: 'Shipping/Order',
1977
+ description: 'Average shipping per order.',
1419
1978
  sumPrefix: '$',
1420
1979
  sumSuffix: '',
1421
1980
  avgPrefix: '$',
@@ -1435,7 +1994,7 @@ export const ORDERS_MEASURES_MAP = {
1435
1994
  [MEASURE.ORDERS_NEW_CUSTOMER_SHIPPING]: {
1436
1995
  priority: 34,
1437
1996
  title: 'New Customer Shipping Revenue',
1438
- shortTitle: 'NC Shipping Revenue',
1997
+ shortTitle: 'NC Shipping',
1439
1998
  description: 'Total shipping revenue from new customers.',
1440
1999
  sumPrefix: '$',
1441
2000
  sumSuffix: '',
@@ -1453,9 +2012,9 @@ export const ORDERS_MEASURES_MAP = {
1453
2012
  },
1454
2013
  [MEASURE.ORDERS_NEW_CUSTOMER_SHIPPING_PERCENT]: {
1455
2014
  priority: 35,
1456
- title: 'New Customer Shipping Revenue %',
1457
- shortTitle: 'NC Shipping Revenue %',
1458
- description: 'Shipping revenue as percentage of new customer total revenue.',
2015
+ title: 'New Customer Shipping %',
2016
+ shortTitle: 'NC Ship. %',
2017
+ description: 'Shipping as percentage of new customer total revenue.',
1459
2018
  sumPrefix: '',
1460
2019
  sumSuffix: '%',
1461
2020
  avgPrefix: '',
@@ -1474,9 +2033,9 @@ export const ORDERS_MEASURES_MAP = {
1474
2033
  },
1475
2034
  [MEASURE.ORDERS_NEW_CUSTOMER_SHIPPING_PER_ORDER]: {
1476
2035
  priority: 36,
1477
- title: 'New Customer Shipping Revenue Per Order',
1478
- shortTitle: 'NC Shipping Revenue/Order',
1479
- description: 'Average shipping revenue per new customer order.',
2036
+ title: 'New Customer Shipping Per Order',
2037
+ shortTitle: 'NC Shipping/Order',
2038
+ description: 'Average shipping per new customer order.',
1480
2039
  sumPrefix: '$',
1481
2040
  sumSuffix: '',
1482
2041
  avgPrefix: '$',
@@ -1496,7 +2055,7 @@ export const ORDERS_MEASURES_MAP = {
1496
2055
  [MEASURE.ORDERS_RETURNING_CUSTOMER_SHIPPING]: {
1497
2056
  priority: 37,
1498
2057
  title: 'Returning Customer Shipping Revenue',
1499
- shortTitle: 'RC Shipping Revenue',
2058
+ shortTitle: 'RC Shipping',
1500
2059
  description: 'Total shipping revenue from returning customers.',
1501
2060
  sumPrefix: '$',
1502
2061
  sumSuffix: '',
@@ -1514,9 +2073,9 @@ export const ORDERS_MEASURES_MAP = {
1514
2073
  },
1515
2074
  [MEASURE.ORDERS_RETURNING_CUSTOMER_SHIPPING_PERCENT]: {
1516
2075
  priority: 38,
1517
- title: 'Returning Customer Shipping Revenue %',
1518
- shortTitle: 'RC Shipping Revenue %',
1519
- description: 'Shipping revenue as percentage of returning customer total revenue.',
2076
+ title: 'Returning Customer Shipping %',
2077
+ shortTitle: 'RC Ship. %',
2078
+ description: 'Shipping as percentage of returning customer total revenue.',
1520
2079
  sumPrefix: '',
1521
2080
  sumSuffix: '%',
1522
2081
  avgPrefix: '',
@@ -1535,9 +2094,9 @@ export const ORDERS_MEASURES_MAP = {
1535
2094
  },
1536
2095
  [MEASURE.ORDERS_RETURNING_CUSTOMER_SHIPPING_PER_ORDER]: {
1537
2096
  priority: 39,
1538
- title: 'Returning Customer Shipping Revenue Per Order',
1539
- shortTitle: 'RC Shipping Revenue/Order',
1540
- description: 'Average shipping revenue per returning customer order.',
2097
+ title: 'Returning Customer Shipping Per Order',
2098
+ shortTitle: 'RC Shipping/Order',
2099
+ description: 'Average shipping per returning customer order.',
1541
2100
  sumPrefix: '$',
1542
2101
  sumSuffix: '',
1543
2102
  avgPrefix: '$',
@@ -1781,19 +2340,20 @@ export const ORDERS_MEASURES_MAP = {
1781
2340
  priority: 5,
1782
2341
  title: 'CM1 Per Order',
1783
2342
  shortTitle: 'CM1/Order',
1784
- description: 'Average CM1 per order. Net Revenue minus Effective COGS divided by order count.',
2343
+ description: 'Average CM1 per order. Net Revenue minus Total COGS divided by order count.',
1785
2344
  sumPrefix: '$',
1786
2345
  sumSuffix: '',
1787
2346
  avgPrefix: '$',
1788
2347
  avgSuffix: '',
1789
- icon: MEASURE_ICON.CHANNEL,
2348
+ icon: MEASURE_ICON.UPSTACK,
1790
2349
  measure: MEASURE.ORDERS_CM1_PER_ORDER,
1791
2350
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2351
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1792
2352
  valueType: MeasureValueType.CURRENCY,
1793
2353
  decimalPlaces: 2,
1794
2354
  useCompactNotation: false,
1795
2355
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
1796
- tooltip: 'CM1 Per Order is the conservative gross margin per order using Net Revenue minus Effective COGS.',
2356
+ tooltip: 'CM1 Per Order is the conservative gross margin per order using Net Revenue minus Total COGS.',
1797
2357
  formulaDisplay: '(CM1) ÷ (Order Count)',
1798
2358
  formula: '(cm1) / (order_count)',
1799
2359
  },
@@ -1806,9 +2366,10 @@ export const ORDERS_MEASURES_MAP = {
1806
2366
  sumSuffix: '',
1807
2367
  avgPrefix: '$',
1808
2368
  avgSuffix: '',
1809
- icon: MEASURE_ICON.SHOPIFY,
2369
+ icon: MEASURE_ICON.UPSTACK,
1810
2370
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM1_PER_ORDER,
1811
2371
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2372
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1812
2373
  valueType: MeasureValueType.CURRENCY,
1813
2374
  decimalPlaces: 2,
1814
2375
  useCompactNotation: false,
@@ -1826,9 +2387,10 @@ export const ORDERS_MEASURES_MAP = {
1826
2387
  sumSuffix: '',
1827
2388
  avgPrefix: '$',
1828
2389
  avgSuffix: '',
1829
- icon: MEASURE_ICON.SHOPIFY,
2390
+ icon: MEASURE_ICON.UPSTACK,
1830
2391
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM1_PER_ORDER,
1831
2392
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2393
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1832
2394
  valueType: MeasureValueType.CURRENCY,
1833
2395
  decimalPlaces: 2,
1834
2396
  useCompactNotation: false,
@@ -1841,14 +2403,16 @@ export const ORDERS_MEASURES_MAP = {
1841
2403
  priority: 6,
1842
2404
  hideFromUI: true,
1843
2405
  title: 'CM2 Per Order',
2406
+ shortTitle: 'CM2/Order',
1844
2407
  description: 'Average CM2 per order.',
1845
2408
  sumPrefix: '$',
1846
2409
  sumSuffix: '',
1847
2410
  avgPrefix: '$',
1848
2411
  avgSuffix: '',
1849
- icon: MEASURE_ICON.CHANNEL,
2412
+ icon: MEASURE_ICON.UPSTACK,
1850
2413
  measure: MEASURE.ORDERS_CM2_PER_ORDER,
1851
2414
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2415
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1852
2416
  valueType: MeasureValueType.CURRENCY,
1853
2417
  decimalPlaces: 2,
1854
2418
  useCompactNotation: false,
@@ -1861,14 +2425,16 @@ export const ORDERS_MEASURES_MAP = {
1861
2425
  priority: 7,
1862
2426
  hideFromUI: true,
1863
2427
  title: 'CM3 Per Order',
2428
+ shortTitle: 'CM3/Order',
1864
2429
  description: 'Average CM3 per order.',
1865
2430
  sumPrefix: '$',
1866
2431
  sumSuffix: '',
1867
2432
  avgPrefix: '$',
1868
2433
  avgSuffix: '',
1869
- icon: MEASURE_ICON.CHANNEL,
2434
+ icon: MEASURE_ICON.UPSTACK,
1870
2435
  measure: MEASURE.ORDERS_CM3_PER_ORDER,
1871
2436
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2437
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1872
2438
  valueType: MeasureValueType.CURRENCY,
1873
2439
  decimalPlaces: 2,
1874
2440
  useCompactNotation: false,
@@ -1887,9 +2453,10 @@ export const ORDERS_MEASURES_MAP = {
1887
2453
  sumSuffix: '',
1888
2454
  avgPrefix: '$',
1889
2455
  avgSuffix: '',
1890
- icon: MEASURE_ICON.CHANNEL,
2456
+ icon: MEASURE_ICON.UPSTACK,
1891
2457
  measure: MEASURE.ORDERS_CM4_PER_ORDER,
1892
2458
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2459
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1893
2460
  valueType: MeasureValueType.CURRENCY,
1894
2461
  decimalPlaces: 2,
1895
2462
  useCompactNotation: false,
@@ -1907,9 +2474,10 @@ export const ORDERS_MEASURES_MAP = {
1907
2474
  sumSuffix: '',
1908
2475
  avgPrefix: '$',
1909
2476
  avgSuffix: '',
1910
- icon: MEASURE_ICON.SHOPIFY,
2477
+ icon: MEASURE_ICON.UPSTACK,
1911
2478
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM2_PER_ORDER,
1912
2479
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2480
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1913
2481
  valueType: MeasureValueType.CURRENCY,
1914
2482
  decimalPlaces: 2,
1915
2483
  useCompactNotation: false,
@@ -1927,9 +2495,10 @@ export const ORDERS_MEASURES_MAP = {
1927
2495
  sumSuffix: '',
1928
2496
  avgPrefix: '$',
1929
2497
  avgSuffix: '',
1930
- icon: MEASURE_ICON.SHOPIFY,
2498
+ icon: MEASURE_ICON.UPSTACK,
1931
2499
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM3_PER_ORDER,
1932
2500
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2501
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1933
2502
  valueType: MeasureValueType.CURRENCY,
1934
2503
  decimalPlaces: 2,
1935
2504
  useCompactNotation: false,
@@ -1947,9 +2516,10 @@ export const ORDERS_MEASURES_MAP = {
1947
2516
  sumSuffix: '',
1948
2517
  avgPrefix: '$',
1949
2518
  avgSuffix: '',
1950
- icon: MEASURE_ICON.SHOPIFY,
2519
+ icon: MEASURE_ICON.UPSTACK,
1951
2520
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM4_PER_ORDER,
1952
2521
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2522
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1953
2523
  valueType: MeasureValueType.CURRENCY,
1954
2524
  decimalPlaces: 2,
1955
2525
  useCompactNotation: false,
@@ -1967,9 +2537,10 @@ export const ORDERS_MEASURES_MAP = {
1967
2537
  sumSuffix: '',
1968
2538
  avgPrefix: '$',
1969
2539
  avgSuffix: '',
1970
- icon: MEASURE_ICON.SHOPIFY,
2540
+ icon: MEASURE_ICON.UPSTACK,
1971
2541
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM2_PER_ORDER,
1972
2542
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2543
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1973
2544
  valueType: MeasureValueType.CURRENCY,
1974
2545
  decimalPlaces: 2,
1975
2546
  useCompactNotation: false,
@@ -1987,9 +2558,10 @@ export const ORDERS_MEASURES_MAP = {
1987
2558
  sumSuffix: '',
1988
2559
  avgPrefix: '$',
1989
2560
  avgSuffix: '',
1990
- icon: MEASURE_ICON.SHOPIFY,
2561
+ icon: MEASURE_ICON.UPSTACK,
1991
2562
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM3_PER_ORDER,
1992
2563
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2564
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
1993
2565
  valueType: MeasureValueType.CURRENCY,
1994
2566
  decimalPlaces: 2,
1995
2567
  useCompactNotation: false,
@@ -2007,9 +2579,10 @@ export const ORDERS_MEASURES_MAP = {
2007
2579
  sumSuffix: '',
2008
2580
  avgPrefix: '$',
2009
2581
  avgSuffix: '',
2010
- icon: MEASURE_ICON.SHOPIFY,
2582
+ icon: MEASURE_ICON.UPSTACK,
2011
2583
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM4_PER_ORDER,
2012
2584
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2585
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
2013
2586
  valueType: MeasureValueType.CURRENCY,
2014
2587
  decimalPlaces: 2,
2015
2588
  useCompactNotation: false,
@@ -3327,7 +3900,7 @@ export const ORDERS_MEASURES_MAP = {
3327
3900
  decimalPlaces: 2,
3328
3901
  useCompactNotation: false,
3329
3902
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3330
- tooltip: 'How much contribution margin after all costs (CM3) you earn for every dollar spent on advertising.',
3903
+ tooltip: 'How much contribution margin after marketing and ad spend (CM3) you earn for every dollar spent on advertising.',
3331
3904
  formulaDisplay: 'CM3 ÷ Total Ad Spend',
3332
3905
  formula: 'cm3 / spend',
3333
3906
  },
@@ -3387,7 +3960,7 @@ export const ORDERS_MEASURES_MAP = {
3387
3960
  decimalPlaces: 2,
3388
3961
  useCompactNotation: false,
3389
3962
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3390
- tooltip: 'New customer contribution margin after all costs (CM3) per dollar spent on advertising.',
3963
+ tooltip: 'New customer contribution margin after marketing and ad spend (CM3) per dollar spent on advertising.',
3391
3964
  formulaDisplay: 'NC CM3 ÷ Ad Spend',
3392
3965
  formula: 'nc_cm3 / spend',
3393
3966
  },
@@ -3447,7 +4020,7 @@ export const ORDERS_MEASURES_MAP = {
3447
4020
  decimalPlaces: 2,
3448
4021
  useCompactNotation: false,
3449
4022
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3450
- tooltip: 'Returning customer contribution margin after all costs (CM3) per dollar spent on advertising.',
4023
+ tooltip: 'Returning customer contribution margin after marketing and ad spend (CM3) per dollar spent on advertising.',
3451
4024
  formulaDisplay: 'RC CM3 ÷ Ad Spend',
3452
4025
  formula: 'rc_cm3 / spend',
3453
4026
  },
@@ -3647,9 +4220,9 @@ export const ORDERS_MEASURES_MAP = {
3647
4220
  decimalPlaces: 2,
3648
4221
  useCompactNotation: false,
3649
4222
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3650
- tooltip: 'What percentage of your gross margin (CM1) is spent on advertising. Lower is better.',
3651
- formulaDisplay: '(Total Ad Spend ÷ CM1) × 100',
3652
- formula: '(spend / cm1) * 100',
4223
+ tooltip: 'Gross margin (CM1) as a percentage of ad spend. Higher is better.',
4224
+ formulaDisplay: '(CM1 ÷ Total Ad Spend) × 100',
4225
+ formula: '(cm1 / spend) * 100',
3653
4226
  },
3654
4227
  [MEASURE.ORDERS_CM2_MER]: {
3655
4228
  priority: 62,
@@ -3668,9 +4241,9 @@ export const ORDERS_MEASURES_MAP = {
3668
4241
  decimalPlaces: 2,
3669
4242
  useCompactNotation: false,
3670
4243
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3671
- tooltip: 'What percentage of your contribution margin after variable costs (CM2) is spent on advertising.',
3672
- formulaDisplay: '(Total Ad Spend ÷ CM2) × 100',
3673
- formula: '(spend / cm2) * 100',
4244
+ tooltip: 'Contribution margin after variable costs (CM2) as a percentage of ad spend. Higher is better.',
4245
+ formulaDisplay: '(CM2 ÷ Total Ad Spend) × 100',
4246
+ formula: '(cm2 / spend) * 100',
3674
4247
  },
3675
4248
  [MEASURE.ORDERS_CM3_MER]: {
3676
4249
  priority: 63,
@@ -3689,9 +4262,9 @@ export const ORDERS_MEASURES_MAP = {
3689
4262
  decimalPlaces: 2,
3690
4263
  useCompactNotation: false,
3691
4264
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3692
- tooltip: 'What percentage of your contribution margin after all costs (CM3) is spent on advertising.',
3693
- formulaDisplay: '(Total Ad Spend ÷ CM3) × 100',
3694
- formula: '(spend / cm3) * 100',
4265
+ tooltip: 'Contribution margin after marketing and ad spend (CM3) as a percentage of ad spend. Higher is better.',
4266
+ formulaDisplay: '(CM3 ÷ Total Ad Spend) × 100',
4267
+ formula: '(cm3 / spend) * 100',
3695
4268
  },
3696
4269
  [MEASURE.ORDERS_NEW_CUSTOMER_CM1_MER]: {
3697
4270
  priority: 64,
@@ -3709,9 +4282,9 @@ export const ORDERS_MEASURES_MAP = {
3709
4282
  decimalPlaces: 2,
3710
4283
  useCompactNotation: false,
3711
4284
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3712
- tooltip: 'What percentage of new customer gross margin (CM1) is spent on advertising.',
3713
- formulaDisplay: '(Ad Spend ÷ NC CM1) × 100',
3714
- formula: '(spend / nc_cm1) * 100',
4285
+ tooltip: 'New customer gross margin (CM1) as a percentage of ad spend. Higher is better.',
4286
+ formulaDisplay: '(NC CM1 ÷ Ad Spend) × 100',
4287
+ formula: '(nc_cm1 / spend) * 100',
3715
4288
  },
3716
4289
  [MEASURE.ORDERS_NEW_CUSTOMER_CM2_MER]: {
3717
4290
  priority: 65,
@@ -3729,9 +4302,9 @@ export const ORDERS_MEASURES_MAP = {
3729
4302
  decimalPlaces: 2,
3730
4303
  useCompactNotation: false,
3731
4304
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3732
- tooltip: 'What percentage of new customer contribution margin after variable costs (CM2) is spent on advertising.',
3733
- formulaDisplay: '(Ad Spend ÷ NC CM2) × 100',
3734
- formula: '(spend / nc_cm2) * 100',
4305
+ tooltip: 'New customer contribution margin after variable costs (CM2) as a percentage of ad spend. Higher is better.',
4306
+ formulaDisplay: '(NC CM2 ÷ Ad Spend) × 100',
4307
+ formula: '(nc_cm2 / spend) * 100',
3735
4308
  },
3736
4309
  [MEASURE.ORDERS_NEW_CUSTOMER_CM3_MER]: {
3737
4310
  priority: 66,
@@ -3749,9 +4322,9 @@ export const ORDERS_MEASURES_MAP = {
3749
4322
  decimalPlaces: 2,
3750
4323
  useCompactNotation: false,
3751
4324
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3752
- tooltip: 'What percentage of new customer contribution margin after all costs (CM3) is spent on advertising.',
3753
- formulaDisplay: '(Ad Spend ÷ NC CM3) × 100',
3754
- formula: '(spend / nc_cm3) * 100',
4325
+ tooltip: 'NC CM3 as a percentage of ad spend. Higher is better.',
4326
+ formulaDisplay: '(NC CM3 ÷ Ad Spend) × 100',
4327
+ formula: '(nc_cm3 / spend) * 100',
3755
4328
  },
3756
4329
  [MEASURE.ORDERS_RETURNING_CUSTOMER_CM1_MER]: {
3757
4330
  priority: 67,
@@ -3769,9 +4342,9 @@ export const ORDERS_MEASURES_MAP = {
3769
4342
  decimalPlaces: 2,
3770
4343
  useCompactNotation: false,
3771
4344
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3772
- tooltip: 'What percentage of returning customer gross margin (CM1) is spent on advertising.',
3773
- formulaDisplay: '(Ad Spend ÷ RC CM1) × 100',
3774
- formula: '(spend / rc_cm1) * 100',
4345
+ tooltip: 'Returning customer gross margin (CM1) as a percentage of ad spend. Higher is better.',
4346
+ formulaDisplay: '(RC CM1 ÷ Ad Spend) × 100',
4347
+ formula: '(rc_cm1 / spend) * 100',
3775
4348
  },
3776
4349
  [MEASURE.ORDERS_RETURNING_CUSTOMER_CM2_MER]: {
3777
4350
  priority: 68,
@@ -3789,9 +4362,9 @@ export const ORDERS_MEASURES_MAP = {
3789
4362
  decimalPlaces: 2,
3790
4363
  useCompactNotation: false,
3791
4364
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3792
- tooltip: 'What percentage of returning customer contribution margin after variable costs (CM2) is spent on advertising.',
3793
- formulaDisplay: '(Ad Spend ÷ RC CM2) × 100',
3794
- formula: '(spend / rc_cm2) * 100',
4365
+ tooltip: 'Returning customer contribution margin after variable costs (CM2) as a percentage of ad spend. Higher is better.',
4366
+ formulaDisplay: '(RC CM2 ÷ Ad Spend) × 100',
4367
+ formula: '(rc_cm2 / spend) * 100',
3795
4368
  },
3796
4369
  [MEASURE.ORDERS_RETURNING_CUSTOMER_CM3_MER]: {
3797
4370
  priority: 69,
@@ -3809,9 +4382,131 @@ export const ORDERS_MEASURES_MAP = {
3809
4382
  decimalPlaces: 2,
3810
4383
  useCompactNotation: false,
3811
4384
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
3812
- tooltip: 'What percentage of returning customer contribution margin after all costs (CM3) is spent on advertising.',
3813
- formulaDisplay: '(Ad Spend ÷ RC CM3) × 100',
3814
- formula: '(spend / rc_cm3) * 100',
4385
+ tooltip: 'Returning customer contribution margin after marketing and ad spend (CM3) as a percentage of ad spend. Higher is better.',
4386
+ formulaDisplay: '(RC CM3 ÷ Ad Spend) × 100',
4387
+ formula: '(rc_cm3 / spend) * 100',
4388
+ },
4389
+ [MEASURE.ORDERS_CM4_ROAS]: {
4390
+ priority: 70,
4391
+ hideFromUI: true,
4392
+ title: 'CM4 ROAS',
4393
+ shortTitle: 'CM4 ROAS',
4394
+ description: 'CM4 (Operating Profit) divided by Total Ad Spend.',
4395
+ sumPrefix: '',
4396
+ sumSuffix: 'x',
4397
+ avgPrefix: '',
4398
+ avgSuffix: 'x',
4399
+ icon: MEASURE_ICON.CHANNEL,
4400
+ measure: MEASURE.ORDERS_CM4_ROAS,
4401
+ category: MEASURE_CATEGORY.ORDERS_AD_PERFORMANCE,
4402
+ valueType: MeasureValueType.MULTIPLIER,
4403
+ decimalPlaces: 2,
4404
+ useCompactNotation: false,
4405
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4406
+ tooltip: 'How much operating profit (CM4) you earn for every dollar spent on advertising. CM4 includes all costs: COGS, fulfillment, transaction, marketing, ad spend, agency fees, opex, and other costs.',
4407
+ formulaDisplay: 'CM4 ÷ Total Ad Spend',
4408
+ formula: 'cm4 / spend',
4409
+ },
4410
+ [MEASURE.ORDERS_NEW_CUSTOMER_CM4_ROAS]: {
4411
+ priority: 71,
4412
+ title: 'New Customer CM4 ROAS',
4413
+ shortTitle: 'NC CM4 ROAS',
4414
+ description: 'New Customer CM4 (Operating Profit) divided by Ad Spend.',
4415
+ sumPrefix: '',
4416
+ sumSuffix: 'x',
4417
+ avgPrefix: '',
4418
+ avgSuffix: 'x',
4419
+ icon: MEASURE_ICON.CHANNEL,
4420
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_CM4_ROAS,
4421
+ category: MEASURE_CATEGORY.ORDERS_AD_PERFORMANCE,
4422
+ valueType: MeasureValueType.MULTIPLIER,
4423
+ decimalPlaces: 2,
4424
+ useCompactNotation: false,
4425
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4426
+ tooltip: 'New customer operating profit (CM4) per dollar spent on advertising.',
4427
+ formulaDisplay: 'NC CM4 ÷ Ad Spend',
4428
+ formula: 'nc_cm4 / spend',
4429
+ },
4430
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_CM4_ROAS]: {
4431
+ priority: 72,
4432
+ title: 'Returning Customer CM4 ROAS',
4433
+ shortTitle: 'RC CM4 ROAS',
4434
+ description: 'Returning Customer CM4 (Operating Profit) divided by Ad Spend.',
4435
+ sumPrefix: '',
4436
+ sumSuffix: 'x',
4437
+ avgPrefix: '',
4438
+ avgSuffix: 'x',
4439
+ icon: MEASURE_ICON.CHANNEL,
4440
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM4_ROAS,
4441
+ category: MEASURE_CATEGORY.ORDERS_AD_PERFORMANCE,
4442
+ valueType: MeasureValueType.MULTIPLIER,
4443
+ decimalPlaces: 2,
4444
+ useCompactNotation: false,
4445
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4446
+ tooltip: 'Returning customer operating profit (CM4) per dollar spent on advertising.',
4447
+ formulaDisplay: 'RC CM4 ÷ Ad Spend',
4448
+ formula: 'rc_cm4 / spend',
4449
+ },
4450
+ [MEASURE.ORDERS_CM4_MER]: {
4451
+ priority: 73,
4452
+ hideFromUI: true,
4453
+ title: 'CM4 MER',
4454
+ shortTitle: 'CM4 MER',
4455
+ description: 'Marketing Efficiency Ratio using CM4 (Operating Profit).',
4456
+ sumPrefix: '',
4457
+ sumSuffix: '%',
4458
+ avgPrefix: '',
4459
+ avgSuffix: '%',
4460
+ icon: MEASURE_ICON.CHANNEL,
4461
+ measure: MEASURE.ORDERS_CM4_MER,
4462
+ category: MEASURE_CATEGORY.ORDERS_AD_PERFORMANCE,
4463
+ valueType: MeasureValueType.PERCENTAGE,
4464
+ decimalPlaces: 2,
4465
+ useCompactNotation: false,
4466
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4467
+ tooltip: 'Operating profit (CM4) as a percentage of ad spend. CM4 includes all costs: COGS, fulfillment, transaction, marketing, ad spend, agency fees, opex, and other costs. Higher is better.',
4468
+ formulaDisplay: '(CM4 ÷ Total Ad Spend) × 100',
4469
+ formula: '(cm4 / spend) * 100',
4470
+ },
4471
+ [MEASURE.ORDERS_NEW_CUSTOMER_CM4_MER]: {
4472
+ priority: 74,
4473
+ title: 'New Customer CM4 MER',
4474
+ shortTitle: 'NC CM4 MER',
4475
+ description: 'Marketing Efficiency Ratio using New Customer CM4.',
4476
+ sumPrefix: '',
4477
+ sumSuffix: '%',
4478
+ avgPrefix: '',
4479
+ avgSuffix: '%',
4480
+ icon: MEASURE_ICON.CHANNEL,
4481
+ measure: MEASURE.ORDERS_NEW_CUSTOMER_CM4_MER,
4482
+ category: MEASURE_CATEGORY.ORDERS_AD_PERFORMANCE,
4483
+ valueType: MeasureValueType.PERCENTAGE,
4484
+ decimalPlaces: 2,
4485
+ useCompactNotation: false,
4486
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4487
+ tooltip: 'New customer operating profit (CM4) as a percentage of ad spend. Higher is better.',
4488
+ formulaDisplay: '(NC CM4 ÷ Ad Spend) × 100',
4489
+ formula: '(nc_cm4 / spend) * 100',
4490
+ },
4491
+ [MEASURE.ORDERS_RETURNING_CUSTOMER_CM4_MER]: {
4492
+ priority: 75,
4493
+ title: 'Returning Customer CM4 MER',
4494
+ shortTitle: 'RC CM4 MER',
4495
+ description: 'Marketing Efficiency Ratio using Returning Customer CM4.',
4496
+ sumPrefix: '',
4497
+ sumSuffix: '%',
4498
+ avgPrefix: '',
4499
+ avgSuffix: '%',
4500
+ icon: MEASURE_ICON.CHANNEL,
4501
+ measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM4_MER,
4502
+ category: MEASURE_CATEGORY.ORDERS_AD_PERFORMANCE,
4503
+ valueType: MeasureValueType.PERCENTAGE,
4504
+ decimalPlaces: 2,
4505
+ useCompactNotation: false,
4506
+ applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4507
+ tooltip: 'Returning customer operating profit (CM4) as a percentage of ad spend. Higher is better.',
4508
+ formulaDisplay: '(RC CM4 ÷ Ad Spend) × 100',
4509
+ formula: '(rc_cm4 / spend) * 100',
3815
4510
  },
3816
4511
  [MEASURE.ORDERS_TOTAL_RAAD]: {
3817
4512
  priority: 71,
@@ -4178,21 +4873,22 @@ export const ORDERS_MEASURES_MAP = {
4178
4873
  hideFromUI: true,
4179
4874
  title: 'Contribution Margin 2',
4180
4875
  shortTitle: 'CM2',
4181
- description: 'CM1 minus variable costs (handling, gateway, shipping, other).',
4876
+ description: 'CM1 minus fulfillment and transaction costs.',
4182
4877
  sumPrefix: '$',
4183
4878
  sumSuffix: '',
4184
4879
  avgPrefix: '$',
4185
4880
  avgSuffix: '',
4186
- icon: MEASURE_ICON.CHANNEL,
4881
+ icon: MEASURE_ICON.UPSTACK,
4187
4882
  measure: MEASURE.ORDERS_CM2,
4188
4883
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4884
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4189
4885
  valueType: MeasureValueType.CURRENCY,
4190
4886
  decimalPlaces: 2,
4191
4887
  useCompactNotation: true,
4192
4888
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4193
- tooltip: 'Profit after deducting variable order costs (handling, gateway, shipping, other).',
4194
- formulaDisplay: '(CM1) − (Handling Cost) (Gateway Cost) − (Shipping Cost) (Other Cost)',
4195
- formula: '(cm1) - (handling_cost) - (gateway_cost) - (shipping_cost) - (other_cost)',
4889
+ tooltip: 'Profit after deducting fulfillment costs (shipping, handling, other fulfillment) and transaction costs (gateway, other transaction).',
4890
+ formulaDisplay: 'CM1 − (Shipping Cost + Handling Cost + Other Fulfillment) − (Gateway Cost + Other Transaction)',
4891
+ formula: 'cm1 - shipping_cost - handling_cost - other_fulfillment_cost - gateway_cost - other_transaction_cost',
4196
4892
  },
4197
4893
  [MEASURE.ORDERS_CM2_PERCENT]: {
4198
4894
  priority: 32,
@@ -4204,14 +4900,15 @@ export const ORDERS_MEASURES_MAP = {
4204
4900
  sumSuffix: '%',
4205
4901
  avgPrefix: '',
4206
4902
  avgSuffix: '%',
4207
- icon: MEASURE_ICON.CHANNEL,
4903
+ icon: MEASURE_ICON.UPSTACK,
4208
4904
  measure: MEASURE.ORDERS_CM2_PERCENT,
4209
4905
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4906
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4210
4907
  valueType: MeasureValueType.PERCENTAGE,
4211
4908
  decimalPlaces: 2,
4212
4909
  useCompactNotation: false,
4213
4910
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4214
- tooltip: 'What percentage of net revenue remains after product and variable costs.',
4911
+ tooltip: 'What percentage of net revenue remains after COGS, fulfillment, and transaction costs.',
4215
4912
  formulaDisplay: '(CM2) ÷ (Net Revenue) × 100',
4216
4913
  formula: '((cm2) / (net_revenue)) * 100',
4217
4914
  },
@@ -4219,21 +4916,21 @@ export const ORDERS_MEASURES_MAP = {
4219
4916
  priority: 12,
4220
4917
  title: 'New Customer Contribution Margin 2',
4221
4918
  shortTitle: 'NC CM2',
4222
- description: 'New customer CM1 minus variable costs (handling, gateway, shipping, other).',
4919
+ description: 'New customer CM1 minus fulfillment and transaction costs.',
4223
4920
  sumPrefix: '$',
4224
4921
  sumSuffix: '',
4225
4922
  avgPrefix: '$',
4226
4923
  avgSuffix: '',
4227
- icon: MEASURE_ICON.SHOPIFY,
4924
+ icon: MEASURE_ICON.UPSTACK,
4228
4925
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM2,
4229
4926
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4927
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4230
4928
  valueType: MeasureValueType.CURRENCY,
4231
4929
  decimalPlaces: 2,
4232
4930
  useCompactNotation: true,
4233
4931
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4234
- tooltip: 'Profit from new customers after deducting variable order costs (handling, gateway, shipping, other).',
4235
- formulaDisplay: '(NC CM1) − (Handling Cost) (Gateway Cost) − (Shipping Cost) (Other Cost)',
4236
- formula: '(nc_cm1) - (nc_handling_cost) - (nc_gateway_cost) - (nc_shipping_cost) - (nc_other_cost)',
4932
+ tooltip: 'Profit from new customers after deducting fulfillment and transaction costs.',
4933
+ formulaDisplay: 'NC CM1 − (NC Shipping + NC Handling + NC Other Fulfillment) − (NC Gateway + NC Other Transaction)',
4237
4934
  },
4238
4935
  [MEASURE.ORDERS_NEW_CUSTOMER_CM2_PERCENT]: {
4239
4936
  priority: 36,
@@ -4244,14 +4941,15 @@ export const ORDERS_MEASURES_MAP = {
4244
4941
  sumSuffix: '%',
4245
4942
  avgPrefix: '',
4246
4943
  avgSuffix: '%',
4247
- icon: MEASURE_ICON.SHOPIFY,
4944
+ icon: MEASURE_ICON.UPSTACK,
4248
4945
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM2_PERCENT,
4249
4946
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4947
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4250
4948
  valueType: MeasureValueType.PERCENTAGE,
4251
4949
  decimalPlaces: 2,
4252
4950
  useCompactNotation: false,
4253
4951
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4254
- tooltip: 'What percentage of new customer net revenue remains after variable costs.',
4952
+ tooltip: 'What percentage of new customer net revenue remains after fulfillment and transaction costs.',
4255
4953
  formulaDisplay: '(NC CM2) ÷ (NC Net Revenue) × 100',
4256
4954
  formula: '((nc_cm2) / (nc_net_revenue)) * 100',
4257
4955
  },
@@ -4259,21 +4957,21 @@ export const ORDERS_MEASURES_MAP = {
4259
4957
  priority: 22,
4260
4958
  title: 'Returning Customer Contribution Margin 2',
4261
4959
  shortTitle: 'RC CM2',
4262
- description: 'Returning customer CM1 minus variable costs (handling, gateway, shipping, other).',
4960
+ description: 'Returning customer CM1 minus fulfillment and transaction costs.',
4263
4961
  sumPrefix: '$',
4264
4962
  sumSuffix: '',
4265
4963
  avgPrefix: '$',
4266
4964
  avgSuffix: '',
4267
- icon: MEASURE_ICON.SHOPIFY,
4965
+ icon: MEASURE_ICON.UPSTACK,
4268
4966
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM2,
4269
4967
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4968
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4270
4969
  valueType: MeasureValueType.CURRENCY,
4271
4970
  decimalPlaces: 2,
4272
4971
  useCompactNotation: true,
4273
4972
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4274
- tooltip: 'Profit from returning customers after deducting variable order costs (handling, gateway, shipping, other).',
4275
- formulaDisplay: '(RC CM1) − (Handling Cost) (Gateway Cost) − (Shipping Cost) (Other Cost)',
4276
- formula: '(rc_cm1) - (rc_handling_cost) - (rc_gateway_cost) - (rc_shipping_cost) - (rc_other_cost)',
4973
+ tooltip: 'Profit from returning customers after deducting fulfillment and transaction costs.',
4974
+ formulaDisplay: 'RC CM1 − (RC Shipping + RC Handling + RC Other Fulfillment) − (RC Gateway + RC Other Transaction)',
4277
4975
  },
4278
4976
  [MEASURE.ORDERS_RETURNING_CUSTOMER_CM2_PERCENT]: {
4279
4977
  priority: 40,
@@ -4284,14 +4982,15 @@ export const ORDERS_MEASURES_MAP = {
4284
4982
  sumSuffix: '%',
4285
4983
  avgPrefix: '',
4286
4984
  avgSuffix: '%',
4287
- icon: MEASURE_ICON.SHOPIFY,
4985
+ icon: MEASURE_ICON.UPSTACK,
4288
4986
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM2_PERCENT,
4289
4987
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4988
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4290
4989
  valueType: MeasureValueType.PERCENTAGE,
4291
4990
  decimalPlaces: 2,
4292
4991
  useCompactNotation: false,
4293
4992
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4294
- tooltip: 'What percentage of returning customer net revenue remains after variable costs.',
4993
+ tooltip: 'What percentage of returning customer net revenue remains after fulfillment and transaction costs.',
4295
4994
  formulaDisplay: '(RC CM2) ÷ (RC Net Revenue) × 100',
4296
4995
  formula: '((rc_cm2) / (rc_net_revenue)) * 100',
4297
4996
  },
@@ -4300,21 +4999,22 @@ export const ORDERS_MEASURES_MAP = {
4300
4999
  hideFromUI: true,
4301
5000
  title: 'Contribution Margin 3',
4302
5001
  shortTitle: 'CM3',
4303
- description: 'CM2 minus ad spend.',
5002
+ description: 'CM2 minus marketing costs (ad spend plus user-defined marketing).',
4304
5003
  sumPrefix: '$',
4305
5004
  sumSuffix: '',
4306
5005
  avgPrefix: '$',
4307
5006
  avgSuffix: '',
4308
- icon: MEASURE_ICON.CHANNEL,
5007
+ icon: MEASURE_ICON.UPSTACK,
4309
5008
  measure: MEASURE.ORDERS_CM3,
4310
5009
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5010
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4311
5011
  valueType: MeasureValueType.CURRENCY,
4312
5012
  decimalPlaces: 2,
4313
5013
  useCompactNotation: true,
4314
5014
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4315
- tooltip: 'Profit after all variable costs including advertising. Key metric for marketing profitability.',
4316
- formulaDisplay: '(CM2)(Ad Spend)',
4317
- formula: '(cm2) - (blended_ad_spend)',
5015
+ tooltip: 'Profit after all marketing costs. Includes ad spend and user-defined marketing costs. Key metric for marketing profitability.',
5016
+ formulaDisplay: 'CM2 − Marketing Cost − Ad Spend',
5017
+ formula: 'cm2 - marketing_cost - ad_spend',
4318
5018
  },
4319
5019
  [MEASURE.ORDERS_CM3_PERCENT]: {
4320
5020
  priority: 33,
@@ -4326,14 +5026,15 @@ export const ORDERS_MEASURES_MAP = {
4326
5026
  sumSuffix: '%',
4327
5027
  avgPrefix: '',
4328
5028
  avgSuffix: '%',
4329
- icon: MEASURE_ICON.CHANNEL,
5029
+ icon: MEASURE_ICON.UPSTACK,
4330
5030
  measure: MEASURE.ORDERS_CM3_PERCENT,
4331
5031
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5032
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4332
5033
  valueType: MeasureValueType.PERCENTAGE,
4333
5034
  decimalPlaces: 2,
4334
5035
  useCompactNotation: false,
4335
5036
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4336
- tooltip: 'What percentage of net revenue remains after all variable costs including advertising.',
5037
+ tooltip: 'What percentage of net revenue remains after marketing and ad spend.',
4337
5038
  formulaDisplay: '(CM3) ÷ (Net Revenue) × 100',
4338
5039
  formula: '((cm3) / (net_revenue)) * 100',
4339
5040
  },
@@ -4341,21 +5042,21 @@ export const ORDERS_MEASURES_MAP = {
4341
5042
  priority: 13,
4342
5043
  title: 'New Customer Contribution Margin 3',
4343
5044
  shortTitle: 'NC CM3',
4344
- description: 'New customer CM2 minus ad spend.',
5045
+ description: 'New customer CM2 minus marketing costs.',
4345
5046
  sumPrefix: '$',
4346
5047
  sumSuffix: '',
4347
5048
  avgPrefix: '$',
4348
5049
  avgSuffix: '',
4349
- icon: MEASURE_ICON.SHOPIFY,
5050
+ icon: MEASURE_ICON.UPSTACK,
4350
5051
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM3,
4351
5052
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5053
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4352
5054
  valueType: MeasureValueType.CURRENCY,
4353
5055
  decimalPlaces: 2,
4354
5056
  useCompactNotation: true,
4355
5057
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4356
- tooltip: 'Profit from new customers after subtracting all variable costs including advertising.',
4357
- formulaDisplay: '(NC CM2)(Ad Spend)',
4358
- formula: '(nc_cm2) - (nc_ad_spend)',
5058
+ tooltip: 'Profit from new customers after deducting marketing costs (ad spend plus user-defined marketing).',
5059
+ formulaDisplay: 'NC CM2 − NC Marketing Cost − NC Ad Spend',
4359
5060
  },
4360
5061
  [MEASURE.ORDERS_NEW_CUSTOMER_CM3_PERCENT]: {
4361
5062
  priority: 37,
@@ -4366,14 +5067,15 @@ export const ORDERS_MEASURES_MAP = {
4366
5067
  sumSuffix: '%',
4367
5068
  avgPrefix: '',
4368
5069
  avgSuffix: '%',
4369
- icon: MEASURE_ICON.SHOPIFY,
5070
+ icon: MEASURE_ICON.UPSTACK,
4370
5071
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM3_PERCENT,
4371
5072
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5073
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4372
5074
  valueType: MeasureValueType.PERCENTAGE,
4373
5075
  decimalPlaces: 2,
4374
5076
  useCompactNotation: false,
4375
5077
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4376
- tooltip: 'What percentage of new customer net revenue remains after all variable costs.',
5078
+ tooltip: 'What percentage of new customer net revenue remains after marketing and ad spend.',
4377
5079
  formulaDisplay: '(NC CM3) ÷ (NC Net Revenue) × 100',
4378
5080
  formula: '((nc_cm3) / (nc_net_revenue)) * 100',
4379
5081
  },
@@ -4381,21 +5083,21 @@ export const ORDERS_MEASURES_MAP = {
4381
5083
  priority: 23,
4382
5084
  title: 'Returning Customer Contribution Margin 3',
4383
5085
  shortTitle: 'RC CM3',
4384
- description: 'Returning customer CM2 minus ad spend.',
5086
+ description: 'Returning customer CM2 minus marketing costs.',
4385
5087
  sumPrefix: '$',
4386
5088
  sumSuffix: '',
4387
5089
  avgPrefix: '$',
4388
5090
  avgSuffix: '',
4389
- icon: MEASURE_ICON.SHOPIFY,
5091
+ icon: MEASURE_ICON.UPSTACK,
4390
5092
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM3,
4391
5093
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5094
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4392
5095
  valueType: MeasureValueType.CURRENCY,
4393
5096
  decimalPlaces: 2,
4394
5097
  useCompactNotation: true,
4395
5098
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4396
- tooltip: 'Profit from returning customers after subtracting all variable costs including advertising.',
4397
- formulaDisplay: '(RC CM2)(Ad Spend)',
4398
- formula: '(rc_cm2) - (rc_ad_spend)',
5099
+ tooltip: 'Profit from returning customers after deducting marketing costs (ad spend plus user-defined marketing).',
5100
+ formulaDisplay: 'RC CM2 − RC Marketing Cost − RC Ad Spend',
4399
5101
  },
4400
5102
  [MEASURE.ORDERS_RETURNING_CUSTOMER_CM3_PERCENT]: {
4401
5103
  priority: 41,
@@ -4406,14 +5108,15 @@ export const ORDERS_MEASURES_MAP = {
4406
5108
  sumSuffix: '%',
4407
5109
  avgPrefix: '',
4408
5110
  avgSuffix: '%',
4409
- icon: MEASURE_ICON.SHOPIFY,
5111
+ icon: MEASURE_ICON.UPSTACK,
4410
5112
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM3_PERCENT,
4411
5113
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5114
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4412
5115
  valueType: MeasureValueType.PERCENTAGE,
4413
5116
  decimalPlaces: 2,
4414
5117
  useCompactNotation: false,
4415
5118
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4416
- tooltip: 'What percentage of returning customer net revenue remains after all variable costs.',
5119
+ tooltip: 'What percentage of returning customer net revenue remains after marketing and ad spend.',
4417
5120
  formulaDisplay: '(RC CM3) ÷ (RC Net Revenue) × 100',
4418
5121
  formula: '((rc_cm3) / (rc_net_revenue)) * 100',
4419
5122
  },
@@ -4422,21 +5125,22 @@ export const ORDERS_MEASURES_MAP = {
4422
5125
  hideFromUI: true,
4423
5126
  title: 'CM4 (Operating Profit)',
4424
5127
  shortTitle: 'CM4',
4425
- description: 'CM3 minus Fixed Costs. Your operating profit after all variable and fixed costs.',
5128
+ description: 'CM3 minus agency fees, opex, and other costs. Your operating profit.',
4426
5129
  sumPrefix: '$',
4427
5130
  sumSuffix: '',
4428
5131
  avgPrefix: '$',
4429
5132
  avgSuffix: '',
4430
- icon: MEASURE_ICON.CHANNEL,
5133
+ icon: MEASURE_ICON.UPSTACK,
4431
5134
  measure: MEASURE.ORDERS_CM4,
4432
5135
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5136
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4433
5137
  valueType: MeasureValueType.CURRENCY,
4434
5138
  decimalPlaces: 2,
4435
5139
  useCompactNotation: true,
4436
5140
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4437
- tooltip: 'CM4 is your operating profit after all costs. Calculated as CM3 (profit after marketing) minus Fixed Costs (salaries, software, rent).',
4438
- formulaDisplay: '(CM3)(Fixed Costs)',
4439
- formula: '(cm3) - (fixed_costs)',
5141
+ tooltip: 'Operating profit after all costs. Calculated as CM3 minus agency fees, operating expenses, and other costs.',
5142
+ formulaDisplay: 'CM3 − Agency Fees − Opex − Other Cost',
5143
+ formula: 'cm3 - agency_fees_cost - opex_cost - other_cost',
4440
5144
  },
4441
5145
  [MEASURE.ORDERS_CM4_PERCENT]: {
4442
5146
  priority: 34,
@@ -4448,36 +5152,36 @@ export const ORDERS_MEASURES_MAP = {
4448
5152
  sumSuffix: '%',
4449
5153
  avgPrefix: '',
4450
5154
  avgSuffix: '%',
4451
- icon: MEASURE_ICON.CHANNEL,
5155
+ icon: MEASURE_ICON.UPSTACK,
4452
5156
  measure: MEASURE.ORDERS_CM4_PERCENT,
4453
5157
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5158
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4454
5159
  valueType: MeasureValueType.PERCENTAGE,
4455
5160
  decimalPlaces: 2,
4456
5161
  useCompactNotation: false,
4457
5162
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4458
- tooltip: 'What percentage of net revenue becomes operating profit. The ultimate efficiency metric showing profitability after all variable and fixed costs.',
4459
- formulaDisplay: '((CM4) ÷ (Net Revenue)) × 100',
4460
- formula: '((cm4) / (net_revenue)) * 100',
5163
+ tooltip: 'What percentage of net revenue becomes operating profit after agency fees, opex, and other costs.',
5164
+ formulaDisplay: 'CM4 ÷ Net Revenue × 100',
4461
5165
  },
4462
5166
  [MEASURE.ORDERS_NEW_CUSTOMER_CM4]: {
4463
5167
  priority: 14,
4464
5168
  title: 'New Customer CM4 (Operating Profit)',
4465
5169
  shortTitle: 'NC CM4',
4466
- description: 'New customer CM3 minus Fixed Costs. Operating profit from new customer acquisitions.',
5170
+ description: 'New customer CM3 minus agency fees, opex, and other costs.',
4467
5171
  sumPrefix: '$',
4468
5172
  sumSuffix: '',
4469
5173
  avgPrefix: '$',
4470
5174
  avgSuffix: '',
4471
- icon: MEASURE_ICON.SHOPIFY,
5175
+ icon: MEASURE_ICON.UPSTACK,
4472
5176
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM4,
4473
5177
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5178
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4474
5179
  valueType: MeasureValueType.CURRENCY,
4475
5180
  decimalPlaces: 2,
4476
5181
  useCompactNotation: true,
4477
5182
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4478
- tooltip: 'Operating profit from new customer acquisitions after all variable and fixed costs.',
4479
- formulaDisplay: '(NC CM3)(NC Fixed Costs)',
4480
- formula: '(nc_cm3) - (nc_fixed_costs)',
5183
+ tooltip: 'Operating profit from new customer acquisitions after agency fees, opex, and other costs.',
5184
+ formulaDisplay: 'NC CM3 − NC Agency Fees − NC Opex − NC Other Cost',
4481
5185
  hideFromUI: true,
4482
5186
  },
4483
5187
  [MEASURE.ORDERS_NEW_CUSTOMER_CM4_PERCENT]: {
@@ -4489,15 +5193,16 @@ export const ORDERS_MEASURES_MAP = {
4489
5193
  sumSuffix: '%',
4490
5194
  avgPrefix: '',
4491
5195
  avgSuffix: '%',
4492
- icon: MEASURE_ICON.SHOPIFY,
5196
+ icon: MEASURE_ICON.UPSTACK,
4493
5197
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM4_PERCENT,
4494
5198
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5199
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4495
5200
  valueType: MeasureValueType.PERCENTAGE,
4496
5201
  decimalPlaces: 2,
4497
5202
  useCompactNotation: false,
4498
5203
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4499
- tooltip: 'What percentage of new customer net revenue becomes operating profit after all costs.',
4500
- formulaDisplay: '((NC CM4) ÷ (NC Net Revenue)) × 100',
5204
+ tooltip: 'What percentage of new customer net revenue becomes operating profit after all overhead costs.',
5205
+ formulaDisplay: 'NC CM4 ÷ NC Net Revenue × 100',
4501
5206
  formula: '((nc_cm4) / (nc_net_revenue)) * 100',
4502
5207
  hideFromUI: true,
4503
5208
  },
@@ -4505,21 +5210,21 @@ export const ORDERS_MEASURES_MAP = {
4505
5210
  priority: 24,
4506
5211
  title: 'Returning Customer CM4 (Operating Profit)',
4507
5212
  shortTitle: 'RC CM4',
4508
- description: 'Returning customer CM3 minus Fixed Costs. Operating profit from repeat purchases.',
5213
+ description: 'Returning customer CM3 minus agency fees, opex, and other costs.',
4509
5214
  sumPrefix: '$',
4510
5215
  sumSuffix: '',
4511
5216
  avgPrefix: '$',
4512
5217
  avgSuffix: '',
4513
- icon: MEASURE_ICON.SHOPIFY,
5218
+ icon: MEASURE_ICON.UPSTACK,
4514
5219
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM4,
4515
5220
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5221
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4516
5222
  valueType: MeasureValueType.CURRENCY,
4517
5223
  decimalPlaces: 2,
4518
5224
  useCompactNotation: true,
4519
5225
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4520
- tooltip: 'Operating profit from returning customer orders after all variable and fixed costs.',
4521
- formulaDisplay: '(RC CM3)(RC Fixed Costs)',
4522
- formula: '(rc_cm3) - (rc_fixed_costs)',
5226
+ tooltip: 'Operating profit from returning customers after agency fees, opex, and other costs.',
5227
+ formulaDisplay: 'RC CM3 − RC Agency Fees − RC Opex − RC Other Cost',
4523
5228
  hideFromUI: true,
4524
5229
  },
4525
5230
  [MEASURE.ORDERS_RETURNING_CUSTOMER_CM4_PERCENT]: {
@@ -4531,15 +5236,16 @@ export const ORDERS_MEASURES_MAP = {
4531
5236
  sumSuffix: '%',
4532
5237
  avgPrefix: '',
4533
5238
  avgSuffix: '%',
4534
- icon: MEASURE_ICON.SHOPIFY,
5239
+ icon: MEASURE_ICON.UPSTACK,
4535
5240
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM4_PERCENT,
4536
- category: MEASURE_CATEGORY.ORDERS_AD_PERFORMANCE,
5241
+ category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5242
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4537
5243
  valueType: MeasureValueType.PERCENTAGE,
4538
5244
  decimalPlaces: 2,
4539
5245
  useCompactNotation: false,
4540
5246
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4541
- tooltip: 'What percentage of returning customer net revenue becomes operating profit after all costs.',
4542
- formulaDisplay: '((RC CM4) ÷ (RC Net Revenue)) × 100',
5247
+ tooltip: 'What percentage of returning customer net revenue becomes operating profit after all overhead costs.',
5248
+ formulaDisplay: 'RC CM4 ÷ RC Net Revenue × 100',
4543
5249
  formula: '((rc_cm4) / (rc_net_revenue)) * 100',
4544
5250
  hideFromUI: true,
4545
5251
  },
@@ -4547,39 +5253,41 @@ export const ORDERS_MEASURES_MAP = {
4547
5253
  priority: 1,
4548
5254
  title: 'CM1 (Gross Margin)',
4549
5255
  shortTitle: 'CM1',
4550
- description: 'Net Revenue minus Effective COGS. Includes impact of returns/discounts.',
5256
+ description: 'Net Revenue minus Total COGS (product costs plus user-defined COGS).',
4551
5257
  sumPrefix: '$',
4552
5258
  sumSuffix: '',
4553
5259
  avgPrefix: '$',
4554
5260
  avgSuffix: '',
4555
- icon: MEASURE_ICON.CHANNEL,
5261
+ icon: MEASURE_ICON.UPSTACK,
4556
5262
  measure: MEASURE.ORDERS_CM1,
4557
5263
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5264
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4558
5265
  valueType: MeasureValueType.CURRENCY,
4559
5266
  decimalPlaces: 2,
4560
5267
  useCompactNotation: true,
4561
5268
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4562
- tooltip: 'CM1 is the conservative gross margin calculation using Net Revenue (after returns/discounts) minus Effective COGS.',
4563
- formulaDisplay: '(Net Revenue) − (Effective COGS)',
4564
- formula: '(net_revenue) - (effective_cogs)',
5269
+ tooltip: 'Gross margin calculated as Net Revenue minus Total COGS (product variant costs plus user-defined COGS entries).',
5270
+ formulaDisplay: 'Net Revenue − (COGS + Other COGS)',
5271
+ formula: 'net_revenue - cogs - other_cogs',
4565
5272
  },
4566
5273
  [MEASURE.ORDERS_CM1_PERCENT]: {
4567
5274
  priority: 31,
4568
5275
  title: 'CM1 % (Gross Margin %)',
4569
5276
  shortTitle: 'CM1 %',
4570
- description: 'CM1 as a percentage of Net Revenue. Includes impact of returns/discounts.',
5277
+ description: 'CM1 as a percentage of Net Revenue.',
4571
5278
  sumPrefix: '',
4572
5279
  sumSuffix: '%',
4573
5280
  avgPrefix: '',
4574
5281
  avgSuffix: '%',
4575
- icon: MEASURE_ICON.CHANNEL,
5282
+ icon: MEASURE_ICON.UPSTACK,
4576
5283
  measure: MEASURE.ORDERS_CM1_PERCENT,
4577
5284
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5285
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4578
5286
  valueType: MeasureValueType.PERCENTAGE,
4579
5287
  decimalPlaces: 2,
4580
5288
  useCompactNotation: false,
4581
5289
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4582
- tooltip: 'CM1 as a percentage of Net Revenue. The conservative gross margin percentage calculation.',
5290
+ tooltip: 'Gross margin percentage. What percentage of net revenue remains after deducting total COGS.',
4583
5291
  formulaDisplay: '(CM1) ÷ (Net Revenue) × 100',
4584
5292
  formula: '((cm1) / (net_revenue)) * 100',
4585
5293
  },
@@ -4587,20 +5295,21 @@ export const ORDERS_MEASURES_MAP = {
4587
5295
  priority: 11,
4588
5296
  title: 'New Customer CM1 (Gross Margin)',
4589
5297
  shortTitle: 'NC CM1',
4590
- description: 'New customer Net Revenue minus Effective COGS. Includes impact of returns/discounts.',
5298
+ description: 'New customer Net Revenue minus Total COGS. Includes impact of returns/discounts.',
4591
5299
  sumPrefix: '$',
4592
5300
  sumSuffix: '',
4593
5301
  avgPrefix: '$',
4594
5302
  avgSuffix: '',
4595
- icon: MEASURE_ICON.SHOPIFY,
5303
+ icon: MEASURE_ICON.UPSTACK,
4596
5304
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM1,
4597
5305
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5306
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4598
5307
  valueType: MeasureValueType.CURRENCY,
4599
5308
  decimalPlaces: 2,
4600
5309
  useCompactNotation: true,
4601
5310
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4602
- tooltip: 'NC CM1 is the conservative gross margin for new customers using Net Revenue minus Effective COGS.',
4603
- formulaDisplay: '(NC Net Revenue) − (NC Effective COGS)',
5311
+ tooltip: 'NC CM1 is the conservative gross margin for new customers using Net Revenue minus Total COGS.',
5312
+ formulaDisplay: '(NC Net Revenue) − (NC Total COGS)',
4604
5313
  formula: '(nc_net_revenue) - (nc_effective_cogs)',
4605
5314
  },
4606
5315
  [MEASURE.ORDERS_NEW_CUSTOMER_CM1_PERCENT]: {
@@ -4612,9 +5321,10 @@ export const ORDERS_MEASURES_MAP = {
4612
5321
  sumSuffix: '%',
4613
5322
  avgPrefix: '',
4614
5323
  avgSuffix: '%',
4615
- icon: MEASURE_ICON.SHOPIFY,
5324
+ icon: MEASURE_ICON.UPSTACK,
4616
5325
  measure: MEASURE.ORDERS_NEW_CUSTOMER_CM1_PERCENT,
4617
5326
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5327
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4618
5328
  valueType: MeasureValueType.PERCENTAGE,
4619
5329
  decimalPlaces: 2,
4620
5330
  useCompactNotation: false,
@@ -4627,20 +5337,21 @@ export const ORDERS_MEASURES_MAP = {
4627
5337
  priority: 21,
4628
5338
  title: 'Returning Customer CM1 (Gross Margin)',
4629
5339
  shortTitle: 'RC CM1',
4630
- description: 'Returning customer Net Revenue minus Effective COGS. Includes impact of returns/discounts.',
5340
+ description: 'Returning customer Net Revenue minus Total COGS. Includes impact of returns/discounts.',
4631
5341
  sumPrefix: '$',
4632
5342
  sumSuffix: '',
4633
5343
  avgPrefix: '$',
4634
5344
  avgSuffix: '',
4635
- icon: MEASURE_ICON.SHOPIFY,
5345
+ icon: MEASURE_ICON.UPSTACK,
4636
5346
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM1,
4637
5347
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5348
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4638
5349
  valueType: MeasureValueType.CURRENCY,
4639
5350
  decimalPlaces: 2,
4640
5351
  useCompactNotation: true,
4641
5352
  applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
4642
- tooltip: 'RC CM1 is the conservative gross margin for returning customers using Net Revenue minus Effective COGS.',
4643
- formulaDisplay: '(RC Net Revenue) − (RC Effective COGS)',
5353
+ tooltip: 'RC CM1 is the conservative gross margin for returning customers using Net Revenue minus Total COGS.',
5354
+ formulaDisplay: '(RC Net Revenue) − (RC Total COGS)',
4644
5355
  formula: '(rc_net_revenue) - (rc_effective_cogs)',
4645
5356
  },
4646
5357
  [MEASURE.ORDERS_RETURNING_CUSTOMER_CM1_PERCENT]: {
@@ -4652,9 +5363,10 @@ export const ORDERS_MEASURES_MAP = {
4652
5363
  sumSuffix: '%',
4653
5364
  avgPrefix: '',
4654
5365
  avgSuffix: '%',
4655
- icon: MEASURE_ICON.SHOPIFY,
5366
+ icon: MEASURE_ICON.UPSTACK,
4656
5367
  measure: MEASURE.ORDERS_RETURNING_CUSTOMER_CM1_PERCENT,
4657
5368
  category: MEASURE_CATEGORY.ORDERS_CONTRIBUTION_MARGIN,
5369
+ subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
4658
5370
  valueType: MeasureValueType.PERCENTAGE,
4659
5371
  decimalPlaces: 2,
4660
5372
  useCompactNotation: false,