@adtrackify/at-tracking-event-types 4.45.0 → 4.47.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 +48 -841
- 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 +49 -842
- 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
|
@@ -604,7 +604,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
604
604
|
useCompactNotation: true,
|
|
605
605
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
606
606
|
tooltip: 'The total cost of products sold, including manufacturing or purchase costs. Subtracted from revenue to calculate gross margin.',
|
|
607
|
-
relatedMeasures: [measures_js_1.MEASURE.
|
|
607
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1, measures_js_1.MEASURE.ORDERS_COGS_PER_ORDER, measures_js_1.MEASURE.ORDERS_COGS_GROSS_RATE],
|
|
608
608
|
},
|
|
609
609
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_COGS]: {
|
|
610
610
|
priority: 11,
|
|
@@ -623,7 +623,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
623
623
|
useCompactNotation: true,
|
|
624
624
|
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
625
625
|
tooltip: 'Cost of goods sold for orders placed by new customers. Used to calculate new customer gross margin.',
|
|
626
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.
|
|
626
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM1, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_COGS],
|
|
627
627
|
},
|
|
628
628
|
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_COGS]: {
|
|
629
629
|
priority: 21,
|
|
@@ -642,7 +642,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
642
642
|
useCompactNotation: true,
|
|
643
643
|
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
644
644
|
tooltip: 'Cost of goods sold for orders placed by returning customers. Used to calculate repeat-buyer gross margin.',
|
|
645
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.
|
|
645
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM1, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_COGS],
|
|
646
646
|
},
|
|
647
647
|
[measures_js_1.MEASURE.ORDERS_COGS_PER_ORDER]: {
|
|
648
648
|
priority: 3,
|
|
@@ -663,7 +663,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
663
663
|
tooltip: 'Average product cost per order. Useful for understanding the cost structure of a typical order.',
|
|
664
664
|
formulaDisplay: 'COGS ÷ Order Count',
|
|
665
665
|
formula: 'cogs / order_count',
|
|
666
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.
|
|
666
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.ORDERS_CM1_PER_ORDER, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_COGS_PER_ORDER],
|
|
667
667
|
},
|
|
668
668
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_COGS_PER_ORDER]: {
|
|
669
669
|
priority: 13,
|
|
@@ -709,292 +709,6 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
709
709
|
formula: 'rc_cogs / rc_order_count',
|
|
710
710
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS_PER_ORDER, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_COGS_PER_ORDER, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_COGS],
|
|
711
711
|
},
|
|
712
|
-
[measures_js_1.MEASURE.ORDERS_GROSS_MARGIN]: {
|
|
713
|
-
priority: 100,
|
|
714
|
-
title: 'Gross Margin',
|
|
715
|
-
description: 'DEPRECATED: Use CM1 instead. Revenue minus COGS.',
|
|
716
|
-
sumPrefix: '$',
|
|
717
|
-
sumSuffix: '',
|
|
718
|
-
avgPrefix: '$',
|
|
719
|
-
avgSuffix: '',
|
|
720
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
721
|
-
measure: measures_js_1.MEASURE.ORDERS_GROSS_MARGIN,
|
|
722
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
723
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
724
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
725
|
-
decimalPlaces: 2,
|
|
726
|
-
useCompactNotation: true,
|
|
727
|
-
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
728
|
-
tooltip: 'Gross revenue minus the cost of goods sold. Represents the profit before operating expenses.',
|
|
729
|
-
formulaDisplay: 'Gross Revenue − COGS',
|
|
730
|
-
formula: 'gross_revenue - cogs',
|
|
731
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.ORDERS_GROSS_REVENUE, measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE, measures_js_1.MEASURE.ORDERS_NET_MARGIN],
|
|
732
|
-
deprecated: true,
|
|
733
|
-
hideFromUI: true,
|
|
734
|
-
},
|
|
735
|
-
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN]: {
|
|
736
|
-
priority: 100,
|
|
737
|
-
title: 'NC Gross Margin',
|
|
738
|
-
description: 'DEPRECATED: Use CM1 instead. Gross margin from new customers.',
|
|
739
|
-
sumPrefix: '$',
|
|
740
|
-
sumSuffix: '',
|
|
741
|
-
avgPrefix: '$',
|
|
742
|
-
avgSuffix: '',
|
|
743
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
744
|
-
measure: measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN,
|
|
745
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
746
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
747
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
748
|
-
decimalPlaces: 2,
|
|
749
|
-
useCompactNotation: true,
|
|
750
|
-
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
751
|
-
shortTitle: 'NC Gross Margin',
|
|
752
|
-
tooltip: 'Gross revenue from new customers minus their COGS. Shows the pre-expense profit from acquisition orders.',
|
|
753
|
-
formulaDisplay: 'NC Gross Revenue − NC COGS',
|
|
754
|
-
formula: 'nc_gross_revenue - nc_cogs',
|
|
755
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_COGS],
|
|
756
|
-
deprecated: true,
|
|
757
|
-
hideFromUI: true,
|
|
758
|
-
},
|
|
759
|
-
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN]: {
|
|
760
|
-
priority: 100,
|
|
761
|
-
title: 'RC Gross Margin',
|
|
762
|
-
description: 'DEPRECATED: Use CM1 instead. Gross margin from returning customers.',
|
|
763
|
-
sumPrefix: '$',
|
|
764
|
-
sumSuffix: '',
|
|
765
|
-
avgPrefix: '$',
|
|
766
|
-
avgSuffix: '',
|
|
767
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
768
|
-
measure: measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN,
|
|
769
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
770
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
771
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
772
|
-
decimalPlaces: 2,
|
|
773
|
-
useCompactNotation: true,
|
|
774
|
-
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
775
|
-
shortTitle: 'RC Gross Margin',
|
|
776
|
-
tooltip: 'Gross revenue from returning customers minus their COGS. Reflects the profitability of repeat business.',
|
|
777
|
-
formulaDisplay: 'RC Gross Revenue − RC COGS',
|
|
778
|
-
formula: 'rc_gross_revenue - rc_cogs',
|
|
779
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_COGS],
|
|
780
|
-
deprecated: true,
|
|
781
|
-
hideFromUI: true,
|
|
782
|
-
},
|
|
783
|
-
[measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_PER_ORDER]: {
|
|
784
|
-
priority: 100,
|
|
785
|
-
title: 'Gross Margin Per Order',
|
|
786
|
-
description: 'DEPRECATED: Use CM1 instead. Average gross margin per order.',
|
|
787
|
-
sumPrefix: '$',
|
|
788
|
-
sumSuffix: '',
|
|
789
|
-
avgPrefix: '$',
|
|
790
|
-
avgSuffix: '',
|
|
791
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
792
|
-
measure: measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_PER_ORDER,
|
|
793
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
794
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
795
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
796
|
-
decimalPlaces: 2,
|
|
797
|
-
useCompactNotation: false,
|
|
798
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
799
|
-
shortTitle: 'Gross Margin/Ord',
|
|
800
|
-
tooltip: 'Average gross profit earned per order. Helps benchmark profitability against ad spend on a per-order basis.',
|
|
801
|
-
formulaDisplay: 'Gross Margin ÷ Order Count',
|
|
802
|
-
formula: 'gross_margin / order_count',
|
|
803
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN, measures_js_1.MEASURE.ORDERS_NET_MARGIN_PER_ORDER, measures_js_1.MEASURE.ORDERS_COGS_PER_ORDER],
|
|
804
|
-
deprecated: true,
|
|
805
|
-
hideFromUI: true,
|
|
806
|
-
},
|
|
807
|
-
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_PER_ORDER]: {
|
|
808
|
-
priority: 100,
|
|
809
|
-
title: 'NC Gross Margin Per Order',
|
|
810
|
-
description: 'DEPRECATED: Use CM1 instead. Average gross margin per order for new customers.',
|
|
811
|
-
sumPrefix: '$',
|
|
812
|
-
sumSuffix: '',
|
|
813
|
-
avgPrefix: '$',
|
|
814
|
-
avgSuffix: '',
|
|
815
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
816
|
-
measure: measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_PER_ORDER,
|
|
817
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
818
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
819
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
820
|
-
decimalPlaces: 2,
|
|
821
|
-
useCompactNotation: false,
|
|
822
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
823
|
-
shortTitle: 'NC GM/Order',
|
|
824
|
-
tooltip: 'Average gross profit per new customer order. Compare to CPA to evaluate first-order unit economics.',
|
|
825
|
-
formulaDisplay: 'NC Gross Margin ÷ NC Order Count',
|
|
826
|
-
formula: 'nc_gross_margin / nc_order_count',
|
|
827
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_PER_ORDER, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_PER_ORDER, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN],
|
|
828
|
-
deprecated: true,
|
|
829
|
-
hideFromUI: true,
|
|
830
|
-
},
|
|
831
|
-
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_PER_ORDER]: {
|
|
832
|
-
priority: 100,
|
|
833
|
-
title: 'RC Gross Margin Per Order',
|
|
834
|
-
description: 'DEPRECATED: Use CM1 instead. Average gross margin per order for returning customers.',
|
|
835
|
-
sumPrefix: '$',
|
|
836
|
-
sumSuffix: '',
|
|
837
|
-
avgPrefix: '$',
|
|
838
|
-
avgSuffix: '',
|
|
839
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
840
|
-
measure: measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_PER_ORDER,
|
|
841
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
842
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
843
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
844
|
-
decimalPlaces: 2,
|
|
845
|
-
useCompactNotation: false,
|
|
846
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
847
|
-
shortTitle: 'RC GM/Order',
|
|
848
|
-
tooltip: 'Average gross profit per returning customer order.',
|
|
849
|
-
formulaDisplay: 'RC Gross Margin ÷ RC Order Count',
|
|
850
|
-
formula: 'rc_gross_margin / rc_order_count',
|
|
851
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_PER_ORDER, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_PER_ORDER, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN],
|
|
852
|
-
deprecated: true,
|
|
853
|
-
hideFromUI: true,
|
|
854
|
-
},
|
|
855
|
-
[measures_js_1.MEASURE.ORDERS_NET_MARGIN]: {
|
|
856
|
-
priority: 100,
|
|
857
|
-
title: 'Net Margin',
|
|
858
|
-
description: 'DEPRECATED: Use CM1 instead. Net revenue minus COGS.',
|
|
859
|
-
sumPrefix: '$',
|
|
860
|
-
sumSuffix: '',
|
|
861
|
-
avgPrefix: '$',
|
|
862
|
-
avgSuffix: '',
|
|
863
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
864
|
-
measure: measures_js_1.MEASURE.ORDERS_NET_MARGIN,
|
|
865
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
866
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
867
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
868
|
-
decimalPlaces: 2,
|
|
869
|
-
useCompactNotation: true,
|
|
870
|
-
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
871
|
-
tooltip: 'Net revenue (after discounts and refunds) minus cost of goods sold. A tighter profitability view than gross margin.',
|
|
872
|
-
formulaDisplay: 'Net Revenue − COGS',
|
|
873
|
-
formula: 'net_revenue - cogs',
|
|
874
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN, measures_js_1.MEASURE.ORDERS_NET_REVENUE, measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.ORDERS_NET_MARGIN_NET_RATE],
|
|
875
|
-
deprecated: true,
|
|
876
|
-
hideFromUI: true,
|
|
877
|
-
},
|
|
878
|
-
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN]: {
|
|
879
|
-
priority: 100,
|
|
880
|
-
title: 'NC Net Margin',
|
|
881
|
-
description: 'DEPRECATED: Use CM1 instead. Net margin from new customers.',
|
|
882
|
-
sumPrefix: '$',
|
|
883
|
-
sumSuffix: '',
|
|
884
|
-
avgPrefix: '$',
|
|
885
|
-
avgSuffix: '',
|
|
886
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
887
|
-
measure: measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN,
|
|
888
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
889
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
890
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
891
|
-
decimalPlaces: 2,
|
|
892
|
-
useCompactNotation: true,
|
|
893
|
-
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
894
|
-
shortTitle: 'NC Net Margin',
|
|
895
|
-
tooltip: 'Net margin from new customer orders after discounts and refunds minus COGS.',
|
|
896
|
-
formulaDisplay: 'NC Net Revenue − NC COGS',
|
|
897
|
-
formula: 'nc_net_revenue - nc_cogs',
|
|
898
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_MARGIN, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN],
|
|
899
|
-
deprecated: true,
|
|
900
|
-
hideFromUI: true,
|
|
901
|
-
},
|
|
902
|
-
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN]: {
|
|
903
|
-
priority: 100,
|
|
904
|
-
title: 'RC Net Margin',
|
|
905
|
-
description: 'DEPRECATED: Use CM1 instead. Net margin from returning customers.',
|
|
906
|
-
sumPrefix: '$',
|
|
907
|
-
sumSuffix: '',
|
|
908
|
-
avgPrefix: '$',
|
|
909
|
-
avgSuffix: '',
|
|
910
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
911
|
-
measure: measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN,
|
|
912
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
913
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
914
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
915
|
-
decimalPlaces: 2,
|
|
916
|
-
useCompactNotation: true,
|
|
917
|
-
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
918
|
-
shortTitle: 'RC Net Margin',
|
|
919
|
-
tooltip: 'Net margin from returning customer orders after discounts and refunds minus COGS.',
|
|
920
|
-
formulaDisplay: 'RC Net Revenue − RC COGS',
|
|
921
|
-
formula: 'rc_net_revenue - rc_cogs',
|
|
922
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_MARGIN, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN],
|
|
923
|
-
deprecated: true,
|
|
924
|
-
hideFromUI: true,
|
|
925
|
-
},
|
|
926
|
-
[measures_js_1.MEASURE.ORDERS_NET_MARGIN_PER_ORDER]: {
|
|
927
|
-
priority: 100,
|
|
928
|
-
title: 'Net Margin Per Order',
|
|
929
|
-
description: 'DEPRECATED: Use CM1 instead. Average net margin per order.',
|
|
930
|
-
sumPrefix: '$',
|
|
931
|
-
sumSuffix: '',
|
|
932
|
-
avgPrefix: '$',
|
|
933
|
-
avgSuffix: '',
|
|
934
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
935
|
-
measure: measures_js_1.MEASURE.ORDERS_NET_MARGIN_PER_ORDER,
|
|
936
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
937
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
938
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
939
|
-
decimalPlaces: 2,
|
|
940
|
-
useCompactNotation: false,
|
|
941
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
942
|
-
shortTitle: 'Net Margin/Ord',
|
|
943
|
-
tooltip: 'Average net profit per order after discounts, refunds, and COGS.',
|
|
944
|
-
formulaDisplay: 'Net Margin ÷ Order Count',
|
|
945
|
-
formula: 'net_margin / order_count',
|
|
946
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_MARGIN, measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_PER_ORDER, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_PER_ORDER],
|
|
947
|
-
deprecated: true,
|
|
948
|
-
hideFromUI: true,
|
|
949
|
-
},
|
|
950
|
-
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_PER_ORDER]: {
|
|
951
|
-
priority: 100,
|
|
952
|
-
title: 'NC Net Margin Per Order',
|
|
953
|
-
description: 'DEPRECATED: Use CM1 instead. Average net margin per order for new customers.',
|
|
954
|
-
sumPrefix: '$',
|
|
955
|
-
sumSuffix: '',
|
|
956
|
-
avgPrefix: '$',
|
|
957
|
-
avgSuffix: '',
|
|
958
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
959
|
-
measure: measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_PER_ORDER,
|
|
960
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
961
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
962
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
963
|
-
decimalPlaces: 2,
|
|
964
|
-
useCompactNotation: false,
|
|
965
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
966
|
-
shortTitle: 'NC NM/Order',
|
|
967
|
-
tooltip: 'Average net profit per new customer order. Use with CPA to evaluate whether acquisition is profitable at the first order.',
|
|
968
|
-
formulaDisplay: 'NC Net Margin ÷ NC Order Count',
|
|
969
|
-
formula: 'nc_net_margin / nc_order_count',
|
|
970
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_MARGIN_PER_ORDER, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_PER_ORDER, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN],
|
|
971
|
-
deprecated: true,
|
|
972
|
-
hideFromUI: true,
|
|
973
|
-
},
|
|
974
|
-
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_PER_ORDER]: {
|
|
975
|
-
priority: 100,
|
|
976
|
-
title: 'RC Net Margin Per Order',
|
|
977
|
-
description: 'DEPRECATED: Use CM1 instead. Average net margin per order for returning customers.',
|
|
978
|
-
sumPrefix: '$',
|
|
979
|
-
sumSuffix: '',
|
|
980
|
-
avgPrefix: '$',
|
|
981
|
-
avgSuffix: '',
|
|
982
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
983
|
-
measure: measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_PER_ORDER,
|
|
984
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
985
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
986
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
987
|
-
decimalPlaces: 2,
|
|
988
|
-
useCompactNotation: false,
|
|
989
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
990
|
-
shortTitle: 'RC NM/Order',
|
|
991
|
-
tooltip: 'Average net profit per returning customer order.',
|
|
992
|
-
formulaDisplay: 'RC Net Margin ÷ RC Order Count',
|
|
993
|
-
formula: 'rc_net_margin / rc_order_count',
|
|
994
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_MARGIN_PER_ORDER, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_PER_ORDER, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN],
|
|
995
|
-
deprecated: true,
|
|
996
|
-
hideFromUI: true,
|
|
997
|
-
},
|
|
998
712
|
[measures_js_1.MEASURE.ORDERS_REFUNDS]: {
|
|
999
713
|
priority: 1,
|
|
1000
714
|
title: 'Refunds',
|
|
@@ -1306,75 +1020,6 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
1306
1020
|
formula: 'rc_order_count / order_count * 100',
|
|
1307
1021
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_RATE, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_COUNT, measures_js_1.MEASURE.ORDERS_COUNT],
|
|
1308
1022
|
},
|
|
1309
|
-
[measures_js_1.MEASURE.ORDERS_CM1_MARGIN_RATE]: {
|
|
1310
|
-
priority: 100,
|
|
1311
|
-
title: 'CM1 Rate',
|
|
1312
|
-
description: 'DEPRECATED: Use ORDERS_CM1_PERCENT instead. Contribution Margin 1 as percentage of revenue.',
|
|
1313
|
-
sumPrefix: '',
|
|
1314
|
-
sumSuffix: '%',
|
|
1315
|
-
avgPrefix: '',
|
|
1316
|
-
avgSuffix: '%',
|
|
1317
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
1318
|
-
measure: measures_js_1.MEASURE.ORDERS_CM1_MARGIN_RATE,
|
|
1319
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
1320
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
|
|
1321
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
1322
|
-
decimalPlaces: 2,
|
|
1323
|
-
useCompactNotation: false,
|
|
1324
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
1325
|
-
tooltip: 'Contribution Margin 1 (gross margin minus variable selling costs) as a percentage of revenue. Measures product-level profitability.',
|
|
1326
|
-
formulaDisplay: 'CM1 ÷ Revenue × 100',
|
|
1327
|
-
formula: 'cm1 / revenue * 100',
|
|
1328
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM2_MARGIN_RATE, measures_js_1.MEASURE.ORDERS_CM3_MARGIN_RATE, measures_js_1.MEASURE.ORDERS_CM1_PER_ORDER],
|
|
1329
|
-
deprecated: true,
|
|
1330
|
-
hideFromUI: true,
|
|
1331
|
-
},
|
|
1332
|
-
[measures_js_1.MEASURE.ORDERS_CM2_MARGIN_RATE]: {
|
|
1333
|
-
priority: 100,
|
|
1334
|
-
title: 'CM2 Rate',
|
|
1335
|
-
description: 'Contribution Margin 2 as percentage of revenue.',
|
|
1336
|
-
sumPrefix: '',
|
|
1337
|
-
sumSuffix: '%',
|
|
1338
|
-
avgPrefix: '',
|
|
1339
|
-
avgSuffix: '%',
|
|
1340
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
1341
|
-
measure: measures_js_1.MEASURE.ORDERS_CM2_MARGIN_RATE,
|
|
1342
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
1343
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
|
|
1344
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
1345
|
-
decimalPlaces: 2,
|
|
1346
|
-
useCompactNotation: false,
|
|
1347
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
1348
|
-
tooltip: 'Contribution Margin 2 (CM1 minus marketing costs) as a percentage of revenue. Reflects post-marketing profitability.',
|
|
1349
|
-
formulaDisplay: 'CM2 ÷ Revenue × 100',
|
|
1350
|
-
formula: 'cm2 / revenue * 100',
|
|
1351
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1_MARGIN_RATE, measures_js_1.MEASURE.ORDERS_CM3_MARGIN_RATE, measures_js_1.MEASURE.ORDERS_CM2_PER_ORDER],
|
|
1352
|
-
deprecated: true,
|
|
1353
|
-
hideFromUI: true,
|
|
1354
|
-
},
|
|
1355
|
-
[measures_js_1.MEASURE.ORDERS_CM3_MARGIN_RATE]: {
|
|
1356
|
-
priority: 100,
|
|
1357
|
-
title: 'CM3 Rate',
|
|
1358
|
-
description: 'DEPRECATED: Use ORDERS_CM3_PERCENT instead. Contribution Margin 3 as percentage of revenue.',
|
|
1359
|
-
sumPrefix: '',
|
|
1360
|
-
sumSuffix: '%',
|
|
1361
|
-
avgPrefix: '',
|
|
1362
|
-
avgSuffix: '%',
|
|
1363
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
1364
|
-
measure: measures_js_1.MEASURE.ORDERS_CM3_MARGIN_RATE,
|
|
1365
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
1366
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_CONTRIBUTION_MARGIN,
|
|
1367
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
1368
|
-
decimalPlaces: 2,
|
|
1369
|
-
useCompactNotation: false,
|
|
1370
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
1371
|
-
tooltip: 'Contribution Margin 3 (CM2 minus additional fixed costs) as a percentage of revenue. The final contribution margin layer.',
|
|
1372
|
-
formulaDisplay: 'CM3 ÷ Revenue × 100',
|
|
1373
|
-
formula: 'cm3 / revenue * 100',
|
|
1374
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1_MARGIN_RATE, measures_js_1.MEASURE.ORDERS_CM2_MARGIN_RATE, measures_js_1.MEASURE.ORDERS_CM3_PER_ORDER],
|
|
1375
|
-
deprecated: true,
|
|
1376
|
-
hideFromUI: true,
|
|
1377
|
-
},
|
|
1378
1023
|
[measures_js_1.MEASURE.ORDERS_CM1_PER_ORDER]: {
|
|
1379
1024
|
priority: 5,
|
|
1380
1025
|
title: 'CM1 Per Order (Gross Margin Per Order)',
|
|
@@ -1395,7 +1040,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
1395
1040
|
tooltip: 'CM1 Per Order is the conservative gross margin per order using Net Revenue minus Effective COGS.',
|
|
1396
1041
|
formulaDisplay: '(CM1) ÷ (Order Count)',
|
|
1397
1042
|
formula: '(cm1) / (order_count)',
|
|
1398
|
-
relatedMeasures: [measures_js_1.MEASURE.
|
|
1043
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1_PERCENT, measures_js_1.MEASURE.ORDERS_CM2_PER_ORDER, measures_js_1.MEASURE.ORDERS_CM3_PER_ORDER],
|
|
1399
1044
|
},
|
|
1400
1045
|
[measures_js_1.MEASURE.ORDERS_CM2_PER_ORDER]: {
|
|
1401
1046
|
priority: 6,
|
|
@@ -1416,7 +1061,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
1416
1061
|
tooltip: 'Average Contribution Margin 2 per order, after deducting marketing costs. Helps assess marketing efficiency at the order level.',
|
|
1417
1062
|
formulaDisplay: 'CM2 ÷ Order Count',
|
|
1418
1063
|
formula: 'cm2 / order_count',
|
|
1419
|
-
relatedMeasures: [measures_js_1.MEASURE.
|
|
1064
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM2_PERCENT, measures_js_1.MEASURE.ORDERS_CM1_PER_ORDER, measures_js_1.MEASURE.ORDERS_CM3_PER_ORDER],
|
|
1420
1065
|
},
|
|
1421
1066
|
[measures_js_1.MEASURE.ORDERS_CM3_PER_ORDER]: {
|
|
1422
1067
|
priority: 7,
|
|
@@ -1437,7 +1082,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
1437
1082
|
tooltip: 'Average Contribution Margin 3 per order, after all layered cost deductions.',
|
|
1438
1083
|
formulaDisplay: 'CM3 ÷ Order Count',
|
|
1439
1084
|
formula: 'cm3 / order_count',
|
|
1440
|
-
relatedMeasures: [measures_js_1.MEASURE.
|
|
1085
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM3_PERCENT, measures_js_1.MEASURE.ORDERS_CM1_PER_ORDER, measures_js_1.MEASURE.ORDERS_CM2_PER_ORDER],
|
|
1441
1086
|
},
|
|
1442
1087
|
[measures_js_1.MEASURE.ORDERS_AVG_ORDERS_PER_CUSTOMER]: {
|
|
1443
1088
|
priority: 6,
|
|
@@ -1879,7 +1524,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
1879
1524
|
valueType: measure_value_type_js_1.MeasureValueType.NUMBER,
|
|
1880
1525
|
decimalPlaces: 0,
|
|
1881
1526
|
useCompactNotation: false,
|
|
1882
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
1527
|
+
applicableContexts: measure_applicable_contexts_js_1.CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
|
|
1883
1528
|
shortTitle: 'Cancellations',
|
|
1884
1529
|
tooltip: 'The number of orders that were cancelled before fulfillment. High counts may indicate checkout friction or inventory issues.',
|
|
1885
1530
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CANCELLED_AMOUNT, measures_js_1.MEASURE.ORDERS_COUNT, measures_js_1.MEASURE.ORDERS_REFUND_COUNT],
|
|
@@ -1899,7 +1544,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
1899
1544
|
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
1900
1545
|
decimalPlaces: 2,
|
|
1901
1546
|
useCompactNotation: true,
|
|
1902
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
1547
|
+
applicableContexts: measure_applicable_contexts_js_1.CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
|
|
1903
1548
|
shortTitle: 'Cancelled $',
|
|
1904
1549
|
tooltip: 'The total dollar value of cancelled orders. Represents potential revenue that was lost before fulfillment.',
|
|
1905
1550
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CANCELLED_COUNT, measures_js_1.MEASURE.ORDERS_REFUNDS, measures_js_1.MEASURE.ORDERS_TOTAL_REVENUE],
|
|
@@ -1919,7 +1564,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
1919
1564
|
valueType: measure_value_type_js_1.MeasureValueType.NUMBER,
|
|
1920
1565
|
decimalPlaces: 0,
|
|
1921
1566
|
useCompactNotation: false,
|
|
1922
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
1567
|
+
applicableContexts: measure_applicable_contexts_js_1.CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
|
|
1923
1568
|
shortTitle: 'NC Cancellations',
|
|
1924
1569
|
tooltip: 'The number of new customer orders that were cancelled before fulfillment.',
|
|
1925
1570
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CANCELLED_AMOUNT, measures_js_1.MEASURE.ORDERS_CANCELLED_COUNT, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_COUNT],
|
|
@@ -1939,7 +1584,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
1939
1584
|
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
1940
1585
|
decimalPlaces: 2,
|
|
1941
1586
|
useCompactNotation: true,
|
|
1942
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
1587
|
+
applicableContexts: measure_applicable_contexts_js_1.CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
|
|
1943
1588
|
shortTitle: 'NC Cancelled $',
|
|
1944
1589
|
tooltip: 'The total dollar value of cancelled new customer orders.',
|
|
1945
1590
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CANCELLED_COUNT, measures_js_1.MEASURE.ORDERS_CANCELLED_AMOUNT, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_TOTAL_REVENUE],
|
|
@@ -1959,7 +1604,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
1959
1604
|
valueType: measure_value_type_js_1.MeasureValueType.NUMBER,
|
|
1960
1605
|
decimalPlaces: 0,
|
|
1961
1606
|
useCompactNotation: false,
|
|
1962
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
1607
|
+
applicableContexts: measure_applicable_contexts_js_1.CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
|
|
1963
1608
|
shortTitle: 'RC Cancellations',
|
|
1964
1609
|
tooltip: 'The number of returning customer orders that were cancelled before fulfillment.',
|
|
1965
1610
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CANCELLED_AMOUNT, measures_js_1.MEASURE.ORDERS_CANCELLED_COUNT, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_COUNT],
|
|
@@ -1979,7 +1624,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
1979
1624
|
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
1980
1625
|
decimalPlaces: 2,
|
|
1981
1626
|
useCompactNotation: true,
|
|
1982
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
1627
|
+
applicableContexts: measure_applicable_contexts_js_1.CUSTOM_DASHBOARD_APPLICABLE_CONTEXTS,
|
|
1983
1628
|
shortTitle: 'RC Cancelled $',
|
|
1984
1629
|
tooltip: 'The total dollar value of cancelled returning customer orders.',
|
|
1985
1630
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CANCELLED_COUNT, measures_js_1.MEASURE.ORDERS_CANCELLED_AMOUNT, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_TOTAL_REVENUE],
|
|
@@ -2003,7 +1648,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2003
1648
|
hideFromUI: true,
|
|
2004
1649
|
shortTitle: 'Gross Prod. Margin',
|
|
2005
1650
|
tooltip: 'Gross margin calculated at the product level, before order-level adjustments like shipping or taxes.',
|
|
2006
|
-
relatedMeasures: [measures_js_1.MEASURE.
|
|
1651
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1, measures_js_1.MEASURE.ORDERS_NET_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_GROSS_PRODUCT_MARGIN_GROSS_RATE],
|
|
2007
1652
|
},
|
|
2008
1653
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN]: {
|
|
2009
1654
|
priority: 2,
|
|
@@ -2024,7 +1669,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2024
1669
|
hideFromUI: true,
|
|
2025
1670
|
shortTitle: 'NC Gross Prod. Mg',
|
|
2026
1671
|
tooltip: 'Product-level gross margin from new customer orders.',
|
|
2027
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PRODUCT_MARGIN, measures_js_1.MEASURE.
|
|
1672
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM1],
|
|
2028
1673
|
},
|
|
2029
1674
|
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PRODUCT_MARGIN]: {
|
|
2030
1675
|
priority: 3,
|
|
@@ -2045,7 +1690,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2045
1690
|
hideFromUI: true,
|
|
2046
1691
|
shortTitle: 'RC Gross Prod. Mg',
|
|
2047
1692
|
tooltip: 'Product-level gross margin from returning customer orders.',
|
|
2048
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN, measures_js_1.MEASURE.
|
|
1693
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM1],
|
|
2049
1694
|
},
|
|
2050
1695
|
[measures_js_1.MEASURE.ORDERS_GROSS_PRODUCT_MARGIN_GROSS_RATE]: {
|
|
2051
1696
|
priority: 11,
|
|
@@ -2068,7 +1713,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2068
1713
|
tooltip: 'Gross product margin as a share of gross revenue. Shows how efficiently products are priced relative to their costs.',
|
|
2069
1714
|
formulaDisplay: 'Gross Product Margin ÷ Gross Revenue × 100',
|
|
2070
1715
|
formula: 'gross_product_margin / gross_revenue * 100',
|
|
2071
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_PRODUCT_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, measures_js_1.MEASURE.
|
|
1716
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_PRODUCT_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_CM1_PERCENT],
|
|
2072
1717
|
},
|
|
2073
1718
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PRODUCT_MARGIN_GROSS_RATE]: {
|
|
2074
1719
|
priority: 12,
|
|
@@ -2273,7 +1918,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2273
1918
|
hideFromUI: true,
|
|
2274
1919
|
shortTitle: 'Net Prod. Margin',
|
|
2275
1920
|
tooltip: 'Net margin calculated at the product level after discounts and refunds, but before order-level fees.',
|
|
2276
|
-
relatedMeasures: [measures_js_1.MEASURE.
|
|
1921
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1, measures_js_1.MEASURE.ORDERS_GROSS_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_NET_PRODUCT_MARGIN_NET_RATE],
|
|
2277
1922
|
},
|
|
2278
1923
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_PRODUCT_MARGIN]: {
|
|
2279
1924
|
priority: 22,
|
|
@@ -2294,7 +1939,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2294
1939
|
hideFromUI: true,
|
|
2295
1940
|
shortTitle: 'NC Net Prod. Mg',
|
|
2296
1941
|
tooltip: 'Product-level net margin from new customer orders after discounts and refunds.',
|
|
2297
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_PRODUCT_MARGIN, measures_js_1.MEASURE.
|
|
1942
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM1],
|
|
2298
1943
|
},
|
|
2299
1944
|
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_PRODUCT_MARGIN]: {
|
|
2300
1945
|
priority: 23,
|
|
@@ -2315,7 +1960,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2315
1960
|
hideFromUI: true,
|
|
2316
1961
|
shortTitle: 'RC Net Prod. Mg',
|
|
2317
1962
|
tooltip: 'Product-level net margin from returning customer orders after discounts and refunds.',
|
|
2318
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_PRODUCT_MARGIN, measures_js_1.MEASURE.
|
|
1963
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM1],
|
|
2319
1964
|
},
|
|
2320
1965
|
[measures_js_1.MEASURE.ORDERS_NET_PRODUCT_MARGIN_GROSS_RATE]: {
|
|
2321
1966
|
priority: 31,
|
|
@@ -2524,294 +2169,6 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2524
2169
|
formula: 'rc_net_product_margin / rc_order_count',
|
|
2525
2170
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_PRODUCT_MARGIN, measures_js_1.MEASURE.ORDERS_NET_PRODUCT_MARGIN_PER_ORDER, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_COUNT],
|
|
2526
2171
|
},
|
|
2527
|
-
[measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE]: {
|
|
2528
|
-
priority: 100,
|
|
2529
|
-
title: 'Gross Margin / Gross Rate',
|
|
2530
|
-
description: 'DEPRECATED: Use CM1 instead. Gross margin as percentage of gross revenue.',
|
|
2531
|
-
sumPrefix: '',
|
|
2532
|
-
sumSuffix: '%',
|
|
2533
|
-
avgPrefix: '',
|
|
2534
|
-
avgSuffix: '%',
|
|
2535
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2536
|
-
measure: measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE,
|
|
2537
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2538
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2539
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2540
|
-
decimalPlaces: 2,
|
|
2541
|
-
useCompactNotation: false,
|
|
2542
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2543
|
-
shortTitle: 'GM / Gross %',
|
|
2544
|
-
tooltip: 'Gross margin (revenue minus COGS) as a percentage of gross revenue. The standard gross margin percentage metric.',
|
|
2545
|
-
formulaDisplay: 'Gross Margin ÷ Gross Revenue × 100',
|
|
2546
|
-
formula: 'gross_margin / gross_revenue * 100',
|
|
2547
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_GROSS_MARGIN, measures_js_1.MEASURE.ORDERS_NET_MARGIN_GROSS_RATE],
|
|
2548
|
-
deprecated: true,
|
|
2549
|
-
hideFromUI: true,
|
|
2550
|
-
},
|
|
2551
|
-
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_GROSS_RATE]: {
|
|
2552
|
-
priority: 100,
|
|
2553
|
-
title: 'NC Gross Margin / Gross Rate',
|
|
2554
|
-
description: 'DEPRECATED: Use CM1 instead. NC gross margin as percentage of gross revenue.',
|
|
2555
|
-
sumPrefix: '',
|
|
2556
|
-
sumSuffix: '%',
|
|
2557
|
-
avgPrefix: '',
|
|
2558
|
-
avgSuffix: '%',
|
|
2559
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2560
|
-
measure: measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_GROSS_RATE,
|
|
2561
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2562
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2563
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2564
|
-
decimalPlaces: 2,
|
|
2565
|
-
useCompactNotation: false,
|
|
2566
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2567
|
-
shortTitle: 'NC GM/Gross %',
|
|
2568
|
-
tooltip: 'New customer gross margin as a share of their gross revenue.',
|
|
2569
|
-
formulaDisplay: 'NC Gross Margin ÷ NC Gross Revenue × 100',
|
|
2570
|
-
formula: 'nc_gross_margin / nc_gross_revenue * 100',
|
|
2571
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_GROSS_RATE, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_NET_RATE],
|
|
2572
|
-
deprecated: true,
|
|
2573
|
-
hideFromUI: true,
|
|
2574
|
-
},
|
|
2575
|
-
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_GROSS_RATE]: {
|
|
2576
|
-
priority: 100,
|
|
2577
|
-
title: 'RC Gross Margin / Gross Rate',
|
|
2578
|
-
description: 'DEPRECATED: Use CM1 instead. RC gross margin as percentage of gross revenue.',
|
|
2579
|
-
sumPrefix: '',
|
|
2580
|
-
sumSuffix: '%',
|
|
2581
|
-
avgPrefix: '',
|
|
2582
|
-
avgSuffix: '%',
|
|
2583
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2584
|
-
measure: measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_GROSS_RATE,
|
|
2585
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2586
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2587
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2588
|
-
decimalPlaces: 2,
|
|
2589
|
-
useCompactNotation: false,
|
|
2590
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2591
|
-
shortTitle: 'RC GM/Gross %',
|
|
2592
|
-
tooltip: 'Returning customer gross margin as a share of their gross revenue.',
|
|
2593
|
-
formulaDisplay: 'RC Gross Margin ÷ RC Gross Revenue × 100',
|
|
2594
|
-
formula: 'rc_gross_margin / rc_gross_revenue * 100',
|
|
2595
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_GROSS_RATE, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_NET_RATE],
|
|
2596
|
-
deprecated: true,
|
|
2597
|
-
hideFromUI: true,
|
|
2598
|
-
},
|
|
2599
|
-
[measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_NET_RATE]: {
|
|
2600
|
-
priority: 100,
|
|
2601
|
-
title: 'Gross Margin / Net Rate',
|
|
2602
|
-
description: 'DEPRECATED: Use CM1 instead. Gross margin as percentage of net revenue.',
|
|
2603
|
-
sumPrefix: '',
|
|
2604
|
-
sumSuffix: '%',
|
|
2605
|
-
avgPrefix: '',
|
|
2606
|
-
avgSuffix: '%',
|
|
2607
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2608
|
-
measure: measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_NET_RATE,
|
|
2609
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2610
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2611
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2612
|
-
decimalPlaces: 2,
|
|
2613
|
-
useCompactNotation: false,
|
|
2614
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2615
|
-
shortTitle: 'GM / Net %',
|
|
2616
|
-
tooltip: 'Gross margin as a share of net revenue (after discounts and refunds). Typically higher than the gross rate due to the smaller denominator.',
|
|
2617
|
-
formulaDisplay: 'Gross Margin ÷ Net Revenue × 100',
|
|
2618
|
-
formula: 'gross_margin / net_revenue * 100',
|
|
2619
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE, measures_js_1.MEASURE.ORDERS_GROSS_MARGIN, measures_js_1.MEASURE.ORDERS_NET_MARGIN_NET_RATE],
|
|
2620
|
-
deprecated: true,
|
|
2621
|
-
hideFromUI: true,
|
|
2622
|
-
},
|
|
2623
|
-
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_NET_RATE]: {
|
|
2624
|
-
priority: 100,
|
|
2625
|
-
title: 'NC Gross Margin / Net Rate',
|
|
2626
|
-
description: 'DEPRECATED: Use CM1 instead. NC gross margin as percentage of net revenue.',
|
|
2627
|
-
sumPrefix: '',
|
|
2628
|
-
sumSuffix: '%',
|
|
2629
|
-
avgPrefix: '',
|
|
2630
|
-
avgSuffix: '%',
|
|
2631
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2632
|
-
measure: measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_NET_RATE,
|
|
2633
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2634
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2635
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2636
|
-
decimalPlaces: 2,
|
|
2637
|
-
useCompactNotation: false,
|
|
2638
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2639
|
-
shortTitle: 'NC GM/Net %',
|
|
2640
|
-
tooltip: 'New customer gross margin as a share of their net revenue.',
|
|
2641
|
-
formulaDisplay: 'NC Gross Margin ÷ NC Net Revenue × 100',
|
|
2642
|
-
formula: 'nc_gross_margin / nc_net_revenue * 100',
|
|
2643
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_GROSS_RATE],
|
|
2644
|
-
deprecated: true,
|
|
2645
|
-
hideFromUI: true,
|
|
2646
|
-
},
|
|
2647
|
-
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_NET_RATE]: {
|
|
2648
|
-
priority: 100,
|
|
2649
|
-
title: 'RC Gross Margin / Net Rate',
|
|
2650
|
-
description: 'DEPRECATED: Use CM1 instead. RC gross margin as percentage of net revenue.',
|
|
2651
|
-
sumPrefix: '',
|
|
2652
|
-
sumSuffix: '%',
|
|
2653
|
-
avgPrefix: '',
|
|
2654
|
-
avgSuffix: '%',
|
|
2655
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2656
|
-
measure: measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_NET_RATE,
|
|
2657
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2658
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2659
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2660
|
-
decimalPlaces: 2,
|
|
2661
|
-
useCompactNotation: false,
|
|
2662
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2663
|
-
shortTitle: 'RC GM/Net %',
|
|
2664
|
-
tooltip: 'Returning customer gross margin as a share of their net revenue.',
|
|
2665
|
-
formulaDisplay: 'RC Gross Margin ÷ RC Net Revenue × 100',
|
|
2666
|
-
formula: 'rc_gross_margin / rc_net_revenue * 100',
|
|
2667
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_MARGIN_GROSS_RATE],
|
|
2668
|
-
deprecated: true,
|
|
2669
|
-
hideFromUI: true,
|
|
2670
|
-
},
|
|
2671
|
-
[measures_js_1.MEASURE.ORDERS_NET_MARGIN_GROSS_RATE]: {
|
|
2672
|
-
priority: 100,
|
|
2673
|
-
title: 'Net Margin / Gross Rate',
|
|
2674
|
-
description: 'DEPRECATED: Use CM1 instead. Net margin as percentage of gross revenue.',
|
|
2675
|
-
sumPrefix: '',
|
|
2676
|
-
sumSuffix: '%',
|
|
2677
|
-
avgPrefix: '',
|
|
2678
|
-
avgSuffix: '%',
|
|
2679
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2680
|
-
measure: measures_js_1.MEASURE.ORDERS_NET_MARGIN_GROSS_RATE,
|
|
2681
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2682
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2683
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2684
|
-
decimalPlaces: 2,
|
|
2685
|
-
useCompactNotation: false,
|
|
2686
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2687
|
-
shortTitle: 'NM / Gross %',
|
|
2688
|
-
tooltip: 'Net margin (net revenue minus COGS) as a share of gross revenue. A conservative profitability rate that absorbs all revenue reductions.',
|
|
2689
|
-
formulaDisplay: 'Net Margin ÷ Gross Revenue × 100',
|
|
2690
|
-
formula: 'net_margin / gross_revenue * 100',
|
|
2691
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_NET_MARGIN, measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_GROSS_RATE],
|
|
2692
|
-
deprecated: true,
|
|
2693
|
-
hideFromUI: true,
|
|
2694
|
-
},
|
|
2695
|
-
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_GROSS_RATE]: {
|
|
2696
|
-
priority: 100,
|
|
2697
|
-
title: 'NC Net Margin / Gross Rate',
|
|
2698
|
-
description: 'DEPRECATED: Use CM1 instead. NC net margin as percentage of gross revenue.',
|
|
2699
|
-
sumPrefix: '',
|
|
2700
|
-
sumSuffix: '%',
|
|
2701
|
-
avgPrefix: '',
|
|
2702
|
-
avgSuffix: '%',
|
|
2703
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2704
|
-
measure: measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_GROSS_RATE,
|
|
2705
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2706
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2707
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2708
|
-
decimalPlaces: 2,
|
|
2709
|
-
useCompactNotation: false,
|
|
2710
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2711
|
-
shortTitle: 'NC NM/Gross %',
|
|
2712
|
-
tooltip: 'New customer net margin as a share of their gross revenue.',
|
|
2713
|
-
formulaDisplay: 'NC Net Margin ÷ NC Gross Revenue × 100',
|
|
2714
|
-
formula: 'nc_net_margin / nc_gross_revenue * 100',
|
|
2715
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_MARGIN_GROSS_RATE, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_GROSS_RATE, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_NET_RATE],
|
|
2716
|
-
deprecated: true,
|
|
2717
|
-
hideFromUI: true,
|
|
2718
|
-
},
|
|
2719
|
-
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_GROSS_RATE]: {
|
|
2720
|
-
priority: 100,
|
|
2721
|
-
title: 'RC Net Margin / Gross Rate',
|
|
2722
|
-
description: 'DEPRECATED: Use CM1 instead. RC net margin as percentage of gross revenue.',
|
|
2723
|
-
sumPrefix: '',
|
|
2724
|
-
sumSuffix: '%',
|
|
2725
|
-
avgPrefix: '',
|
|
2726
|
-
avgSuffix: '%',
|
|
2727
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2728
|
-
measure: measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_GROSS_RATE,
|
|
2729
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2730
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2731
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2732
|
-
decimalPlaces: 2,
|
|
2733
|
-
useCompactNotation: false,
|
|
2734
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2735
|
-
shortTitle: 'RC NM/Gross %',
|
|
2736
|
-
tooltip: 'Returning customer net margin as a share of their gross revenue.',
|
|
2737
|
-
formulaDisplay: 'RC Net Margin ÷ RC Gross Revenue × 100',
|
|
2738
|
-
formula: 'rc_net_margin / rc_gross_revenue * 100',
|
|
2739
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_MARGIN_GROSS_RATE, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_GROSS_RATE, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_NET_RATE],
|
|
2740
|
-
deprecated: true,
|
|
2741
|
-
hideFromUI: true,
|
|
2742
|
-
},
|
|
2743
|
-
[measures_js_1.MEASURE.ORDERS_NET_MARGIN_NET_RATE]: {
|
|
2744
|
-
priority: 100,
|
|
2745
|
-
title: 'Net Margin / Net Rate',
|
|
2746
|
-
description: 'DEPRECATED: Use CM1 instead. Net margin as percentage of net revenue.',
|
|
2747
|
-
sumPrefix: '',
|
|
2748
|
-
sumSuffix: '%',
|
|
2749
|
-
avgPrefix: '',
|
|
2750
|
-
avgSuffix: '%',
|
|
2751
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2752
|
-
measure: measures_js_1.MEASURE.ORDERS_NET_MARGIN_NET_RATE,
|
|
2753
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2754
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2755
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2756
|
-
decimalPlaces: 2,
|
|
2757
|
-
useCompactNotation: false,
|
|
2758
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2759
|
-
shortTitle: 'NM / Net %',
|
|
2760
|
-
tooltip: 'Net margin as a share of net revenue. This is the standard net margin percentage, showing profit after all product-level costs.',
|
|
2761
|
-
formulaDisplay: 'Net Margin ÷ Net Revenue × 100',
|
|
2762
|
-
formula: 'net_margin / net_revenue * 100',
|
|
2763
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_MARGIN_GROSS_RATE, measures_js_1.MEASURE.ORDERS_NET_MARGIN, measures_js_1.MEASURE.ORDERS_GROSS_MARGIN_NET_RATE],
|
|
2764
|
-
deprecated: true,
|
|
2765
|
-
hideFromUI: true,
|
|
2766
|
-
},
|
|
2767
|
-
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_NET_RATE]: {
|
|
2768
|
-
priority: 100,
|
|
2769
|
-
title: 'NC Net Margin / Net Rate',
|
|
2770
|
-
description: 'DEPRECATED: Use CM1 instead. NC net margin as percentage of net revenue.',
|
|
2771
|
-
sumPrefix: '',
|
|
2772
|
-
sumSuffix: '%',
|
|
2773
|
-
avgPrefix: '',
|
|
2774
|
-
avgSuffix: '%',
|
|
2775
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2776
|
-
measure: measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_NET_RATE,
|
|
2777
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2778
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2779
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2780
|
-
decimalPlaces: 2,
|
|
2781
|
-
useCompactNotation: false,
|
|
2782
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2783
|
-
shortTitle: 'NC NM/Net %',
|
|
2784
|
-
tooltip: 'New customer net margin as a share of their net revenue.',
|
|
2785
|
-
formulaDisplay: 'NC Net Margin ÷ NC Net Revenue × 100',
|
|
2786
|
-
formula: 'nc_net_margin / nc_net_revenue * 100',
|
|
2787
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_GROSS_RATE],
|
|
2788
|
-
deprecated: true,
|
|
2789
|
-
hideFromUI: true,
|
|
2790
|
-
},
|
|
2791
|
-
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_NET_RATE]: {
|
|
2792
|
-
priority: 100,
|
|
2793
|
-
title: 'RC Net Margin / Net Rate',
|
|
2794
|
-
description: 'DEPRECATED: Use CM1 instead. RC net margin as percentage of net revenue.',
|
|
2795
|
-
sumPrefix: '',
|
|
2796
|
-
sumSuffix: '%',
|
|
2797
|
-
avgPrefix: '',
|
|
2798
|
-
avgSuffix: '%',
|
|
2799
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
2800
|
-
measure: measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_NET_RATE,
|
|
2801
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
2802
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
2803
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
2804
|
-
decimalPlaces: 2,
|
|
2805
|
-
useCompactNotation: false,
|
|
2806
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
2807
|
-
shortTitle: 'RC NM/Net %',
|
|
2808
|
-
tooltip: 'Returning customer net margin as a share of their net revenue.',
|
|
2809
|
-
formulaDisplay: 'RC Net Margin ÷ RC Net Revenue × 100',
|
|
2810
|
-
formula: 'rc_net_margin / rc_net_revenue * 100',
|
|
2811
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_MARGIN_NET_RATE, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_NET_MARGIN_GROSS_RATE],
|
|
2812
|
-
deprecated: true,
|
|
2813
|
-
hideFromUI: true,
|
|
2814
|
-
},
|
|
2815
2172
|
[measures_js_1.MEASURE.ORDERS_COGS_GROSS_RATE]: {
|
|
2816
2173
|
priority: 31,
|
|
2817
2174
|
title: 'COGS / Gross Rate',
|
|
@@ -2832,7 +2189,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2832
2189
|
tooltip: 'Cost of goods as a share of gross revenue. The complement of gross margin rate — COGS % + Gross Margin % = 100%.',
|
|
2833
2190
|
formulaDisplay: 'COGS ÷ Gross Revenue × 100',
|
|
2834
2191
|
formula: 'cogs / gross_revenue * 100',
|
|
2835
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS_NET_RATE, measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.
|
|
2192
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS_NET_RATE, measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.ORDERS_CM1_PERCENT],
|
|
2836
2193
|
},
|
|
2837
2194
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_COGS_GROSS_RATE]: {
|
|
2838
2195
|
priority: 35,
|
|
@@ -2898,7 +2255,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2898
2255
|
tooltip: 'COGS as a share of net revenue. Higher than gross rate because discounts and refunds reduce the denominator.',
|
|
2899
2256
|
formulaDisplay: 'COGS ÷ Net Revenue × 100',
|
|
2900
2257
|
formula: 'cogs / net_revenue * 100',
|
|
2901
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS_GROSS_RATE, measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.
|
|
2258
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COGS_GROSS_RATE, measures_js_1.MEASURE.ORDERS_COGS, measures_js_1.MEASURE.ORDERS_CM1_PERCENT],
|
|
2902
2259
|
},
|
|
2903
2260
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_COGS_NET_RATE]: {
|
|
2904
2261
|
priority: 36,
|
|
@@ -2959,7 +2316,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2959
2316
|
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
2960
2317
|
decimalPlaces: 2,
|
|
2961
2318
|
useCompactNotation: true,
|
|
2962
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
2319
|
+
applicableContexts: measure_applicable_contexts_js_1.LTV_COHORT_APPLICABLE_CONTEXTS,
|
|
2963
2320
|
shortTitle: 'LTV',
|
|
2964
2321
|
tooltip: 'The average total revenue generated per customer over their entire purchase history. Higher LTV justifies greater acquisition spend.',
|
|
2965
2322
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_LTV_90, measures_js_1.MEASURE.ORDERS_LTV_180, measures_js_1.MEASURE.ORDERS_LTV_365, measures_js_1.MEASURE.ORDERS_AVG_ORDERS_PER_CUSTOMER],
|
|
@@ -2979,7 +2336,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2979
2336
|
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
2980
2337
|
decimalPlaces: 2,
|
|
2981
2338
|
useCompactNotation: true,
|
|
2982
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
2339
|
+
applicableContexts: measure_applicable_contexts_js_1.LTV_COHORT_APPLICABLE_CONTEXTS,
|
|
2983
2340
|
tooltip: 'Average revenue per customer within 90 days of their first purchase. Useful for evaluating short-term payback on acquisition.',
|
|
2984
2341
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_LTV, measures_js_1.MEASURE.ORDERS_LTV_180, measures_js_1.MEASURE.ORDERS_LTV_365],
|
|
2985
2342
|
},
|
|
@@ -2998,7 +2355,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2998
2355
|
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
2999
2356
|
decimalPlaces: 2,
|
|
3000
2357
|
useCompactNotation: true,
|
|
3001
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
2358
|
+
applicableContexts: measure_applicable_contexts_js_1.LTV_COHORT_APPLICABLE_CONTEXTS,
|
|
3002
2359
|
tooltip: 'Average revenue per customer within 180 days of their first purchase. Captures two purchase cycles for most repeat-buy categories.',
|
|
3003
2360
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_LTV, measures_js_1.MEASURE.ORDERS_LTV_90, measures_js_1.MEASURE.ORDERS_LTV_365],
|
|
3004
2361
|
},
|
|
@@ -3017,7 +2374,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
3017
2374
|
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
3018
2375
|
decimalPlaces: 2,
|
|
3019
2376
|
useCompactNotation: true,
|
|
3020
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
2377
|
+
applicableContexts: measure_applicable_contexts_js_1.LTV_COHORT_APPLICABLE_CONTEXTS,
|
|
3021
2378
|
tooltip: 'Average revenue per customer in the first full year after acquisition. A standard benchmark for paid acquisition payback periods.',
|
|
3022
2379
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_LTV, measures_js_1.MEASURE.ORDERS_LTV_90, measures_js_1.MEASURE.ORDERS_LTV_180],
|
|
3023
2380
|
},
|
|
@@ -3036,7 +2393,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
3036
2393
|
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
3037
2394
|
decimalPlaces: 2,
|
|
3038
2395
|
useCompactNotation: true,
|
|
3039
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
2396
|
+
applicableContexts: measure_applicable_contexts_js_1.LTV_COHORT_APPLICABLE_CONTEXTS,
|
|
3040
2397
|
shortTitle: 'Cohort Gross Rev',
|
|
3041
2398
|
tooltip: 'Cumulative gross revenue generated by a customer cohort over time. Used for LTV cohort analysis across acquisition periods.',
|
|
3042
2399
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COHORT_NET_REVENUE, measures_js_1.MEASURE.ORDERS_COHORT_AOV, measures_js_1.MEASURE.ORDERS_COHORT_CUSTOMERS],
|
|
@@ -3056,7 +2413,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
3056
2413
|
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
3057
2414
|
decimalPlaces: 2,
|
|
3058
2415
|
useCompactNotation: true,
|
|
3059
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
2416
|
+
applicableContexts: measure_applicable_contexts_js_1.LTV_COHORT_APPLICABLE_CONTEXTS,
|
|
3060
2417
|
shortTitle: 'Cohort Net Rev',
|
|
3061
2418
|
tooltip: 'Cumulative net revenue (after discounts and refunds) from a customer cohort over time.',
|
|
3062
2419
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COHORT_GROSS_REVENUE, measures_js_1.MEASURE.ORDERS_COHORT_AOV, measures_js_1.MEASURE.ORDERS_COHORT_CUSTOMERS],
|
|
@@ -3076,7 +2433,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
3076
2433
|
valueType: measure_value_type_js_1.MeasureValueType.NUMBER,
|
|
3077
2434
|
decimalPlaces: 0,
|
|
3078
2435
|
useCompactNotation: true,
|
|
3079
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
2436
|
+
applicableContexts: measure_applicable_contexts_js_1.LTV_COHORT_APPLICABLE_CONTEXTS,
|
|
3080
2437
|
shortTitle: 'Cohort Cust.',
|
|
3081
2438
|
tooltip: 'The number of customers who made their first purchase in the cohort period. The denominator for all per-customer cohort metrics.',
|
|
3082
2439
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_COHORT_GROSS_REVENUE, measures_js_1.MEASURE.ORDERS_COHORT_RETENTION_RATE, measures_js_1.MEASURE.ORDERS_COHORT_AOV],
|
|
@@ -3096,7 +2453,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
3096
2453
|
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
3097
2454
|
decimalPlaces: 2,
|
|
3098
2455
|
useCompactNotation: false,
|
|
3099
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
2456
|
+
applicableContexts: measure_applicable_contexts_js_1.LTV_COHORT_APPLICABLE_CONTEXTS,
|
|
3100
2457
|
shortTitle: 'Cohort Retention',
|
|
3101
2458
|
tooltip: 'The percentage of customers in a cohort who made an additional purchase in a subsequent period. Higher retention drives LTV.',
|
|
3102
2459
|
formulaDisplay: 'Returning Cohort Customers ÷ Initial Cohort Customers × 100',
|
|
@@ -3118,7 +2475,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
3118
2475
|
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
3119
2476
|
decimalPlaces: 2,
|
|
3120
2477
|
useCompactNotation: true,
|
|
3121
|
-
applicableContexts: measure_applicable_contexts_js_1.
|
|
2478
|
+
applicableContexts: measure_applicable_contexts_js_1.LTV_COHORT_APPLICABLE_CONTEXTS,
|
|
3122
2479
|
tooltip: 'Average order value for orders placed by customers in the cohort. Tracks whether AOV changes as a cohort matures.',
|
|
3123
2480
|
formulaDisplay: 'Cohort Revenue ÷ Cohort Order Count',
|
|
3124
2481
|
formula: 'cohort_revenue / cohort_order_count',
|
|
@@ -4065,7 +3422,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4065
3422
|
tooltip: 'The true cost of products sold, accounting for returns and handling fees.',
|
|
4066
3423
|
formulaDisplay: 'Orders COGS + Handling − Refund COGS',
|
|
4067
3424
|
formula: 'orders_cogs + handling - refund_cogs',
|
|
4068
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_EFFECTIVE_COGS_PERCENT, measures_js_1.MEASURE.ORDERS_COGS_FROM_ORDERS, measures_js_1.MEASURE.ORDERS_COGS_FROM_REFUNDS, measures_js_1.MEASURE.
|
|
3425
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_EFFECTIVE_COGS_PERCENT, measures_js_1.MEASURE.ORDERS_COGS_FROM_ORDERS, measures_js_1.MEASURE.ORDERS_COGS_FROM_REFUNDS, measures_js_1.MEASURE.ORDERS_CM1],
|
|
4069
3426
|
},
|
|
4070
3427
|
[measures_js_1.MEASURE.ORDERS_EFFECTIVE_COGS_PERCENT]: {
|
|
4071
3428
|
priority: 33,
|
|
@@ -4087,7 +3444,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4087
3444
|
tooltip: 'What percentage of net sales goes toward product costs. Lower means higher gross margins.',
|
|
4088
3445
|
formulaDisplay: '(Effective COGS ÷ Net Sales) × 100',
|
|
4089
3446
|
formula: '(effective_cogs / net_sales) * 100',
|
|
4090
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_EFFECTIVE_COGS, measures_js_1.MEASURE.
|
|
3447
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_EFFECTIVE_COGS, measures_js_1.MEASURE.ORDERS_CM1_PERCENT],
|
|
4091
3448
|
},
|
|
4092
3449
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_EFFECTIVE_COGS]: {
|
|
4093
3450
|
priority: 12,
|
|
@@ -4230,7 +3587,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4230
3587
|
useCompactNotation: true,
|
|
4231
3588
|
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4232
3589
|
tooltip: 'Costs that scale with order volume, such as transaction fees and fulfillment costs.',
|
|
4233
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_VARIABLE_COSTS_PERCENT, measures_js_1.MEASURE.ORDERS_FIXED_COSTS, measures_js_1.MEASURE.
|
|
3590
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_VARIABLE_COSTS_PERCENT, measures_js_1.MEASURE.ORDERS_FIXED_COSTS, measures_js_1.MEASURE.ORDERS_CM2_PERCENT],
|
|
4234
3591
|
},
|
|
4235
3592
|
[measures_js_1.MEASURE.ORDERS_VARIABLE_COSTS_PERCENT]: {
|
|
4236
3593
|
priority: 61,
|
|
@@ -4354,7 +3711,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4354
3711
|
useCompactNotation: true,
|
|
4355
3712
|
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4356
3713
|
tooltip: 'Overhead costs that remain constant regardless of order volume.',
|
|
4357
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_FIXED_COSTS_PERCENT, measures_js_1.MEASURE.ORDERS_VARIABLE_COSTS, measures_js_1.MEASURE.
|
|
3714
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_FIXED_COSTS_PERCENT, measures_js_1.MEASURE.ORDERS_VARIABLE_COSTS, measures_js_1.MEASURE.ORDERS_CM1],
|
|
4358
3715
|
},
|
|
4359
3716
|
[measures_js_1.MEASURE.ORDERS_FIXED_COSTS_PERCENT]: {
|
|
4360
3717
|
priority: 62,
|
|
@@ -4478,7 +3835,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4478
3835
|
useCompactNotation: true,
|
|
4479
3836
|
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4480
3837
|
tooltip: 'What you pay to ship orders to customers (not what customers pay for shipping).',
|
|
4481
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_SHIPPING_COSTS_PERCENT, measures_js_1.MEASURE.
|
|
3838
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_SHIPPING_COSTS_PERCENT, measures_js_1.MEASURE.ORDERS_CM2_PERCENT, measures_js_1.MEASURE.ORDERS_VARIABLE_COSTS],
|
|
4482
3839
|
},
|
|
4483
3840
|
[measures_js_1.MEASURE.ORDERS_SHIPPING_COSTS_PERCENT]: {
|
|
4484
3841
|
priority: 63,
|
|
@@ -4519,7 +3876,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4519
3876
|
useCompactNotation: true,
|
|
4520
3877
|
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4521
3878
|
tooltip: 'Transaction fees paid to payment processors like Stripe, PayPal, or Shopify Payments.',
|
|
4522
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_PAYMENT_GATEWAY_COSTS_PERCENT, measures_js_1.MEASURE.
|
|
3879
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_PAYMENT_GATEWAY_COSTS_PERCENT, measures_js_1.MEASURE.ORDERS_CM2_PERCENT, measures_js_1.MEASURE.ORDERS_VARIABLE_COSTS],
|
|
4523
3880
|
},
|
|
4524
3881
|
[measures_js_1.MEASURE.ORDERS_PAYMENT_GATEWAY_COSTS_PERCENT]: {
|
|
4525
3882
|
priority: 64,
|
|
@@ -4543,150 +3900,6 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4543
3900
|
formula: '(payment_gateway_costs / net_sales) * 100',
|
|
4544
3901
|
relatedMeasures: [measures_js_1.MEASURE.ORDERS_PAYMENT_GATEWAY_COSTS, measures_js_1.MEASURE.ORDERS_SHIPPING_COSTS_PERCENT],
|
|
4545
3902
|
},
|
|
4546
|
-
[measures_js_1.MEASURE.ORDERS_GROSS_PROFIT]: {
|
|
4547
|
-
priority: 100,
|
|
4548
|
-
title: 'Gross Profit',
|
|
4549
|
-
shortTitle: 'Gross Profit',
|
|
4550
|
-
description: 'DEPRECATED: Use ORDERS_CM1 instead. Net Sales minus Effective COGS. Also known as Contribution Margin 1 (CM1).',
|
|
4551
|
-
sumPrefix: '$',
|
|
4552
|
-
sumSuffix: '',
|
|
4553
|
-
avgPrefix: '$',
|
|
4554
|
-
avgSuffix: '',
|
|
4555
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
4556
|
-
measure: measures_js_1.MEASURE.ORDERS_GROSS_PROFIT,
|
|
4557
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
4558
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4559
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
4560
|
-
decimalPlaces: 2,
|
|
4561
|
-
useCompactNotation: true,
|
|
4562
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4563
|
-
tooltip: 'Revenue remaining after product costs. The first level of contribution margin.',
|
|
4564
|
-
formulaDisplay: 'Net Sales − Effective COGS',
|
|
4565
|
-
formula: 'net_sales - effective_cogs',
|
|
4566
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_PROFIT_PERCENT, measures_js_1.MEASURE.ORDERS_EFFECTIVE_COGS, measures_js_1.MEASURE.ORDERS_CM2],
|
|
4567
|
-
deprecated: true,
|
|
4568
|
-
hideFromUI: true,
|
|
4569
|
-
},
|
|
4570
|
-
[measures_js_1.MEASURE.ORDERS_GROSS_PROFIT_PERCENT]: {
|
|
4571
|
-
priority: 100,
|
|
4572
|
-
title: 'Gross Profit Margin',
|
|
4573
|
-
shortTitle: 'Gross Margin %',
|
|
4574
|
-
description: 'DEPRECATED: Use ORDERS_CM1_PERCENT instead. Gross Profit as a percentage of Net Sales.',
|
|
4575
|
-
sumPrefix: '',
|
|
4576
|
-
sumSuffix: '%',
|
|
4577
|
-
avgPrefix: '',
|
|
4578
|
-
avgSuffix: '%',
|
|
4579
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
4580
|
-
measure: measures_js_1.MEASURE.ORDERS_GROSS_PROFIT_PERCENT,
|
|
4581
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
4582
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4583
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
4584
|
-
decimalPlaces: 2,
|
|
4585
|
-
useCompactNotation: false,
|
|
4586
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4587
|
-
tooltip: 'What percentage of net sales remains after product costs. Higher is better.',
|
|
4588
|
-
formulaDisplay: '(Gross Profit ÷ Net Sales) × 100',
|
|
4589
|
-
formula: '(gross_profit / net_sales) * 100',
|
|
4590
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_PROFIT, measures_js_1.MEASURE.ORDERS_CM2_PERCENT, measures_js_1.MEASURE.ORDERS_NET_PROFIT_PERCENT],
|
|
4591
|
-
deprecated: true,
|
|
4592
|
-
hideFromUI: true,
|
|
4593
|
-
},
|
|
4594
|
-
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT]: {
|
|
4595
|
-
priority: 100,
|
|
4596
|
-
title: 'NC Gross Profit',
|
|
4597
|
-
shortTitle: 'NC Gross Profit',
|
|
4598
|
-
description: 'DEPRECATED: Use ORDERS_NEW_CUSTOMER_CM1 instead. Gross profit from new customer orders (CM1).',
|
|
4599
|
-
sumPrefix: '$',
|
|
4600
|
-
sumSuffix: '',
|
|
4601
|
-
avgPrefix: '$',
|
|
4602
|
-
avgSuffix: '',
|
|
4603
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
4604
|
-
measure: measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT,
|
|
4605
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
4606
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4607
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
4608
|
-
decimalPlaces: 2,
|
|
4609
|
-
useCompactNotation: true,
|
|
4610
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4611
|
-
tooltip: 'Revenue from new customers minus their cost of goods. First level of contribution margin.',
|
|
4612
|
-
formulaDisplay: 'NC Net Sales − NC Effective COGS',
|
|
4613
|
-
formula: 'nc_net_sales - nc_effective_cogs',
|
|
4614
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_PROFIT, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT_PERCENT, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM2],
|
|
4615
|
-
deprecated: true,
|
|
4616
|
-
hideFromUI: true,
|
|
4617
|
-
},
|
|
4618
|
-
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT_PERCENT]: {
|
|
4619
|
-
priority: 100,
|
|
4620
|
-
title: 'NC Gross Profit Margin',
|
|
4621
|
-
shortTitle: 'NC Gross Margin %',
|
|
4622
|
-
description: 'DEPRECATED: Use ORDERS_NEW_CUSTOMER_CM1_PERCENT instead. NC Gross Profit as a percentage of NC Net Sales.',
|
|
4623
|
-
sumPrefix: '',
|
|
4624
|
-
sumSuffix: '%',
|
|
4625
|
-
avgPrefix: '',
|
|
4626
|
-
avgSuffix: '%',
|
|
4627
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
4628
|
-
measure: measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT_PERCENT,
|
|
4629
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
4630
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4631
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
4632
|
-
decimalPlaces: 2,
|
|
4633
|
-
useCompactNotation: false,
|
|
4634
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4635
|
-
tooltip: 'What percentage of new customer net sales remains after product costs.',
|
|
4636
|
-
formulaDisplay: '(NC Gross Profit ÷ NC Net Sales) × 100',
|
|
4637
|
-
formula: '(nc_gross_profit / nc_net_sales) * 100',
|
|
4638
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT, measures_js_1.MEASURE.ORDERS_GROSS_PROFIT_PERCENT],
|
|
4639
|
-
deprecated: true,
|
|
4640
|
-
hideFromUI: true,
|
|
4641
|
-
},
|
|
4642
|
-
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT]: {
|
|
4643
|
-
priority: 100,
|
|
4644
|
-
title: 'RC Gross Profit',
|
|
4645
|
-
shortTitle: 'RC Gross Profit',
|
|
4646
|
-
description: 'DEPRECATED: Use ORDERS_RETURNING_CUSTOMER_CM1 instead. Gross profit from returning customer orders (CM1).',
|
|
4647
|
-
sumPrefix: '$',
|
|
4648
|
-
sumSuffix: '',
|
|
4649
|
-
avgPrefix: '$',
|
|
4650
|
-
avgSuffix: '',
|
|
4651
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
4652
|
-
measure: measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT,
|
|
4653
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
4654
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4655
|
-
valueType: measure_value_type_js_1.MeasureValueType.CURRENCY,
|
|
4656
|
-
decimalPlaces: 2,
|
|
4657
|
-
useCompactNotation: true,
|
|
4658
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4659
|
-
tooltip: 'Revenue from returning customers minus their cost of goods.',
|
|
4660
|
-
formulaDisplay: 'RC Net Sales − RC Effective COGS',
|
|
4661
|
-
formula: 'rc_net_sales - rc_effective_cogs',
|
|
4662
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_GROSS_PROFIT, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT_PERCENT, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM2],
|
|
4663
|
-
deprecated: true,
|
|
4664
|
-
hideFromUI: true,
|
|
4665
|
-
},
|
|
4666
|
-
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT_PERCENT]: {
|
|
4667
|
-
priority: 100,
|
|
4668
|
-
title: 'RC Gross Profit Margin',
|
|
4669
|
-
shortTitle: 'RC Gross Margin %',
|
|
4670
|
-
description: 'DEPRECATED: Use ORDERS_RETURNING_CUSTOMER_CM1_PERCENT instead. RC Gross Profit as a percentage of RC Net Sales.',
|
|
4671
|
-
sumPrefix: '',
|
|
4672
|
-
sumSuffix: '%',
|
|
4673
|
-
avgPrefix: '',
|
|
4674
|
-
avgSuffix: '%',
|
|
4675
|
-
icon: measure_icon_js_1.MEASURE_ICON.SHOPIFY,
|
|
4676
|
-
measure: measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT_PERCENT,
|
|
4677
|
-
category: measure_categories_js_1.MEASURE_CATEGORY.ORDERS,
|
|
4678
|
-
subcategory: measure_categories_js_1.MEASURE_SUBCATEGORY.ORDERS_PRODUCT_MARGIN,
|
|
4679
|
-
valueType: measure_value_type_js_1.MeasureValueType.PERCENTAGE,
|
|
4680
|
-
decimalPlaces: 2,
|
|
4681
|
-
useCompactNotation: false,
|
|
4682
|
-
applicableContexts: measure_applicable_contexts_js_1.ORDERS_ATTRIBUTION_APPLICABLE_CONTEXTS,
|
|
4683
|
-
tooltip: 'What percentage of returning customer net sales remains after product costs.',
|
|
4684
|
-
formulaDisplay: '(RC Gross Profit ÷ RC Net Sales) × 100',
|
|
4685
|
-
formula: '(rc_gross_profit / rc_net_sales) * 100',
|
|
4686
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT, measures_js_1.MEASURE.ORDERS_GROSS_PROFIT_PERCENT],
|
|
4687
|
-
deprecated: true,
|
|
4688
|
-
hideFromUI: true,
|
|
4689
|
-
},
|
|
4690
3903
|
[measures_js_1.MEASURE.ORDERS_CM2]: {
|
|
4691
3904
|
priority: 2,
|
|
4692
3905
|
title: 'Contribution Margin 2',
|
|
@@ -4707,7 +3920,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4707
3920
|
tooltip: 'Profit after deducting fulfillment and variable operating costs.',
|
|
4708
3921
|
formulaDisplay: '(CM1) − (Shipping) − (Gateway) − (Variable Costs)',
|
|
4709
3922
|
formula: '(cm1) - (shipping) - (gateway) - (variable_costs)',
|
|
4710
|
-
relatedMeasures: [measures_js_1.MEASURE.
|
|
3923
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1, measures_js_1.MEASURE.ORDERS_CM2_PERCENT, measures_js_1.MEASURE.ORDERS_CM3],
|
|
4711
3924
|
},
|
|
4712
3925
|
[measures_js_1.MEASURE.ORDERS_CM2_PERCENT]: {
|
|
4713
3926
|
priority: 32,
|
|
@@ -4729,7 +3942,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4729
3942
|
tooltip: 'What percentage of net revenue remains after product and variable costs.',
|
|
4730
3943
|
formulaDisplay: '(CM2) ÷ (Net Revenue) × 100',
|
|
4731
3944
|
formula: '((cm2) / (net_revenue)) * 100',
|
|
4732
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM2, measures_js_1.MEASURE.
|
|
3945
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM2, measures_js_1.MEASURE.ORDERS_CM1_PERCENT, measures_js_1.MEASURE.ORDERS_CM3_PERCENT],
|
|
4733
3946
|
},
|
|
4734
3947
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM2]: {
|
|
4735
3948
|
priority: 12,
|
|
@@ -4751,7 +3964,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4751
3964
|
tooltip: 'Profit from new customers after subtracting fulfillment and variable costs.',
|
|
4752
3965
|
formulaDisplay: '(NC CM1) − (Shipping) − (Gateway) − (Variable Costs)',
|
|
4753
3966
|
formula: '(nc_cm1) - (nc_shipping) - (nc_gateway) - (nc_variable_costs)',
|
|
4754
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM2, measures_js_1.MEASURE.
|
|
3967
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM2, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM1, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM3],
|
|
4755
3968
|
},
|
|
4756
3969
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM2_PERCENT]: {
|
|
4757
3970
|
priority: 36,
|
|
@@ -4795,7 +4008,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4795
4008
|
tooltip: 'Profit from returning customers after subtracting fulfillment and variable costs.',
|
|
4796
4009
|
formulaDisplay: '(RC CM1) − (Shipping) − (Gateway) − (Variable Costs)',
|
|
4797
4010
|
formula: '(rc_cm1) - (rc_shipping) - (rc_gateway) - (rc_variable_costs)',
|
|
4798
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM2, measures_js_1.MEASURE.
|
|
4011
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM2, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM1, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM3],
|
|
4799
4012
|
},
|
|
4800
4013
|
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM2_PERCENT]: {
|
|
4801
4014
|
priority: 40,
|
|
@@ -4993,7 +4206,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4993
4206
|
tooltip: 'What percentage of net revenue becomes operating profit. The ultimate efficiency metric showing profitability after all variable and fixed costs.',
|
|
4994
4207
|
formulaDisplay: '((CM4) ÷ (Net Revenue)) × 100',
|
|
4995
4208
|
formula: '((cm4) / (net_revenue)) * 100',
|
|
4996
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_PROFIT, measures_js_1.MEASURE.ORDERS_CM3_PERCENT, measures_js_1.MEASURE.
|
|
4209
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NET_PROFIT, measures_js_1.MEASURE.ORDERS_CM3_PERCENT, measures_js_1.MEASURE.ORDERS_CM1_PERCENT],
|
|
4997
4210
|
},
|
|
4998
4211
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_NET_PROFIT]: {
|
|
4999
4212
|
priority: 14,
|
|
@@ -5103,8 +4316,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
5103
4316
|
tooltip: 'CM1 is the conservative gross margin calculation using Net Revenue (after returns/discounts) minus Effective COGS.',
|
|
5104
4317
|
formulaDisplay: '(Net Revenue) − (Effective COGS)',
|
|
5105
4318
|
formula: '(net_revenue) - (effective_cogs)',
|
|
5106
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1_PERCENT, measures_js_1.MEASURE.ORDERS_CM2, measures_js_1.MEASURE.
|
|
5107
|
-
aliases: [measures_js_1.MEASURE.ORDERS_GROSS_PROFIT],
|
|
4319
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1_PERCENT, measures_js_1.MEASURE.ORDERS_CM2, measures_js_1.MEASURE.ORDERS_EFFECTIVE_COGS],
|
|
5108
4320
|
},
|
|
5109
4321
|
[measures_js_1.MEASURE.ORDERS_CM1_PERCENT]: {
|
|
5110
4322
|
priority: 31,
|
|
@@ -5126,8 +4338,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
5126
4338
|
tooltip: 'CM1 as a percentage of Net Revenue. The conservative gross margin percentage calculation.',
|
|
5127
4339
|
formulaDisplay: '(CM1) ÷ (Net Revenue) × 100',
|
|
5128
4340
|
formula: '((cm1) / (net_revenue)) * 100',
|
|
5129
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1, measures_js_1.MEASURE.ORDERS_CM2_PERCENT, measures_js_1.MEASURE.
|
|
5130
|
-
aliases: [measures_js_1.MEASURE.ORDERS_GROSS_PROFIT_PERCENT],
|
|
4341
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1, measures_js_1.MEASURE.ORDERS_CM2_PERCENT, measures_js_1.MEASURE.ORDERS_NET_PROFIT_PERCENT],
|
|
5131
4342
|
},
|
|
5132
4343
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM1]: {
|
|
5133
4344
|
priority: 11,
|
|
@@ -5149,8 +4360,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
5149
4360
|
tooltip: 'NC CM1 is the conservative gross margin for new customers using Net Revenue minus Effective COGS.',
|
|
5150
4361
|
formulaDisplay: '(NC Net Revenue) − (NC Effective COGS)',
|
|
5151
4362
|
formula: '(nc_net_revenue) - (nc_effective_cogs)',
|
|
5152
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM1_PERCENT, measures_js_1.MEASURE.
|
|
5153
|
-
aliases: [measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT],
|
|
4363
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM1_PERCENT, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM2],
|
|
5154
4364
|
},
|
|
5155
4365
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM1_PERCENT]: {
|
|
5156
4366
|
priority: 35,
|
|
@@ -5172,8 +4382,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
5172
4382
|
tooltip: 'NC CM1 as a percentage of NC Net Revenue. The conservative gross margin percentage for new customers.',
|
|
5173
4383
|
formulaDisplay: '(NC CM1) ÷ (NC Net Revenue) × 100',
|
|
5174
4384
|
formula: '((nc_cm1) / (nc_net_revenue)) * 100',
|
|
5175
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM1, measures_js_1.MEASURE.ORDERS_CM1_PERCENT, measures_js_1.MEASURE.
|
|
5176
|
-
aliases: [measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT_PERCENT],
|
|
4385
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM1, measures_js_1.MEASURE.ORDERS_CM1_PERCENT, measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_CM2_PERCENT],
|
|
5177
4386
|
},
|
|
5178
4387
|
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM1]: {
|
|
5179
4388
|
priority: 21,
|
|
@@ -5195,8 +4404,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
5195
4404
|
tooltip: 'RC CM1 is the conservative gross margin for returning customers using Net Revenue minus Effective COGS.',
|
|
5196
4405
|
formulaDisplay: '(RC Net Revenue) − (RC Effective COGS)',
|
|
5197
4406
|
formula: '(rc_net_revenue) - (rc_effective_cogs)',
|
|
5198
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM1_PERCENT, measures_js_1.MEASURE.
|
|
5199
|
-
aliases: [measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT],
|
|
4407
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_CM1, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM1_PERCENT, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM2],
|
|
5200
4408
|
},
|
|
5201
4409
|
[measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM1_PERCENT]: {
|
|
5202
4410
|
priority: 39,
|
|
@@ -5218,8 +4426,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
5218
4426
|
tooltip: 'RC CM1 as a percentage of RC Net Revenue. The conservative gross margin percentage for returning customers.',
|
|
5219
4427
|
formulaDisplay: '(RC CM1) ÷ (RC Net Revenue) × 100',
|
|
5220
4428
|
formula: '((rc_cm1) / (rc_net_revenue)) * 100',
|
|
5221
|
-
relatedMeasures: [measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM1, measures_js_1.MEASURE.ORDERS_CM1_PERCENT, measures_js_1.MEASURE.
|
|
5222
|
-
aliases: [measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_GROSS_PROFIT_PERCENT],
|
|
4429
|
+
relatedMeasures: [measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM1, measures_js_1.MEASURE.ORDERS_CM1_PERCENT, measures_js_1.MEASURE.ORDERS_RETURNING_CUSTOMER_CM2_PERCENT],
|
|
5223
4430
|
},
|
|
5224
4431
|
};
|
|
5225
4432
|
//# sourceMappingURL=orders-measure-definitions.js.map
|