@adtrackify/at-tracking-event-types 4.45.0 → 4.46.0
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.
- package/dist/cjs/__tests__/measure-alias-map.spec.js +100 -4
- package/dist/cjs/__tests__/measure-alias-map.spec.js.map +1 -1
- package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +8 -973
- package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js.map +1 -1
- package/dist/cjs/types/api/measures/definitions/measure-definitions.js +6 -6
- package/dist/cjs/types/api/measures/definitions/measure-definitions.js.map +1 -1
- package/dist/cjs/types/api/measures/definitions/orders-measure-definitions.js +33 -826
- package/dist/cjs/types/api/measures/definitions/orders-measure-definitions.js.map +1 -1
- package/dist/cjs/types/api/measures/deprecated-measures.d.ts +78 -0
- package/dist/cjs/types/api/measures/deprecated-measures.js +83 -0
- package/dist/cjs/types/api/measures/deprecated-measures.js.map +1 -0
- package/dist/cjs/types/api/measures/index.d.ts +1 -0
- package/dist/cjs/types/api/measures/index.js +1 -0
- package/dist/cjs/types/api/measures/index.js.map +1 -1
- package/dist/cjs/types/api/measures/measure-alias-map.d.ts +7 -4
- package/dist/cjs/types/api/measures/measure-alias-map.js +95 -24
- package/dist/cjs/types/api/measures/measure-alias-map.js.map +1 -1
- package/dist/cjs/types/api/measures/measures.d.ts +0 -76
- package/dist/cjs/types/api/measures/measures.js +0 -76
- package/dist/cjs/types/api/measures/measures.js.map +1 -1
- package/dist/esm/__tests__/measure-alias-map.spec.js +100 -4
- package/dist/esm/__tests__/measure-alias-map.spec.js.map +1 -1
- package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +8 -973
- package/dist/esm/types/api/measures/definitions/core-measure-definitions.js.map +1 -1
- package/dist/esm/types/api/measures/definitions/measure-definitions.js +6 -6
- package/dist/esm/types/api/measures/definitions/measure-definitions.js.map +1 -1
- package/dist/esm/types/api/measures/definitions/orders-measure-definitions.js +33 -826
- package/dist/esm/types/api/measures/definitions/orders-measure-definitions.js.map +1 -1
- package/dist/esm/types/api/measures/deprecated-measures.d.ts +78 -0
- package/dist/esm/types/api/measures/deprecated-measures.js +80 -0
- package/dist/esm/types/api/measures/deprecated-measures.js.map +1 -0
- package/dist/esm/types/api/measures/index.d.ts +1 -0
- package/dist/esm/types/api/measures/index.js +1 -0
- package/dist/esm/types/api/measures/index.js.map +1 -1
- package/dist/esm/types/api/measures/measure-alias-map.d.ts +7 -4
- package/dist/esm/types/api/measures/measure-alias-map.js +95 -24
- package/dist/esm/types/api/measures/measure-alias-map.js.map +1 -1
- package/dist/esm/types/api/measures/measures.d.ts +0 -76
- package/dist/esm/types/api/measures/measures.js +0 -76
- package/dist/esm/types/api/measures/measures.js.map +1 -1
- package/package.json +1 -1
|
@@ -601,7 +601,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
601
601
|
useCompactNotation: true,
|
|
602
602
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
603
603
|
tooltip: 'The total cost of products sold, including manufacturing or purchase costs. Subtracted from revenue to calculate gross margin.',
|
|
604
|
-
relatedMeasures: [MEASURE.
|
|
604
|
+
relatedMeasures: [MEASURE.ORDERS_CM1, MEASURE.ORDERS_COGS_PER_ORDER, MEASURE.ORDERS_COGS_GROSS_RATE],
|
|
605
605
|
},
|
|
606
606
|
[MEASURE.ORDERS_NEW_CUSTOMER_COGS]: {
|
|
607
607
|
priority: 11,
|
|
@@ -620,7 +620,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
620
620
|
useCompactNotation: true,
|
|
621
621
|
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
622
622
|
tooltip: 'Cost of goods sold for orders placed by new customers. Used to calculate new customer gross margin.',
|
|
623
|
-
relatedMeasures: [MEASURE.ORDERS_COGS, MEASURE.
|
|
623
|
+
relatedMeasures: [MEASURE.ORDERS_COGS, MEASURE.ORDERS_NEW_CUSTOMER_CM1, MEASURE.ORDERS_RETURNING_CUSTOMER_COGS],
|
|
624
624
|
},
|
|
625
625
|
[MEASURE.ORDERS_RETURNING_CUSTOMER_COGS]: {
|
|
626
626
|
priority: 21,
|
|
@@ -639,7 +639,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
639
639
|
useCompactNotation: true,
|
|
640
640
|
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
641
641
|
tooltip: 'Cost of goods sold for orders placed by returning customers. Used to calculate repeat-buyer gross margin.',
|
|
642
|
-
relatedMeasures: [MEASURE.ORDERS_COGS, MEASURE.
|
|
642
|
+
relatedMeasures: [MEASURE.ORDERS_COGS, MEASURE.ORDERS_RETURNING_CUSTOMER_CM1, MEASURE.ORDERS_NEW_CUSTOMER_COGS],
|
|
643
643
|
},
|
|
644
644
|
[MEASURE.ORDERS_COGS_PER_ORDER]: {
|
|
645
645
|
priority: 3,
|
|
@@ -660,7 +660,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
660
660
|
tooltip: 'Average product cost per order. Useful for understanding the cost structure of a typical order.',
|
|
661
661
|
formulaDisplay: 'COGS ÷ Order Count',
|
|
662
662
|
formula: 'cogs / order_count',
|
|
663
|
-
relatedMeasures: [MEASURE.ORDERS_COGS, MEASURE.
|
|
663
|
+
relatedMeasures: [MEASURE.ORDERS_COGS, MEASURE.ORDERS_CM1_PER_ORDER, MEASURE.ORDERS_NEW_CUSTOMER_COGS_PER_ORDER],
|
|
664
664
|
},
|
|
665
665
|
[MEASURE.ORDERS_NEW_CUSTOMER_COGS_PER_ORDER]: {
|
|
666
666
|
priority: 13,
|
|
@@ -706,292 +706,6 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
706
706
|
formula: 'rc_cogs / rc_order_count',
|
|
707
707
|
relatedMeasures: [MEASURE.ORDERS_COGS_PER_ORDER, MEASURE.ORDERS_NEW_CUSTOMER_COGS_PER_ORDER, MEASURE.ORDERS_RETURNING_CUSTOMER_COGS],
|
|
708
708
|
},
|
|
709
|
-
[MEASURE.ORDERS_GROSS_MARGIN]: {
|
|
710
|
-
priority: 100,
|
|
711
|
-
title: 'Gross Margin',
|
|
712
|
-
description: 'DEPRECATED: Use CM1 instead. Revenue minus COGS.',
|
|
713
|
-
sumPrefix: '$',
|
|
714
|
-
sumSuffix: '',
|
|
715
|
-
avgPrefix: '$',
|
|
716
|
-
avgSuffix: '',
|
|
717
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
718
|
-
measure: MEASURE.ORDERS_GROSS_MARGIN,
|
|
719
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
720
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
721
|
-
valueType: MeasureValueType.CURRENCY,
|
|
722
|
-
decimalPlaces: 2,
|
|
723
|
-
useCompactNotation: true,
|
|
724
|
-
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
725
|
-
tooltip: 'Gross revenue minus the cost of goods sold. Represents the profit before operating expenses.',
|
|
726
|
-
formulaDisplay: 'Gross Revenue − COGS',
|
|
727
|
-
formula: 'gross_revenue - cogs',
|
|
728
|
-
relatedMeasures: [MEASURE.ORDERS_COGS, MEASURE.ORDERS_GROSS_REVENUE, MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE, MEASURE.ORDERS_NET_MARGIN],
|
|
729
|
-
deprecated: true,
|
|
730
|
-
hideFromUI: true,
|
|
731
|
-
},
|
|
732
|
-
[MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN]: {
|
|
733
|
-
priority: 100,
|
|
734
|
-
title: 'NC Gross Margin',
|
|
735
|
-
description: 'DEPRECATED: Use CM1 instead. Gross margin from new customers.',
|
|
736
|
-
sumPrefix: '$',
|
|
737
|
-
sumSuffix: '',
|
|
738
|
-
avgPrefix: '$',
|
|
739
|
-
avgSuffix: '',
|
|
740
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
741
|
-
measure: MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN,
|
|
742
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
743
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
744
|
-
valueType: MeasureValueType.CURRENCY,
|
|
745
|
-
decimalPlaces: 2,
|
|
746
|
-
useCompactNotation: true,
|
|
747
|
-
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
748
|
-
shortTitle: 'NC Gross Margin',
|
|
749
|
-
tooltip: 'Gross revenue from new customers minus their COGS. Shows the pre-expense profit from acquisition orders.',
|
|
750
|
-
formulaDisplay: 'NC Gross Revenue − NC COGS',
|
|
751
|
-
formula: 'nc_gross_revenue - nc_cogs',
|
|
752
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN, MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN, MEASURE.ORDERS_NEW_CUSTOMER_COGS],
|
|
753
|
-
deprecated: true,
|
|
754
|
-
hideFromUI: true,
|
|
755
|
-
},
|
|
756
|
-
[MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN]: {
|
|
757
|
-
priority: 100,
|
|
758
|
-
title: 'RC Gross Margin',
|
|
759
|
-
description: 'DEPRECATED: Use CM1 instead. Gross margin from returning customers.',
|
|
760
|
-
sumPrefix: '$',
|
|
761
|
-
sumSuffix: '',
|
|
762
|
-
avgPrefix: '$',
|
|
763
|
-
avgSuffix: '',
|
|
764
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
765
|
-
measure: MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN,
|
|
766
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
767
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
768
|
-
valueType: MeasureValueType.CURRENCY,
|
|
769
|
-
decimalPlaces: 2,
|
|
770
|
-
useCompactNotation: true,
|
|
771
|
-
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
772
|
-
shortTitle: 'RC Gross Margin',
|
|
773
|
-
tooltip: 'Gross revenue from returning customers minus their COGS. Reflects the profitability of repeat business.',
|
|
774
|
-
formulaDisplay: 'RC Gross Revenue − RC COGS',
|
|
775
|
-
formula: 'rc_gross_revenue - rc_cogs',
|
|
776
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN, MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN, MEASURE.ORDERS_RETURNING_CUSTOMER_COGS],
|
|
777
|
-
deprecated: true,
|
|
778
|
-
hideFromUI: true,
|
|
779
|
-
},
|
|
780
|
-
[MEASURE.ORDERS_GROSS_MARGIN_PER_ORDER]: {
|
|
781
|
-
priority: 100,
|
|
782
|
-
title: 'Gross Margin Per Order',
|
|
783
|
-
description: 'DEPRECATED: Use CM1 instead. Average gross margin per order.',
|
|
784
|
-
sumPrefix: '$',
|
|
785
|
-
sumSuffix: '',
|
|
786
|
-
avgPrefix: '$',
|
|
787
|
-
avgSuffix: '',
|
|
788
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
789
|
-
measure: MEASURE.ORDERS_GROSS_MARGIN_PER_ORDER,
|
|
790
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
791
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
792
|
-
valueType: MeasureValueType.CURRENCY,
|
|
793
|
-
decimalPlaces: 2,
|
|
794
|
-
useCompactNotation: false,
|
|
795
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
796
|
-
shortTitle: 'Gross Margin/Ord',
|
|
797
|
-
tooltip: 'Average gross profit earned per order. Helps benchmark profitability against ad spend on a per-order basis.',
|
|
798
|
-
formulaDisplay: 'Gross Margin ÷ Order Count',
|
|
799
|
-
formula: 'gross_margin / order_count',
|
|
800
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN, MEASURE.ORDERS_NET_MARGIN_PER_ORDER, MEASURE.ORDERS_COGS_PER_ORDER],
|
|
801
|
-
deprecated: true,
|
|
802
|
-
hideFromUI: true,
|
|
803
|
-
},
|
|
804
|
-
[MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_PER_ORDER]: {
|
|
805
|
-
priority: 100,
|
|
806
|
-
title: 'NC Gross Margin Per Order',
|
|
807
|
-
description: 'DEPRECATED: Use CM1 instead. Average gross margin per order for new customers.',
|
|
808
|
-
sumPrefix: '$',
|
|
809
|
-
sumSuffix: '',
|
|
810
|
-
avgPrefix: '$',
|
|
811
|
-
avgSuffix: '',
|
|
812
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
813
|
-
measure: MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_PER_ORDER,
|
|
814
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
815
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
816
|
-
valueType: MeasureValueType.CURRENCY,
|
|
817
|
-
decimalPlaces: 2,
|
|
818
|
-
useCompactNotation: false,
|
|
819
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
820
|
-
shortTitle: 'NC GM/Order',
|
|
821
|
-
tooltip: 'Average gross profit per new customer order. Compare to CPA to evaluate first-order unit economics.',
|
|
822
|
-
formulaDisplay: 'NC Gross Margin ÷ NC Order Count',
|
|
823
|
-
formula: 'nc_gross_margin / nc_order_count',
|
|
824
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN_PER_ORDER, MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_PER_ORDER, MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN],
|
|
825
|
-
deprecated: true,
|
|
826
|
-
hideFromUI: true,
|
|
827
|
-
},
|
|
828
|
-
[MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_PER_ORDER]: {
|
|
829
|
-
priority: 100,
|
|
830
|
-
title: 'RC Gross Margin Per Order',
|
|
831
|
-
description: 'DEPRECATED: Use CM1 instead. Average gross margin per order for returning customers.',
|
|
832
|
-
sumPrefix: '$',
|
|
833
|
-
sumSuffix: '',
|
|
834
|
-
avgPrefix: '$',
|
|
835
|
-
avgSuffix: '',
|
|
836
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
837
|
-
measure: MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_PER_ORDER,
|
|
838
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
839
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
840
|
-
valueType: MeasureValueType.CURRENCY,
|
|
841
|
-
decimalPlaces: 2,
|
|
842
|
-
useCompactNotation: false,
|
|
843
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
844
|
-
shortTitle: 'RC GM/Order',
|
|
845
|
-
tooltip: 'Average gross profit per returning customer order.',
|
|
846
|
-
formulaDisplay: 'RC Gross Margin ÷ RC Order Count',
|
|
847
|
-
formula: 'rc_gross_margin / rc_order_count',
|
|
848
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN_PER_ORDER, MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_PER_ORDER, MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN],
|
|
849
|
-
deprecated: true,
|
|
850
|
-
hideFromUI: true,
|
|
851
|
-
},
|
|
852
|
-
[MEASURE.ORDERS_NET_MARGIN]: {
|
|
853
|
-
priority: 100,
|
|
854
|
-
title: 'Net Margin',
|
|
855
|
-
description: 'DEPRECATED: Use CM1 instead. Net revenue minus COGS.',
|
|
856
|
-
sumPrefix: '$',
|
|
857
|
-
sumSuffix: '',
|
|
858
|
-
avgPrefix: '$',
|
|
859
|
-
avgSuffix: '',
|
|
860
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
861
|
-
measure: MEASURE.ORDERS_NET_MARGIN,
|
|
862
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
863
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
864
|
-
valueType: MeasureValueType.CURRENCY,
|
|
865
|
-
decimalPlaces: 2,
|
|
866
|
-
useCompactNotation: true,
|
|
867
|
-
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
868
|
-
tooltip: 'Net revenue (after discounts and refunds) minus cost of goods sold. A tighter profitability view than gross margin.',
|
|
869
|
-
formulaDisplay: 'Net Revenue − COGS',
|
|
870
|
-
formula: 'net_revenue - cogs',
|
|
871
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN, MEASURE.ORDERS_NET_REVENUE, MEASURE.ORDERS_COGS, MEASURE.ORDERS_NET_MARGIN_NET_RATE],
|
|
872
|
-
deprecated: true,
|
|
873
|
-
hideFromUI: true,
|
|
874
|
-
},
|
|
875
|
-
[MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN]: {
|
|
876
|
-
priority: 100,
|
|
877
|
-
title: 'NC Net Margin',
|
|
878
|
-
description: 'DEPRECATED: Use CM1 instead. Net margin from new customers.',
|
|
879
|
-
sumPrefix: '$',
|
|
880
|
-
sumSuffix: '',
|
|
881
|
-
avgPrefix: '$',
|
|
882
|
-
avgSuffix: '',
|
|
883
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
884
|
-
measure: MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN,
|
|
885
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
886
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
887
|
-
valueType: MeasureValueType.CURRENCY,
|
|
888
|
-
decimalPlaces: 2,
|
|
889
|
-
useCompactNotation: true,
|
|
890
|
-
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
891
|
-
shortTitle: 'NC Net Margin',
|
|
892
|
-
tooltip: 'Net margin from new customer orders after discounts and refunds minus COGS.',
|
|
893
|
-
formulaDisplay: 'NC Net Revenue − NC COGS',
|
|
894
|
-
formula: 'nc_net_revenue - nc_cogs',
|
|
895
|
-
relatedMeasures: [MEASURE.ORDERS_NET_MARGIN, MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN, MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN],
|
|
896
|
-
deprecated: true,
|
|
897
|
-
hideFromUI: true,
|
|
898
|
-
},
|
|
899
|
-
[MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN]: {
|
|
900
|
-
priority: 100,
|
|
901
|
-
title: 'RC Net Margin',
|
|
902
|
-
description: 'DEPRECATED: Use CM1 instead. Net margin from returning customers.',
|
|
903
|
-
sumPrefix: '$',
|
|
904
|
-
sumSuffix: '',
|
|
905
|
-
avgPrefix: '$',
|
|
906
|
-
avgSuffix: '',
|
|
907
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
908
|
-
measure: MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN,
|
|
909
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
910
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
911
|
-
valueType: MeasureValueType.CURRENCY,
|
|
912
|
-
decimalPlaces: 2,
|
|
913
|
-
useCompactNotation: true,
|
|
914
|
-
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
915
|
-
shortTitle: 'RC Net Margin',
|
|
916
|
-
tooltip: 'Net margin from returning customer orders after discounts and refunds minus COGS.',
|
|
917
|
-
formulaDisplay: 'RC Net Revenue − RC COGS',
|
|
918
|
-
formula: 'rc_net_revenue - rc_cogs',
|
|
919
|
-
relatedMeasures: [MEASURE.ORDERS_NET_MARGIN, MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN, MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN],
|
|
920
|
-
deprecated: true,
|
|
921
|
-
hideFromUI: true,
|
|
922
|
-
},
|
|
923
|
-
[MEASURE.ORDERS_NET_MARGIN_PER_ORDER]: {
|
|
924
|
-
priority: 100,
|
|
925
|
-
title: 'Net Margin Per Order',
|
|
926
|
-
description: 'DEPRECATED: Use CM1 instead. Average net margin per order.',
|
|
927
|
-
sumPrefix: '$',
|
|
928
|
-
sumSuffix: '',
|
|
929
|
-
avgPrefix: '$',
|
|
930
|
-
avgSuffix: '',
|
|
931
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
932
|
-
measure: MEASURE.ORDERS_NET_MARGIN_PER_ORDER,
|
|
933
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
934
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
935
|
-
valueType: MeasureValueType.CURRENCY,
|
|
936
|
-
decimalPlaces: 2,
|
|
937
|
-
useCompactNotation: false,
|
|
938
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
939
|
-
shortTitle: 'Net Margin/Ord',
|
|
940
|
-
tooltip: 'Average net profit per order after discounts, refunds, and COGS.',
|
|
941
|
-
formulaDisplay: 'Net Margin ÷ Order Count',
|
|
942
|
-
formula: 'net_margin / order_count',
|
|
943
|
-
relatedMeasures: [MEASURE.ORDERS_NET_MARGIN, MEASURE.ORDERS_GROSS_MARGIN_PER_ORDER, MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_PER_ORDER],
|
|
944
|
-
deprecated: true,
|
|
945
|
-
hideFromUI: true,
|
|
946
|
-
},
|
|
947
|
-
[MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_PER_ORDER]: {
|
|
948
|
-
priority: 100,
|
|
949
|
-
title: 'NC Net Margin Per Order',
|
|
950
|
-
description: 'DEPRECATED: Use CM1 instead. Average net margin per order for new customers.',
|
|
951
|
-
sumPrefix: '$',
|
|
952
|
-
sumSuffix: '',
|
|
953
|
-
avgPrefix: '$',
|
|
954
|
-
avgSuffix: '',
|
|
955
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
956
|
-
measure: MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_PER_ORDER,
|
|
957
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
958
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
959
|
-
valueType: MeasureValueType.CURRENCY,
|
|
960
|
-
decimalPlaces: 2,
|
|
961
|
-
useCompactNotation: false,
|
|
962
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
963
|
-
shortTitle: 'NC NM/Order',
|
|
964
|
-
tooltip: 'Average net profit per new customer order. Use with CPA to evaluate whether acquisition is profitable at the first order.',
|
|
965
|
-
formulaDisplay: 'NC Net Margin ÷ NC Order Count',
|
|
966
|
-
formula: 'nc_net_margin / nc_order_count',
|
|
967
|
-
relatedMeasures: [MEASURE.ORDERS_NET_MARGIN_PER_ORDER, MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_PER_ORDER, MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN],
|
|
968
|
-
deprecated: true,
|
|
969
|
-
hideFromUI: true,
|
|
970
|
-
},
|
|
971
|
-
[MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_PER_ORDER]: {
|
|
972
|
-
priority: 100,
|
|
973
|
-
title: 'RC Net Margin Per Order',
|
|
974
|
-
description: 'DEPRECATED: Use CM1 instead. Average net margin per order for returning customers.',
|
|
975
|
-
sumPrefix: '$',
|
|
976
|
-
sumSuffix: '',
|
|
977
|
-
avgPrefix: '$',
|
|
978
|
-
avgSuffix: '',
|
|
979
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
980
|
-
measure: MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_PER_ORDER,
|
|
981
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
982
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
983
|
-
valueType: MeasureValueType.CURRENCY,
|
|
984
|
-
decimalPlaces: 2,
|
|
985
|
-
useCompactNotation: false,
|
|
986
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
987
|
-
shortTitle: 'RC NM/Order',
|
|
988
|
-
tooltip: 'Average net profit per returning customer order.',
|
|
989
|
-
formulaDisplay: 'RC Net Margin ÷ RC Order Count',
|
|
990
|
-
formula: 'rc_net_margin / rc_order_count',
|
|
991
|
-
relatedMeasures: [MEASURE.ORDERS_NET_MARGIN_PER_ORDER, MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_PER_ORDER, MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN],
|
|
992
|
-
deprecated: true,
|
|
993
|
-
hideFromUI: true,
|
|
994
|
-
},
|
|
995
709
|
[MEASURE.ORDERS_REFUNDS]: {
|
|
996
710
|
priority: 1,
|
|
997
711
|
title: 'Refunds',
|
|
@@ -1303,75 +1017,6 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
1303
1017
|
formula: 'rc_order_count / order_count * 100',
|
|
1304
1018
|
relatedMeasures: [MEASURE.ORDERS_NEW_CUSTOMER_RATE, MEASURE.ORDERS_RETURNING_CUSTOMER_COUNT, MEASURE.ORDERS_COUNT],
|
|
1305
1019
|
},
|
|
1306
|
-
[MEASURE.ORDERS_CM1_MARGIN_RATE]: {
|
|
1307
|
-
priority: 100,
|
|
1308
|
-
title: 'CM1 Rate',
|
|
1309
|
-
description: 'DEPRECATED: Use ORDERS_CM1_PERCENT instead. Contribution Margin 1 as percentage of revenue.',
|
|
1310
|
-
sumPrefix: '',
|
|
1311
|
-
sumSuffix: '%',
|
|
1312
|
-
avgPrefix: '',
|
|
1313
|
-
avgSuffix: '%',
|
|
1314
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
1315
|
-
measure: MEASURE.ORDERS_CM1_MARGIN_RATE,
|
|
1316
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
1317
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
|
|
1318
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
1319
|
-
decimalPlaces: 2,
|
|
1320
|
-
useCompactNotation: false,
|
|
1321
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
1322
|
-
tooltip: 'Contribution Margin 1 (gross margin minus variable selling costs) as a percentage of revenue. Measures product-level profitability.',
|
|
1323
|
-
formulaDisplay: 'CM1 ÷ Revenue × 100',
|
|
1324
|
-
formula: 'cm1 / revenue * 100',
|
|
1325
|
-
relatedMeasures: [MEASURE.ORDERS_CM2_MARGIN_RATE, MEASURE.ORDERS_CM3_MARGIN_RATE, MEASURE.ORDERS_CM1_PER_ORDER],
|
|
1326
|
-
deprecated: true,
|
|
1327
|
-
hideFromUI: true,
|
|
1328
|
-
},
|
|
1329
|
-
[MEASURE.ORDERS_CM2_MARGIN_RATE]: {
|
|
1330
|
-
priority: 100,
|
|
1331
|
-
title: 'CM2 Rate',
|
|
1332
|
-
description: 'Contribution Margin 2 as percentage of revenue.',
|
|
1333
|
-
sumPrefix: '',
|
|
1334
|
-
sumSuffix: '%',
|
|
1335
|
-
avgPrefix: '',
|
|
1336
|
-
avgSuffix: '%',
|
|
1337
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
1338
|
-
measure: MEASURE.ORDERS_CM2_MARGIN_RATE,
|
|
1339
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
1340
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
|
|
1341
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
1342
|
-
decimalPlaces: 2,
|
|
1343
|
-
useCompactNotation: false,
|
|
1344
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
1345
|
-
tooltip: 'Contribution Margin 2 (CM1 minus marketing costs) as a percentage of revenue. Reflects post-marketing profitability.',
|
|
1346
|
-
formulaDisplay: 'CM2 ÷ Revenue × 100',
|
|
1347
|
-
formula: 'cm2 / revenue * 100',
|
|
1348
|
-
relatedMeasures: [MEASURE.ORDERS_CM1_MARGIN_RATE, MEASURE.ORDERS_CM3_MARGIN_RATE, MEASURE.ORDERS_CM2_PER_ORDER],
|
|
1349
|
-
deprecated: true,
|
|
1350
|
-
hideFromUI: true,
|
|
1351
|
-
},
|
|
1352
|
-
[MEASURE.ORDERS_CM3_MARGIN_RATE]: {
|
|
1353
|
-
priority: 100,
|
|
1354
|
-
title: 'CM3 Rate',
|
|
1355
|
-
description: 'DEPRECATED: Use ORDERS_CM3_PERCENT instead. Contribution Margin 3 as percentage of revenue.',
|
|
1356
|
-
sumPrefix: '',
|
|
1357
|
-
sumSuffix: '%',
|
|
1358
|
-
avgPrefix: '',
|
|
1359
|
-
avgSuffix: '%',
|
|
1360
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
1361
|
-
measure: MEASURE.ORDERS_CM3_MARGIN_RATE,
|
|
1362
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
1363
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
|
|
1364
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
1365
|
-
decimalPlaces: 2,
|
|
1366
|
-
useCompactNotation: false,
|
|
1367
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
1368
|
-
tooltip: 'Contribution Margin 3 (CM2 minus additional fixed costs) as a percentage of revenue. The final contribution margin layer.',
|
|
1369
|
-
formulaDisplay: 'CM3 ÷ Revenue × 100',
|
|
1370
|
-
formula: 'cm3 / revenue * 100',
|
|
1371
|
-
relatedMeasures: [MEASURE.ORDERS_CM1_MARGIN_RATE, MEASURE.ORDERS_CM2_MARGIN_RATE, MEASURE.ORDERS_CM3_PER_ORDER],
|
|
1372
|
-
deprecated: true,
|
|
1373
|
-
hideFromUI: true,
|
|
1374
|
-
},
|
|
1375
1020
|
[MEASURE.ORDERS_CM1_PER_ORDER]: {
|
|
1376
1021
|
priority: 5,
|
|
1377
1022
|
title: 'CM1 Per Order (Gross Margin Per Order)',
|
|
@@ -1392,7 +1037,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
1392
1037
|
tooltip: 'CM1 Per Order is the conservative gross margin per order using Net Revenue minus Effective COGS.',
|
|
1393
1038
|
formulaDisplay: '(CM1) ÷ (Order Count)',
|
|
1394
1039
|
formula: '(cm1) / (order_count)',
|
|
1395
|
-
relatedMeasures: [MEASURE.
|
|
1040
|
+
relatedMeasures: [MEASURE.ORDERS_CM1_PERCENT, MEASURE.ORDERS_CM2_PER_ORDER, MEASURE.ORDERS_CM3_PER_ORDER],
|
|
1396
1041
|
},
|
|
1397
1042
|
[MEASURE.ORDERS_CM2_PER_ORDER]: {
|
|
1398
1043
|
priority: 6,
|
|
@@ -1413,7 +1058,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
1413
1058
|
tooltip: 'Average Contribution Margin 2 per order, after deducting marketing costs. Helps assess marketing efficiency at the order level.',
|
|
1414
1059
|
formulaDisplay: 'CM2 ÷ Order Count',
|
|
1415
1060
|
formula: 'cm2 / order_count',
|
|
1416
|
-
relatedMeasures: [MEASURE.
|
|
1061
|
+
relatedMeasures: [MEASURE.ORDERS_CM2_PERCENT, MEASURE.ORDERS_CM1_PER_ORDER, MEASURE.ORDERS_CM3_PER_ORDER],
|
|
1417
1062
|
},
|
|
1418
1063
|
[MEASURE.ORDERS_CM3_PER_ORDER]: {
|
|
1419
1064
|
priority: 7,
|
|
@@ -1434,7 +1079,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
1434
1079
|
tooltip: 'Average Contribution Margin 3 per order, after all layered cost deductions.',
|
|
1435
1080
|
formulaDisplay: 'CM3 ÷ Order Count',
|
|
1436
1081
|
formula: 'cm3 / order_count',
|
|
1437
|
-
relatedMeasures: [MEASURE.
|
|
1082
|
+
relatedMeasures: [MEASURE.ORDERS_CM3_PERCENT, MEASURE.ORDERS_CM1_PER_ORDER, MEASURE.ORDERS_CM2_PER_ORDER],
|
|
1438
1083
|
},
|
|
1439
1084
|
[MEASURE.ORDERS_AVG_ORDERS_PER_CUSTOMER]: {
|
|
1440
1085
|
priority: 6,
|
|
@@ -2000,7 +1645,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
2000
1645
|
hideFromUI: true,
|
|
2001
1646
|
shortTitle: 'Gross Prod. Margin',
|
|
2002
1647
|
tooltip: 'Gross margin calculated at the product level, before order-level adjustments like shipping or taxes.',
|
|
2003
|
-
relatedMeasures: [MEASURE.
|
|
1648
|
+
relatedMeasures: [MEASURE.ORDERS_CM1, MEASURE.ORDERS_NET_PRODUCT_MARGIN, MEASURE.ORDERS_GROSS_PRODUCT_MARGIN_GROSS_RATE],
|
|
2004
1649
|
},
|
|
2005
1650
|
[MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN]: {
|
|
2006
1651
|
priority: 2,
|
|
@@ -2021,7 +1666,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
2021
1666
|
hideFromUI: true,
|
|
2022
1667
|
shortTitle: 'NC Gross Prod. Mg',
|
|
2023
1668
|
tooltip: 'Product-level gross margin from new customer orders.',
|
|
2024
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PRODUCT_MARGIN, MEASURE.
|
|
1669
|
+
relatedMeasures: [MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PRODUCT_MARGIN, MEASURE.ORDERS_NEW_CUSTOMER_CM1],
|
|
2025
1670
|
},
|
|
2026
1671
|
[MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PRODUCT_MARGIN]: {
|
|
2027
1672
|
priority: 3,
|
|
@@ -2042,7 +1687,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
2042
1687
|
hideFromUI: true,
|
|
2043
1688
|
shortTitle: 'RC Gross Prod. Mg',
|
|
2044
1689
|
tooltip: 'Product-level gross margin from returning customer orders.',
|
|
2045
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN, MEASURE.
|
|
1690
|
+
relatedMeasures: [MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN, MEASURE.ORDERS_RETURNING_CUSTOMER_CM1],
|
|
2046
1691
|
},
|
|
2047
1692
|
[MEASURE.ORDERS_GROSS_PRODUCT_MARGIN_GROSS_RATE]: {
|
|
2048
1693
|
priority: 11,
|
|
@@ -2065,7 +1710,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
2065
1710
|
tooltip: 'Gross product margin as a share of gross revenue. Shows how efficiently products are priced relative to their costs.',
|
|
2066
1711
|
formulaDisplay: 'Gross Product Margin ÷ Gross Revenue × 100',
|
|
2067
1712
|
formula: 'gross_product_margin / gross_revenue * 100',
|
|
2068
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_PRODUCT_MARGIN_NET_RATE, MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, MEASURE.
|
|
1713
|
+
relatedMeasures: [MEASURE.ORDERS_GROSS_PRODUCT_MARGIN_NET_RATE, MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, MEASURE.ORDERS_CM1_PERCENT],
|
|
2069
1714
|
},
|
|
2070
1715
|
[MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_GROSS_RATE]: {
|
|
2071
1716
|
priority: 12,
|
|
@@ -2270,7 +1915,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
2270
1915
|
hideFromUI: true,
|
|
2271
1916
|
shortTitle: 'Net Prod. Margin',
|
|
2272
1917
|
tooltip: 'Net margin calculated at the product level after discounts and refunds, but before order-level fees.',
|
|
2273
|
-
relatedMeasures: [MEASURE.
|
|
1918
|
+
relatedMeasures: [MEASURE.ORDERS_CM1, MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, MEASURE.ORDERS_NET_PRODUCT_MARGIN_NET_RATE],
|
|
2274
1919
|
},
|
|
2275
1920
|
[MEASURE.ORDERS_NEW_CUSTOMER_NET_PRODUCT_MARGIN]: {
|
|
2276
1921
|
priority: 22,
|
|
@@ -2291,7 +1936,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
2291
1936
|
hideFromUI: true,
|
|
2292
1937
|
shortTitle: 'NC Net Prod. Mg',
|
|
2293
1938
|
tooltip: 'Product-level net margin from new customer orders after discounts and refunds.',
|
|
2294
|
-
relatedMeasures: [MEASURE.ORDERS_NET_PRODUCT_MARGIN, MEASURE.ORDERS_RETURNING_CUSTOMER_NET_PRODUCT_MARGIN, MEASURE.
|
|
1939
|
+
relatedMeasures: [MEASURE.ORDERS_NET_PRODUCT_MARGIN, MEASURE.ORDERS_RETURNING_CUSTOMER_NET_PRODUCT_MARGIN, MEASURE.ORDERS_NEW_CUSTOMER_CM1],
|
|
2295
1940
|
},
|
|
2296
1941
|
[MEASURE.ORDERS_RETURNING_CUSTOMER_NET_PRODUCT_MARGIN]: {
|
|
2297
1942
|
priority: 23,
|
|
@@ -2312,7 +1957,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
2312
1957
|
hideFromUI: true,
|
|
2313
1958
|
shortTitle: 'RC Net Prod. Mg',
|
|
2314
1959
|
tooltip: 'Product-level net margin from returning customer orders after discounts and refunds.',
|
|
2315
|
-
relatedMeasures: [MEASURE.ORDERS_NET_PRODUCT_MARGIN, MEASURE.ORDERS_NEW_CUSTOMER_NET_PRODUCT_MARGIN, MEASURE.
|
|
1960
|
+
relatedMeasures: [MEASURE.ORDERS_NET_PRODUCT_MARGIN, MEASURE.ORDERS_NEW_CUSTOMER_NET_PRODUCT_MARGIN, MEASURE.ORDERS_RETURNING_CUSTOMER_CM1],
|
|
2316
1961
|
},
|
|
2317
1962
|
[MEASURE.ORDERS_NET_PRODUCT_MARGIN_GROSS_RATE]: {
|
|
2318
1963
|
priority: 31,
|
|
@@ -2521,294 +2166,6 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
2521
2166
|
formula: 'rc_net_product_margin / rc_order_count',
|
|
2522
2167
|
relatedMeasures: [MEASURE.ORDERS_RETURNING_CUSTOMER_NET_PRODUCT_MARGIN, MEASURE.ORDERS_NET_PRODUCT_MARGIN_PER_ORDER, MEASURE.ORDERS_RETURNING_CUSTOMER_COUNT],
|
|
2523
2168
|
},
|
|
2524
|
-
[MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE]: {
|
|
2525
|
-
priority: 100,
|
|
2526
|
-
title: 'Gross Margin / Gross Rate',
|
|
2527
|
-
description: 'DEPRECATED: Use CM1 instead. Gross margin as percentage of gross revenue.',
|
|
2528
|
-
sumPrefix: '',
|
|
2529
|
-
sumSuffix: '%',
|
|
2530
|
-
avgPrefix: '',
|
|
2531
|
-
avgSuffix: '%',
|
|
2532
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2533
|
-
measure: MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE,
|
|
2534
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2535
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2536
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2537
|
-
decimalPlaces: 2,
|
|
2538
|
-
useCompactNotation: false,
|
|
2539
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2540
|
-
shortTitle: 'GM / Gross %',
|
|
2541
|
-
tooltip: 'Gross margin (revenue minus COGS) as a percentage of gross revenue. The standard gross margin percentage metric.',
|
|
2542
|
-
formulaDisplay: 'Gross Margin ÷ Gross Revenue × 100',
|
|
2543
|
-
formula: 'gross_margin / gross_revenue * 100',
|
|
2544
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN_NET_RATE, MEASURE.ORDERS_GROSS_MARGIN, MEASURE.ORDERS_NET_MARGIN_GROSS_RATE],
|
|
2545
|
-
deprecated: true,
|
|
2546
|
-
hideFromUI: true,
|
|
2547
|
-
},
|
|
2548
|
-
[MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_GROSS_RATE]: {
|
|
2549
|
-
priority: 100,
|
|
2550
|
-
title: 'NC Gross Margin / Gross Rate',
|
|
2551
|
-
description: 'DEPRECATED: Use CM1 instead. NC gross margin as percentage of gross revenue.',
|
|
2552
|
-
sumPrefix: '',
|
|
2553
|
-
sumSuffix: '%',
|
|
2554
|
-
avgPrefix: '',
|
|
2555
|
-
avgSuffix: '%',
|
|
2556
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2557
|
-
measure: MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_GROSS_RATE,
|
|
2558
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2559
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2560
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2561
|
-
decimalPlaces: 2,
|
|
2562
|
-
useCompactNotation: false,
|
|
2563
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2564
|
-
shortTitle: 'NC GM/Gross %',
|
|
2565
|
-
tooltip: 'New customer gross margin as a share of their gross revenue.',
|
|
2566
|
-
formulaDisplay: 'NC Gross Margin ÷ NC Gross Revenue × 100',
|
|
2567
|
-
formula: 'nc_gross_margin / nc_gross_revenue * 100',
|
|
2568
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE, MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_GROSS_RATE, MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_NET_RATE],
|
|
2569
|
-
deprecated: true,
|
|
2570
|
-
hideFromUI: true,
|
|
2571
|
-
},
|
|
2572
|
-
[MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_GROSS_RATE]: {
|
|
2573
|
-
priority: 100,
|
|
2574
|
-
title: 'RC Gross Margin / Gross Rate',
|
|
2575
|
-
description: 'DEPRECATED: Use CM1 instead. RC gross margin as percentage of gross revenue.',
|
|
2576
|
-
sumPrefix: '',
|
|
2577
|
-
sumSuffix: '%',
|
|
2578
|
-
avgPrefix: '',
|
|
2579
|
-
avgSuffix: '%',
|
|
2580
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2581
|
-
measure: MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_GROSS_RATE,
|
|
2582
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2583
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2584
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2585
|
-
decimalPlaces: 2,
|
|
2586
|
-
useCompactNotation: false,
|
|
2587
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2588
|
-
shortTitle: 'RC GM/Gross %',
|
|
2589
|
-
tooltip: 'Returning customer gross margin as a share of their gross revenue.',
|
|
2590
|
-
formulaDisplay: 'RC Gross Margin ÷ RC Gross Revenue × 100',
|
|
2591
|
-
formula: 'rc_gross_margin / rc_gross_revenue * 100',
|
|
2592
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE, MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_GROSS_RATE, MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_NET_RATE],
|
|
2593
|
-
deprecated: true,
|
|
2594
|
-
hideFromUI: true,
|
|
2595
|
-
},
|
|
2596
|
-
[MEASURE.ORDERS_GROSS_MARGIN_NET_RATE]: {
|
|
2597
|
-
priority: 100,
|
|
2598
|
-
title: 'Gross Margin / Net Rate',
|
|
2599
|
-
description: 'DEPRECATED: Use CM1 instead. Gross margin as percentage of net revenue.',
|
|
2600
|
-
sumPrefix: '',
|
|
2601
|
-
sumSuffix: '%',
|
|
2602
|
-
avgPrefix: '',
|
|
2603
|
-
avgSuffix: '%',
|
|
2604
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2605
|
-
measure: MEASURE.ORDERS_GROSS_MARGIN_NET_RATE,
|
|
2606
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2607
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2608
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2609
|
-
decimalPlaces: 2,
|
|
2610
|
-
useCompactNotation: false,
|
|
2611
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2612
|
-
shortTitle: 'GM / Net %',
|
|
2613
|
-
tooltip: 'Gross margin as a share of net revenue (after discounts and refunds). Typically higher than the gross rate due to the smaller denominator.',
|
|
2614
|
-
formulaDisplay: 'Gross Margin ÷ Net Revenue × 100',
|
|
2615
|
-
formula: 'gross_margin / net_revenue * 100',
|
|
2616
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE, MEASURE.ORDERS_GROSS_MARGIN, MEASURE.ORDERS_NET_MARGIN_NET_RATE],
|
|
2617
|
-
deprecated: true,
|
|
2618
|
-
hideFromUI: true,
|
|
2619
|
-
},
|
|
2620
|
-
[MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_NET_RATE]: {
|
|
2621
|
-
priority: 100,
|
|
2622
|
-
title: 'NC Gross Margin / Net Rate',
|
|
2623
|
-
description: 'DEPRECATED: Use CM1 instead. NC gross margin as percentage of net revenue.',
|
|
2624
|
-
sumPrefix: '',
|
|
2625
|
-
sumSuffix: '%',
|
|
2626
|
-
avgPrefix: '',
|
|
2627
|
-
avgSuffix: '%',
|
|
2628
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2629
|
-
measure: MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_NET_RATE,
|
|
2630
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2631
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2632
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2633
|
-
decimalPlaces: 2,
|
|
2634
|
-
useCompactNotation: false,
|
|
2635
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2636
|
-
shortTitle: 'NC GM/Net %',
|
|
2637
|
-
tooltip: 'New customer gross margin as a share of their net revenue.',
|
|
2638
|
-
formulaDisplay: 'NC Gross Margin ÷ NC Net Revenue × 100',
|
|
2639
|
-
formula: 'nc_gross_margin / nc_net_revenue * 100',
|
|
2640
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN_NET_RATE, MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_NET_RATE, MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_GROSS_RATE],
|
|
2641
|
-
deprecated: true,
|
|
2642
|
-
hideFromUI: true,
|
|
2643
|
-
},
|
|
2644
|
-
[MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_NET_RATE]: {
|
|
2645
|
-
priority: 100,
|
|
2646
|
-
title: 'RC Gross Margin / Net Rate',
|
|
2647
|
-
description: 'DEPRECATED: Use CM1 instead. RC gross margin as percentage of net revenue.',
|
|
2648
|
-
sumPrefix: '',
|
|
2649
|
-
sumSuffix: '%',
|
|
2650
|
-
avgPrefix: '',
|
|
2651
|
-
avgSuffix: '%',
|
|
2652
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2653
|
-
measure: MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_NET_RATE,
|
|
2654
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2655
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2656
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2657
|
-
decimalPlaces: 2,
|
|
2658
|
-
useCompactNotation: false,
|
|
2659
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2660
|
-
shortTitle: 'RC GM/Net %',
|
|
2661
|
-
tooltip: 'Returning customer gross margin as a share of their net revenue.',
|
|
2662
|
-
formulaDisplay: 'RC Gross Margin ÷ RC Net Revenue × 100',
|
|
2663
|
-
formula: 'rc_gross_margin / rc_net_revenue * 100',
|
|
2664
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_MARGIN_NET_RATE, MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_NET_RATE, MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_GROSS_RATE],
|
|
2665
|
-
deprecated: true,
|
|
2666
|
-
hideFromUI: true,
|
|
2667
|
-
},
|
|
2668
|
-
[MEASURE.ORDERS_NET_MARGIN_GROSS_RATE]: {
|
|
2669
|
-
priority: 100,
|
|
2670
|
-
title: 'Net Margin / Gross Rate',
|
|
2671
|
-
description: 'DEPRECATED: Use CM1 instead. Net margin as percentage of gross revenue.',
|
|
2672
|
-
sumPrefix: '',
|
|
2673
|
-
sumSuffix: '%',
|
|
2674
|
-
avgPrefix: '',
|
|
2675
|
-
avgSuffix: '%',
|
|
2676
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2677
|
-
measure: MEASURE.ORDERS_NET_MARGIN_GROSS_RATE,
|
|
2678
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2679
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2680
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2681
|
-
decimalPlaces: 2,
|
|
2682
|
-
useCompactNotation: false,
|
|
2683
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2684
|
-
shortTitle: 'NM / Gross %',
|
|
2685
|
-
tooltip: 'Net margin (net revenue minus COGS) as a share of gross revenue. A conservative profitability rate that absorbs all revenue reductions.',
|
|
2686
|
-
formulaDisplay: 'Net Margin ÷ Gross Revenue × 100',
|
|
2687
|
-
formula: 'net_margin / gross_revenue * 100',
|
|
2688
|
-
relatedMeasures: [MEASURE.ORDERS_NET_MARGIN_NET_RATE, MEASURE.ORDERS_NET_MARGIN, MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE],
|
|
2689
|
-
deprecated: true,
|
|
2690
|
-
hideFromUI: true,
|
|
2691
|
-
},
|
|
2692
|
-
[MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_GROSS_RATE]: {
|
|
2693
|
-
priority: 100,
|
|
2694
|
-
title: 'NC Net Margin / Gross Rate',
|
|
2695
|
-
description: 'DEPRECATED: Use CM1 instead. NC net margin as percentage of gross revenue.',
|
|
2696
|
-
sumPrefix: '',
|
|
2697
|
-
sumSuffix: '%',
|
|
2698
|
-
avgPrefix: '',
|
|
2699
|
-
avgSuffix: '%',
|
|
2700
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2701
|
-
measure: MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_GROSS_RATE,
|
|
2702
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2703
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2704
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2705
|
-
decimalPlaces: 2,
|
|
2706
|
-
useCompactNotation: false,
|
|
2707
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2708
|
-
shortTitle: 'NC NM/Gross %',
|
|
2709
|
-
tooltip: 'New customer net margin as a share of their gross revenue.',
|
|
2710
|
-
formulaDisplay: 'NC Net Margin ÷ NC Gross Revenue × 100',
|
|
2711
|
-
formula: 'nc_net_margin / nc_gross_revenue * 100',
|
|
2712
|
-
relatedMeasures: [MEASURE.ORDERS_NET_MARGIN_GROSS_RATE, MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_GROSS_RATE, MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_NET_RATE],
|
|
2713
|
-
deprecated: true,
|
|
2714
|
-
hideFromUI: true,
|
|
2715
|
-
},
|
|
2716
|
-
[MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_GROSS_RATE]: {
|
|
2717
|
-
priority: 100,
|
|
2718
|
-
title: 'RC Net Margin / Gross Rate',
|
|
2719
|
-
description: 'DEPRECATED: Use CM1 instead. RC net margin as percentage of gross revenue.',
|
|
2720
|
-
sumPrefix: '',
|
|
2721
|
-
sumSuffix: '%',
|
|
2722
|
-
avgPrefix: '',
|
|
2723
|
-
avgSuffix: '%',
|
|
2724
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2725
|
-
measure: MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_GROSS_RATE,
|
|
2726
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2727
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2728
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2729
|
-
decimalPlaces: 2,
|
|
2730
|
-
useCompactNotation: false,
|
|
2731
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2732
|
-
shortTitle: 'RC NM/Gross %',
|
|
2733
|
-
tooltip: 'Returning customer net margin as a share of their gross revenue.',
|
|
2734
|
-
formulaDisplay: 'RC Net Margin ÷ RC Gross Revenue × 100',
|
|
2735
|
-
formula: 'rc_net_margin / rc_gross_revenue * 100',
|
|
2736
|
-
relatedMeasures: [MEASURE.ORDERS_NET_MARGIN_GROSS_RATE, MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_GROSS_RATE, MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_NET_RATE],
|
|
2737
|
-
deprecated: true,
|
|
2738
|
-
hideFromUI: true,
|
|
2739
|
-
},
|
|
2740
|
-
[MEASURE.ORDERS_NET_MARGIN_NET_RATE]: {
|
|
2741
|
-
priority: 100,
|
|
2742
|
-
title: 'Net Margin / Net Rate',
|
|
2743
|
-
description: 'DEPRECATED: Use CM1 instead. Net margin as percentage of net revenue.',
|
|
2744
|
-
sumPrefix: '',
|
|
2745
|
-
sumSuffix: '%',
|
|
2746
|
-
avgPrefix: '',
|
|
2747
|
-
avgSuffix: '%',
|
|
2748
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2749
|
-
measure: MEASURE.ORDERS_NET_MARGIN_NET_RATE,
|
|
2750
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2751
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2752
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2753
|
-
decimalPlaces: 2,
|
|
2754
|
-
useCompactNotation: false,
|
|
2755
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2756
|
-
shortTitle: 'NM / Net %',
|
|
2757
|
-
tooltip: 'Net margin as a share of net revenue. This is the standard net margin percentage, showing profit after all product-level costs.',
|
|
2758
|
-
formulaDisplay: 'Net Margin ÷ Net Revenue × 100',
|
|
2759
|
-
formula: 'net_margin / net_revenue * 100',
|
|
2760
|
-
relatedMeasures: [MEASURE.ORDERS_NET_MARGIN_GROSS_RATE, MEASURE.ORDERS_NET_MARGIN, MEASURE.ORDERS_GROSS_MARGIN_NET_RATE],
|
|
2761
|
-
deprecated: true,
|
|
2762
|
-
hideFromUI: true,
|
|
2763
|
-
},
|
|
2764
|
-
[MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_NET_RATE]: {
|
|
2765
|
-
priority: 100,
|
|
2766
|
-
title: 'NC Net Margin / Net Rate',
|
|
2767
|
-
description: 'DEPRECATED: Use CM1 instead. NC net margin as percentage of net revenue.',
|
|
2768
|
-
sumPrefix: '',
|
|
2769
|
-
sumSuffix: '%',
|
|
2770
|
-
avgPrefix: '',
|
|
2771
|
-
avgSuffix: '%',
|
|
2772
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2773
|
-
measure: MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_NET_RATE,
|
|
2774
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2775
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2776
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2777
|
-
decimalPlaces: 2,
|
|
2778
|
-
useCompactNotation: false,
|
|
2779
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2780
|
-
shortTitle: 'NC NM/Net %',
|
|
2781
|
-
tooltip: 'New customer net margin as a share of their net revenue.',
|
|
2782
|
-
formulaDisplay: 'NC Net Margin ÷ NC Net Revenue × 100',
|
|
2783
|
-
formula: 'nc_net_margin / nc_net_revenue * 100',
|
|
2784
|
-
relatedMeasures: [MEASURE.ORDERS_NET_MARGIN_NET_RATE, MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_NET_RATE, MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_GROSS_RATE],
|
|
2785
|
-
deprecated: true,
|
|
2786
|
-
hideFromUI: true,
|
|
2787
|
-
},
|
|
2788
|
-
[MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_NET_RATE]: {
|
|
2789
|
-
priority: 100,
|
|
2790
|
-
title: 'RC Net Margin / Net Rate',
|
|
2791
|
-
description: 'DEPRECATED: Use CM1 instead. RC net margin as percentage of net revenue.',
|
|
2792
|
-
sumPrefix: '',
|
|
2793
|
-
sumSuffix: '%',
|
|
2794
|
-
avgPrefix: '',
|
|
2795
|
-
avgSuffix: '%',
|
|
2796
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
2797
|
-
measure: MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_NET_RATE,
|
|
2798
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
2799
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2800
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
2801
|
-
decimalPlaces: 2,
|
|
2802
|
-
useCompactNotation: false,
|
|
2803
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2804
|
-
shortTitle: 'RC NM/Net %',
|
|
2805
|
-
tooltip: 'Returning customer net margin as a share of their net revenue.',
|
|
2806
|
-
formulaDisplay: 'RC Net Margin ÷ RC Net Revenue × 100',
|
|
2807
|
-
formula: 'rc_net_margin / rc_net_revenue * 100',
|
|
2808
|
-
relatedMeasures: [MEASURE.ORDERS_NET_MARGIN_NET_RATE, MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_NET_RATE, MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_GROSS_RATE],
|
|
2809
|
-
deprecated: true,
|
|
2810
|
-
hideFromUI: true,
|
|
2811
|
-
},
|
|
2812
2169
|
[MEASURE.ORDERS_COGS_GROSS_RATE]: {
|
|
2813
2170
|
priority: 31,
|
|
2814
2171
|
title: 'COGS / Gross Rate',
|
|
@@ -2829,7 +2186,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
2829
2186
|
tooltip: 'Cost of goods as a share of gross revenue. The complement of gross margin rate — COGS % + Gross Margin % = 100%.',
|
|
2830
2187
|
formulaDisplay: 'COGS ÷ Gross Revenue × 100',
|
|
2831
2188
|
formula: 'cogs / gross_revenue * 100',
|
|
2832
|
-
relatedMeasures: [MEASURE.ORDERS_COGS_NET_RATE, MEASURE.ORDERS_COGS, MEASURE.
|
|
2189
|
+
relatedMeasures: [MEASURE.ORDERS_COGS_NET_RATE, MEASURE.ORDERS_COGS, MEASURE.ORDERS_CM1_PERCENT],
|
|
2833
2190
|
},
|
|
2834
2191
|
[MEASURE.ORDERS_NEW_CUSTOMER_COGS_GROSS_RATE]: {
|
|
2835
2192
|
priority: 35,
|
|
@@ -2895,7 +2252,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
2895
2252
|
tooltip: 'COGS as a share of net revenue. Higher than gross rate because discounts and refunds reduce the denominator.',
|
|
2896
2253
|
formulaDisplay: 'COGS ÷ Net Revenue × 100',
|
|
2897
2254
|
formula: 'cogs / net_revenue * 100',
|
|
2898
|
-
relatedMeasures: [MEASURE.ORDERS_COGS_GROSS_RATE, MEASURE.ORDERS_COGS, MEASURE.
|
|
2255
|
+
relatedMeasures: [MEASURE.ORDERS_COGS_GROSS_RATE, MEASURE.ORDERS_COGS, MEASURE.ORDERS_CM1_PERCENT],
|
|
2899
2256
|
},
|
|
2900
2257
|
[MEASURE.ORDERS_NEW_CUSTOMER_COGS_NET_RATE]: {
|
|
2901
2258
|
priority: 36,
|
|
@@ -4062,7 +3419,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4062
3419
|
tooltip: 'The true cost of products sold, accounting for returns and handling fees.',
|
|
4063
3420
|
formulaDisplay: 'Orders COGS + Handling − Refund COGS',
|
|
4064
3421
|
formula: 'orders_cogs + handling - refund_cogs',
|
|
4065
|
-
relatedMeasures: [MEASURE.ORDERS_EFFECTIVE_COGS_PERCENT, MEASURE.ORDERS_COGS_FROM_ORDERS, MEASURE.ORDERS_COGS_FROM_REFUNDS, MEASURE.
|
|
3422
|
+
relatedMeasures: [MEASURE.ORDERS_EFFECTIVE_COGS_PERCENT, MEASURE.ORDERS_COGS_FROM_ORDERS, MEASURE.ORDERS_COGS_FROM_REFUNDS, MEASURE.ORDERS_CM1],
|
|
4066
3423
|
},
|
|
4067
3424
|
[MEASURE.ORDERS_EFFECTIVE_COGS_PERCENT]: {
|
|
4068
3425
|
priority: 33,
|
|
@@ -4084,7 +3441,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4084
3441
|
tooltip: 'What percentage of net sales goes toward product costs. Lower means higher gross margins.',
|
|
4085
3442
|
formulaDisplay: '(Effective COGS ÷ Net Sales) × 100',
|
|
4086
3443
|
formula: '(effective_cogs / net_sales) * 100',
|
|
4087
|
-
relatedMeasures: [MEASURE.ORDERS_EFFECTIVE_COGS, MEASURE.
|
|
3444
|
+
relatedMeasures: [MEASURE.ORDERS_EFFECTIVE_COGS, MEASURE.ORDERS_CM1_PERCENT],
|
|
4088
3445
|
},
|
|
4089
3446
|
[MEASURE.ORDERS_NEW_CUSTOMER_EFFECTIVE_COGS]: {
|
|
4090
3447
|
priority: 12,
|
|
@@ -4227,7 +3584,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4227
3584
|
useCompactNotation: true,
|
|
4228
3585
|
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4229
3586
|
tooltip: 'Costs that scale with order volume, such as transaction fees and fulfillment costs.',
|
|
4230
|
-
relatedMeasures: [MEASURE.ORDERS_VARIABLE_COSTS_PERCENT, MEASURE.ORDERS_FIXED_COSTS, MEASURE.
|
|
3587
|
+
relatedMeasures: [MEASURE.ORDERS_VARIABLE_COSTS_PERCENT, MEASURE.ORDERS_FIXED_COSTS, MEASURE.ORDERS_CM2_PERCENT],
|
|
4231
3588
|
},
|
|
4232
3589
|
[MEASURE.ORDERS_VARIABLE_COSTS_PERCENT]: {
|
|
4233
3590
|
priority: 61,
|
|
@@ -4351,7 +3708,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4351
3708
|
useCompactNotation: true,
|
|
4352
3709
|
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4353
3710
|
tooltip: 'Overhead costs that remain constant regardless of order volume.',
|
|
4354
|
-
relatedMeasures: [MEASURE.ORDERS_FIXED_COSTS_PERCENT, MEASURE.ORDERS_VARIABLE_COSTS, MEASURE.
|
|
3711
|
+
relatedMeasures: [MEASURE.ORDERS_FIXED_COSTS_PERCENT, MEASURE.ORDERS_VARIABLE_COSTS, MEASURE.ORDERS_CM1],
|
|
4355
3712
|
},
|
|
4356
3713
|
[MEASURE.ORDERS_FIXED_COSTS_PERCENT]: {
|
|
4357
3714
|
priority: 62,
|
|
@@ -4475,7 +3832,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4475
3832
|
useCompactNotation: true,
|
|
4476
3833
|
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4477
3834
|
tooltip: 'What you pay to ship orders to customers (not what customers pay for shipping).',
|
|
4478
|
-
relatedMeasures: [MEASURE.ORDERS_SHIPPING_COSTS_PERCENT, MEASURE.
|
|
3835
|
+
relatedMeasures: [MEASURE.ORDERS_SHIPPING_COSTS_PERCENT, MEASURE.ORDERS_CM2_PERCENT, MEASURE.ORDERS_VARIABLE_COSTS],
|
|
4479
3836
|
},
|
|
4480
3837
|
[MEASURE.ORDERS_SHIPPING_COSTS_PERCENT]: {
|
|
4481
3838
|
priority: 63,
|
|
@@ -4516,7 +3873,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4516
3873
|
useCompactNotation: true,
|
|
4517
3874
|
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4518
3875
|
tooltip: 'Transaction fees paid to payment processors like Stripe, PayPal, or Shopify Payments.',
|
|
4519
|
-
relatedMeasures: [MEASURE.ORDERS_PAYMENT_GATEWAY_COSTS_PERCENT, MEASURE.
|
|
3876
|
+
relatedMeasures: [MEASURE.ORDERS_PAYMENT_GATEWAY_COSTS_PERCENT, MEASURE.ORDERS_CM2_PERCENT, MEASURE.ORDERS_VARIABLE_COSTS],
|
|
4520
3877
|
},
|
|
4521
3878
|
[MEASURE.ORDERS_PAYMENT_GATEWAY_COSTS_PERCENT]: {
|
|
4522
3879
|
priority: 64,
|
|
@@ -4540,150 +3897,6 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4540
3897
|
formula: '(payment_gateway_costs / net_sales) * 100',
|
|
4541
3898
|
relatedMeasures: [MEASURE.ORDERS_PAYMENT_GATEWAY_COSTS, MEASURE.ORDERS_SHIPPING_COSTS_PERCENT],
|
|
4542
3899
|
},
|
|
4543
|
-
[MEASURE.ORDERS_GROSS_PROFIT]: {
|
|
4544
|
-
priority: 100,
|
|
4545
|
-
title: 'Gross Profit',
|
|
4546
|
-
shortTitle: 'Gross Profit',
|
|
4547
|
-
description: 'DEPRECATED: Use ORDERS_CM1 instead. Net Sales minus Effective COGS. Also known as Contribution Margin 1 (CM1).',
|
|
4548
|
-
sumPrefix: '$',
|
|
4549
|
-
sumSuffix: '',
|
|
4550
|
-
avgPrefix: '$',
|
|
4551
|
-
avgSuffix: '',
|
|
4552
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
4553
|
-
measure: MEASURE.ORDERS_GROSS_PROFIT,
|
|
4554
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
4555
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4556
|
-
valueType: MeasureValueType.CURRENCY,
|
|
4557
|
-
decimalPlaces: 2,
|
|
4558
|
-
useCompactNotation: true,
|
|
4559
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4560
|
-
tooltip: 'Revenue remaining after product costs. The first level of contribution margin.',
|
|
4561
|
-
formulaDisplay: 'Net Sales − Effective COGS',
|
|
4562
|
-
formula: 'net_sales - effective_cogs',
|
|
4563
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_PROFIT_PERCENT, MEASURE.ORDERS_EFFECTIVE_COGS, MEASURE.ORDERS_CM2],
|
|
4564
|
-
deprecated: true,
|
|
4565
|
-
hideFromUI: true,
|
|
4566
|
-
},
|
|
4567
|
-
[MEASURE.ORDERS_GROSS_PROFIT_PERCENT]: {
|
|
4568
|
-
priority: 100,
|
|
4569
|
-
title: 'Gross Profit Margin',
|
|
4570
|
-
shortTitle: 'Gross Margin %',
|
|
4571
|
-
description: 'DEPRECATED: Use ORDERS_CM1_PERCENT instead. Gross Profit as a percentage of Net Sales.',
|
|
4572
|
-
sumPrefix: '',
|
|
4573
|
-
sumSuffix: '%',
|
|
4574
|
-
avgPrefix: '',
|
|
4575
|
-
avgSuffix: '%',
|
|
4576
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
4577
|
-
measure: MEASURE.ORDERS_GROSS_PROFIT_PERCENT,
|
|
4578
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
4579
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4580
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
4581
|
-
decimalPlaces: 2,
|
|
4582
|
-
useCompactNotation: false,
|
|
4583
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4584
|
-
tooltip: 'What percentage of net sales remains after product costs. Higher is better.',
|
|
4585
|
-
formulaDisplay: '(Gross Profit ÷ Net Sales) × 100',
|
|
4586
|
-
formula: '(gross_profit / net_sales) * 100',
|
|
4587
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_PROFIT, MEASURE.ORDERS_CM2_PERCENT, MEASURE.ORDERS_NET_PROFIT_PERCENT],
|
|
4588
|
-
deprecated: true,
|
|
4589
|
-
hideFromUI: true,
|
|
4590
|
-
},
|
|
4591
|
-
[MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT]: {
|
|
4592
|
-
priority: 100,
|
|
4593
|
-
title: 'NC Gross Profit',
|
|
4594
|
-
shortTitle: 'NC Gross Profit',
|
|
4595
|
-
description: 'DEPRECATED: Use ORDERS_NEW_CUSTOMER_CM1 instead. Gross profit from new customer orders (CM1).',
|
|
4596
|
-
sumPrefix: '$',
|
|
4597
|
-
sumSuffix: '',
|
|
4598
|
-
avgPrefix: '$',
|
|
4599
|
-
avgSuffix: '',
|
|
4600
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
4601
|
-
measure: MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT,
|
|
4602
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
4603
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4604
|
-
valueType: MeasureValueType.CURRENCY,
|
|
4605
|
-
decimalPlaces: 2,
|
|
4606
|
-
useCompactNotation: true,
|
|
4607
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4608
|
-
tooltip: 'Revenue from new customers minus their cost of goods. First level of contribution margin.',
|
|
4609
|
-
formulaDisplay: 'NC Net Sales − NC Effective COGS',
|
|
4610
|
-
formula: 'nc_net_sales - nc_effective_cogs',
|
|
4611
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_PROFIT, MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT_PERCENT, MEASURE.ORDERS_NEW_CUSTOMER_CM2],
|
|
4612
|
-
deprecated: true,
|
|
4613
|
-
hideFromUI: true,
|
|
4614
|
-
},
|
|
4615
|
-
[MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT_PERCENT]: {
|
|
4616
|
-
priority: 100,
|
|
4617
|
-
title: 'NC Gross Profit Margin',
|
|
4618
|
-
shortTitle: 'NC Gross Margin %',
|
|
4619
|
-
description: 'DEPRECATED: Use ORDERS_NEW_CUSTOMER_CM1_PERCENT instead. NC Gross Profit as a percentage of NC Net Sales.',
|
|
4620
|
-
sumPrefix: '',
|
|
4621
|
-
sumSuffix: '%',
|
|
4622
|
-
avgPrefix: '',
|
|
4623
|
-
avgSuffix: '%',
|
|
4624
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
4625
|
-
measure: MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT_PERCENT,
|
|
4626
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
4627
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4628
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
4629
|
-
decimalPlaces: 2,
|
|
4630
|
-
useCompactNotation: false,
|
|
4631
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4632
|
-
tooltip: 'What percentage of new customer net sales remains after product costs.',
|
|
4633
|
-
formulaDisplay: '(NC Gross Profit ÷ NC Net Sales) × 100',
|
|
4634
|
-
formula: '(nc_gross_profit / nc_net_sales) * 100',
|
|
4635
|
-
relatedMeasures: [MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT, MEASURE.ORDERS_GROSS_PROFIT_PERCENT],
|
|
4636
|
-
deprecated: true,
|
|
4637
|
-
hideFromUI: true,
|
|
4638
|
-
},
|
|
4639
|
-
[MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT]: {
|
|
4640
|
-
priority: 100,
|
|
4641
|
-
title: 'RC Gross Profit',
|
|
4642
|
-
shortTitle: 'RC Gross Profit',
|
|
4643
|
-
description: 'DEPRECATED: Use ORDERS_RETURNING_CUSTOMER_CM1 instead. Gross profit from returning customer orders (CM1).',
|
|
4644
|
-
sumPrefix: '$',
|
|
4645
|
-
sumSuffix: '',
|
|
4646
|
-
avgPrefix: '$',
|
|
4647
|
-
avgSuffix: '',
|
|
4648
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
4649
|
-
measure: MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT,
|
|
4650
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
4651
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4652
|
-
valueType: MeasureValueType.CURRENCY,
|
|
4653
|
-
decimalPlaces: 2,
|
|
4654
|
-
useCompactNotation: true,
|
|
4655
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4656
|
-
tooltip: 'Revenue from returning customers minus their cost of goods.',
|
|
4657
|
-
formulaDisplay: 'RC Net Sales − RC Effective COGS',
|
|
4658
|
-
formula: 'rc_net_sales - rc_effective_cogs',
|
|
4659
|
-
relatedMeasures: [MEASURE.ORDERS_GROSS_PROFIT, MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT_PERCENT, MEASURE.ORDERS_RETURNING_CUSTOMER_CM2],
|
|
4660
|
-
deprecated: true,
|
|
4661
|
-
hideFromUI: true,
|
|
4662
|
-
},
|
|
4663
|
-
[MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT_PERCENT]: {
|
|
4664
|
-
priority: 100,
|
|
4665
|
-
title: 'RC Gross Profit Margin',
|
|
4666
|
-
shortTitle: 'RC Gross Margin %',
|
|
4667
|
-
description: 'DEPRECATED: Use ORDERS_RETURNING_CUSTOMER_CM1_PERCENT instead. RC Gross Profit as a percentage of RC Net Sales.',
|
|
4668
|
-
sumPrefix: '',
|
|
4669
|
-
sumSuffix: '%',
|
|
4670
|
-
avgPrefix: '',
|
|
4671
|
-
avgSuffix: '%',
|
|
4672
|
-
icon: MEASURE_ICON.SHOPIFY,
|
|
4673
|
-
measure: MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT_PERCENT,
|
|
4674
|
-
category: MEASURE_CATEGORY.ORDERS,
|
|
4675
|
-
subcategory: MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4676
|
-
valueType: MeasureValueType.PERCENTAGE,
|
|
4677
|
-
decimalPlaces: 2,
|
|
4678
|
-
useCompactNotation: false,
|
|
4679
|
-
applicableContexts: ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4680
|
-
tooltip: 'What percentage of returning customer net sales remains after product costs.',
|
|
4681
|
-
formulaDisplay: '(RC Gross Profit ÷ RC Net Sales) × 100',
|
|
4682
|
-
formula: '(rc_gross_profit / rc_net_sales) * 100',
|
|
4683
|
-
relatedMeasures: [MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT, MEASURE.ORDERS_GROSS_PROFIT_PERCENT],
|
|
4684
|
-
deprecated: true,
|
|
4685
|
-
hideFromUI: true,
|
|
4686
|
-
},
|
|
4687
3900
|
[MEASURE.ORDERS_CM2]: {
|
|
4688
3901
|
priority: 2,
|
|
4689
3902
|
title: 'Contribution Margin 2',
|
|
@@ -4704,7 +3917,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4704
3917
|
tooltip: 'Profit after deducting fulfillment and variable operating costs.',
|
|
4705
3918
|
formulaDisplay: '(CM1) − (Shipping) − (Gateway) − (Variable Costs)',
|
|
4706
3919
|
formula: '(cm1) - (shipping) - (gateway) - (variable_costs)',
|
|
4707
|
-
relatedMeasures: [MEASURE.
|
|
3920
|
+
relatedMeasures: [MEASURE.ORDERS_CM1, MEASURE.ORDERS_CM2_PERCENT, MEASURE.ORDERS_CM3],
|
|
4708
3921
|
},
|
|
4709
3922
|
[MEASURE.ORDERS_CM2_PERCENT]: {
|
|
4710
3923
|
priority: 32,
|
|
@@ -4726,7 +3939,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4726
3939
|
tooltip: 'What percentage of net revenue remains after product and variable costs.',
|
|
4727
3940
|
formulaDisplay: '(CM2) ÷ (Net Revenue) × 100',
|
|
4728
3941
|
formula: '((cm2) / (net_revenue)) * 100',
|
|
4729
|
-
relatedMeasures: [MEASURE.ORDERS_CM2, MEASURE.
|
|
3942
|
+
relatedMeasures: [MEASURE.ORDERS_CM2, MEASURE.ORDERS_CM1_PERCENT, MEASURE.ORDERS_CM3_PERCENT],
|
|
4730
3943
|
},
|
|
4731
3944
|
[MEASURE.ORDERS_NEW_CUSTOMER_CM2]: {
|
|
4732
3945
|
priority: 12,
|
|
@@ -4748,7 +3961,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4748
3961
|
tooltip: 'Profit from new customers after subtracting fulfillment and variable costs.',
|
|
4749
3962
|
formulaDisplay: '(NC CM1) − (Shipping) − (Gateway) − (Variable Costs)',
|
|
4750
3963
|
formula: '(nc_cm1) - (nc_shipping) - (nc_gateway) - (nc_variable_costs)',
|
|
4751
|
-
relatedMeasures: [MEASURE.ORDERS_CM2, MEASURE.
|
|
3964
|
+
relatedMeasures: [MEASURE.ORDERS_CM2, MEASURE.ORDERS_NEW_CUSTOMER_CM1, MEASURE.ORDERS_NEW_CUSTOMER_CM3],
|
|
4752
3965
|
},
|
|
4753
3966
|
[MEASURE.ORDERS_NEW_CUSTOMER_CM2_PERCENT]: {
|
|
4754
3967
|
priority: 36,
|
|
@@ -4792,7 +4005,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4792
4005
|
tooltip: 'Profit from returning customers after subtracting fulfillment and variable costs.',
|
|
4793
4006
|
formulaDisplay: '(RC CM1) − (Shipping) − (Gateway) − (Variable Costs)',
|
|
4794
4007
|
formula: '(rc_cm1) - (rc_shipping) - (rc_gateway) - (rc_variable_costs)',
|
|
4795
|
-
relatedMeasures: [MEASURE.ORDERS_CM2, MEASURE.
|
|
4008
|
+
relatedMeasures: [MEASURE.ORDERS_CM2, MEASURE.ORDERS_RETURNING_CUSTOMER_CM1, MEASURE.ORDERS_RETURNING_CUSTOMER_CM3],
|
|
4796
4009
|
},
|
|
4797
4010
|
[MEASURE.ORDERS_RETURNING_CUSTOMER_CM2_PERCENT]: {
|
|
4798
4011
|
priority: 40,
|
|
@@ -4990,7 +4203,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4990
4203
|
tooltip: 'What percentage of net revenue becomes operating profit. The ultimate efficiency metric showing profitability after all variable and fixed costs.',
|
|
4991
4204
|
formulaDisplay: '((CM4) ÷ (Net Revenue)) × 100',
|
|
4992
4205
|
formula: '((cm4) / (net_revenue)) * 100',
|
|
4993
|
-
relatedMeasures: [MEASURE.ORDERS_NET_PROFIT, MEASURE.ORDERS_CM3_PERCENT, MEASURE.
|
|
4206
|
+
relatedMeasures: [MEASURE.ORDERS_NET_PROFIT, MEASURE.ORDERS_CM3_PERCENT, MEASURE.ORDERS_CM1_PERCENT],
|
|
4994
4207
|
},
|
|
4995
4208
|
[MEASURE.ORDERS_NEW_CUSTOMER_NET_PROFIT]: {
|
|
4996
4209
|
priority: 14,
|
|
@@ -5100,8 +4313,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
5100
4313
|
tooltip: 'CM1 is the conservative gross margin calculation using Net Revenue (after returns/discounts) minus Effective COGS.',
|
|
5101
4314
|
formulaDisplay: '(Net Revenue) − (Effective COGS)',
|
|
5102
4315
|
formula: '(net_revenue) - (effective_cogs)',
|
|
5103
|
-
relatedMeasures: [MEASURE.ORDERS_CM1_PERCENT, MEASURE.ORDERS_CM2, MEASURE.
|
|
5104
|
-
aliases: [MEASURE.ORDERS_GROSS_PROFIT],
|
|
4316
|
+
relatedMeasures: [MEASURE.ORDERS_CM1_PERCENT, MEASURE.ORDERS_CM2, MEASURE.ORDERS_EFFECTIVE_COGS],
|
|
5105
4317
|
},
|
|
5106
4318
|
[MEASURE.ORDERS_CM1_PERCENT]: {
|
|
5107
4319
|
priority: 31,
|
|
@@ -5123,8 +4335,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
5123
4335
|
tooltip: 'CM1 as a percentage of Net Revenue. The conservative gross margin percentage calculation.',
|
|
5124
4336
|
formulaDisplay: '(CM1) ÷ (Net Revenue) × 100',
|
|
5125
4337
|
formula: '((cm1) / (net_revenue)) * 100',
|
|
5126
|
-
relatedMeasures: [MEASURE.ORDERS_CM1, MEASURE.ORDERS_CM2_PERCENT, MEASURE.
|
|
5127
|
-
aliases: [MEASURE.ORDERS_GROSS_PROFIT_PERCENT],
|
|
4338
|
+
relatedMeasures: [MEASURE.ORDERS_CM1, MEASURE.ORDERS_CM2_PERCENT, MEASURE.ORDERS_NET_PROFIT_PERCENT],
|
|
5128
4339
|
},
|
|
5129
4340
|
[MEASURE.ORDERS_NEW_CUSTOMER_CM1]: {
|
|
5130
4341
|
priority: 11,
|
|
@@ -5146,8 +4357,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
5146
4357
|
tooltip: 'NC CM1 is the conservative gross margin for new customers using Net Revenue minus Effective COGS.',
|
|
5147
4358
|
formulaDisplay: '(NC Net Revenue) − (NC Effective COGS)',
|
|
5148
4359
|
formula: '(nc_net_revenue) - (nc_effective_cogs)',
|
|
5149
|
-
relatedMeasures: [MEASURE.ORDERS_CM1, MEASURE.ORDERS_NEW_CUSTOMER_CM1_PERCENT, MEASURE.
|
|
5150
|
-
aliases: [MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT],
|
|
4360
|
+
relatedMeasures: [MEASURE.ORDERS_CM1, MEASURE.ORDERS_NEW_CUSTOMER_CM1_PERCENT, MEASURE.ORDERS_NEW_CUSTOMER_CM2],
|
|
5151
4361
|
},
|
|
5152
4362
|
[MEASURE.ORDERS_NEW_CUSTOMER_CM1_PERCENT]: {
|
|
5153
4363
|
priority: 35,
|
|
@@ -5169,8 +4379,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
5169
4379
|
tooltip: 'NC CM1 as a percentage of NC Net Revenue. The conservative gross margin percentage for new customers.',
|
|
5170
4380
|
formulaDisplay: '(NC CM1) ÷ (NC Net Revenue) × 100',
|
|
5171
4381
|
formula: '((nc_cm1) / (nc_net_revenue)) * 100',
|
|
5172
|
-
relatedMeasures: [MEASURE.ORDERS_NEW_CUSTOMER_CM1, MEASURE.ORDERS_CM1_PERCENT, MEASURE.
|
|
5173
|
-
aliases: [MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT_PERCENT],
|
|
4382
|
+
relatedMeasures: [MEASURE.ORDERS_NEW_CUSTOMER_CM1, MEASURE.ORDERS_CM1_PERCENT, MEASURE.ORDERS_NEW_CUSTOMER_CM2_PERCENT],
|
|
5174
4383
|
},
|
|
5175
4384
|
[MEASURE.ORDERS_RETURNING_CUSTOMER_CM1]: {
|
|
5176
4385
|
priority: 21,
|
|
@@ -5192,8 +4401,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
5192
4401
|
tooltip: 'RC CM1 is the conservative gross margin for returning customers using Net Revenue minus Effective COGS.',
|
|
5193
4402
|
formulaDisplay: '(RC Net Revenue) − (RC Effective COGS)',
|
|
5194
4403
|
formula: '(rc_net_revenue) - (rc_effective_cogs)',
|
|
5195
|
-
relatedMeasures: [MEASURE.ORDERS_CM1, MEASURE.ORDERS_RETURNING_CUSTOMER_CM1_PERCENT, MEASURE.
|
|
5196
|
-
aliases: [MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT],
|
|
4404
|
+
relatedMeasures: [MEASURE.ORDERS_CM1, MEASURE.ORDERS_RETURNING_CUSTOMER_CM1_PERCENT, MEASURE.ORDERS_RETURNING_CUSTOMER_CM2],
|
|
5197
4405
|
},
|
|
5198
4406
|
[MEASURE.ORDERS_RETURNING_CUSTOMER_CM1_PERCENT]: {
|
|
5199
4407
|
priority: 39,
|
|
@@ -5215,8 +4423,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
5215
4423
|
tooltip: 'RC CM1 as a percentage of RC Net Revenue. The conservative gross margin percentage for returning customers.',
|
|
5216
4424
|
formulaDisplay: '(RC CM1) ÷ (RC Net Revenue) × 100',
|
|
5217
4425
|
formula: '((rc_cm1) / (rc_net_revenue)) * 100',
|
|
5218
|
-
relatedMeasures: [MEASURE.ORDERS_RETURNING_CUSTOMER_CM1, MEASURE.ORDERS_CM1_PERCENT, MEASURE.
|
|
5219
|
-
aliases: [MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT_PERCENT],
|
|
4426
|
+
relatedMeasures: [MEASURE.ORDERS_RETURNING_CUSTOMER_CM1, MEASURE.ORDERS_CM1_PERCENT, MEASURE.ORDERS_RETURNING_CUSTOMER_CM2_PERCENT],
|
|
5220
4427
|
},
|
|
5221
4428
|
};
|
|
5222
4429
|
//# sourceMappingURL=orders-measure-definitions.js.map
|