@adtrackify/at-tracking-event-types 4.62.1 → 4.63.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +8 -0
- package/dist/cjs/types/api/destinations/third-party-destination-configs.js.map +1 -1
- package/dist/cjs/types/api/measures/definitions/orders-measure-definitions.js +29 -29
- package/dist/cjs/types/api/measures/definitions/orders-measure-definitions.js.map +1 -1
- package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +8 -0
- package/dist/esm/types/api/destinations/third-party-destination-configs.js.map +1 -1
- package/dist/esm/types/api/measures/definitions/orders-measure-definitions.js +29 -29
- package/dist/esm/types/api/measures/definitions/orders-measure-definitions.js.map +1 -1
- package/package.json +1 -1
|
@@ -681,8 +681,8 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
681
681
|
useCompactNotation: false,
|
|
682
682
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
683
683
|
tooltip: 'Average handling cost per order.',
|
|
684
|
-
formulaDisplay: 'Handling Cost ÷ Order Count',
|
|
685
|
-
formula: 'handling_cost / order_count',
|
|
684
|
+
formulaDisplay: '(Handling Cost) ÷ (Order Count)',
|
|
685
|
+
formula: '(handling_cost) / (order_count)',
|
|
686
686
|
},
|
|
687
687
|
[MEASURE.ORDERS_HANDLING_COST_PERCENT]: {
|
|
688
688
|
priority: 3,
|
|
@@ -702,8 +702,8 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
702
702
|
useCompactNotation: false,
|
|
703
703
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
704
704
|
tooltip: 'Handling cost as a percentage of net revenue.',
|
|
705
|
-
formulaDisplay: 'Handling Cost ÷ Net Revenue × 100',
|
|
706
|
-
formula: 'handling_cost / net_revenue * 100',
|
|
705
|
+
formulaDisplay: '(Handling Cost) ÷ (Net Revenue) × 100',
|
|
706
|
+
formula: '((handling_cost) / (net_revenue)) * 100',
|
|
707
707
|
},
|
|
708
708
|
[MEASURE.ORDERS_GATEWAY_COST]: {
|
|
709
709
|
priority: 4,
|
|
@@ -742,8 +742,8 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
742
742
|
useCompactNotation: false,
|
|
743
743
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
744
744
|
tooltip: 'Average payment gateway cost per order.',
|
|
745
|
-
formulaDisplay: 'Gateway Cost ÷ Order Count',
|
|
746
|
-
formula: 'gateway_cost / order_count',
|
|
745
|
+
formulaDisplay: '(Gateway Cost) ÷ (Order Count)',
|
|
746
|
+
formula: '(gateway_cost) / (order_count)',
|
|
747
747
|
},
|
|
748
748
|
[MEASURE.ORDERS_GATEWAY_COST_PERCENT]: {
|
|
749
749
|
priority: 6,
|
|
@@ -763,13 +763,13 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
763
763
|
useCompactNotation: false,
|
|
764
764
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
765
765
|
tooltip: 'Payment gateway cost as a percentage of net revenue.',
|
|
766
|
-
formulaDisplay: 'Gateway Cost ÷ Net Revenue × 100',
|
|
767
|
-
formula: 'gateway_cost / net_revenue * 100',
|
|
766
|
+
formulaDisplay: '(Gateway Cost) ÷ (Net Revenue) × 100',
|
|
767
|
+
formula: '((gateway_cost) / (net_revenue)) * 100',
|
|
768
768
|
},
|
|
769
769
|
[MEASURE.ORDERS_SHIPPING_COST]: {
|
|
770
770
|
priority: 7,
|
|
771
771
|
title: 'Shipping Cost',
|
|
772
|
-
shortTitle: 'Shipping
|
|
772
|
+
shortTitle: 'Shipping',
|
|
773
773
|
description: 'Shipping costs from cost configuration.',
|
|
774
774
|
sumPrefix: '$',
|
|
775
775
|
sumSuffix: '',
|
|
@@ -788,7 +788,7 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
788
788
|
[MEASURE.ORDERS_SHIPPING_COST_PER_ORDER]: {
|
|
789
789
|
priority: 8,
|
|
790
790
|
title: 'Shipping Cost Per Order',
|
|
791
|
-
shortTitle: '
|
|
791
|
+
shortTitle: 'Shipping/Order',
|
|
792
792
|
description: 'Average shipping cost per order.',
|
|
793
793
|
sumPrefix: '$',
|
|
794
794
|
sumSuffix: '',
|
|
@@ -803,13 +803,13 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
803
803
|
useCompactNotation: false,
|
|
804
804
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
805
805
|
tooltip: 'Average shipping cost per order.',
|
|
806
|
-
formulaDisplay: 'Shipping Cost ÷ Order Count',
|
|
807
|
-
formula: 'shipping_cost / order_count',
|
|
806
|
+
formulaDisplay: '(Shipping Cost) ÷ (Order Count)',
|
|
807
|
+
formula: '(shipping_cost) / (order_count)',
|
|
808
808
|
},
|
|
809
809
|
[MEASURE.ORDERS_SHIPPING_COST_PERCENT]: {
|
|
810
810
|
priority: 9,
|
|
811
811
|
title: 'Shipping Cost %',
|
|
812
|
-
shortTitle: '
|
|
812
|
+
shortTitle: 'Shipping %',
|
|
813
813
|
description: 'Shipping cost as percentage of net revenue.',
|
|
814
814
|
sumPrefix: '',
|
|
815
815
|
sumSuffix: '%',
|
|
@@ -824,8 +824,8 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
824
824
|
useCompactNotation: false,
|
|
825
825
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
826
826
|
tooltip: 'Shipping cost as a percentage of net revenue.',
|
|
827
|
-
formulaDisplay: 'Shipping Cost ÷ Net Revenue × 100',
|
|
828
|
-
formula: 'shipping_cost / net_revenue * 100',
|
|
827
|
+
formulaDisplay: '(Shipping Cost) ÷ (Net Revenue) × 100',
|
|
828
|
+
formula: '((shipping_cost) / (net_revenue)) * 100',
|
|
829
829
|
},
|
|
830
830
|
[MEASURE.ORDERS_OTHER_COST]: {
|
|
831
831
|
priority: 10,
|
|
@@ -864,8 +864,8 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
864
864
|
useCompactNotation: false,
|
|
865
865
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
866
866
|
tooltip: 'Average other variable cost per order.',
|
|
867
|
-
formulaDisplay: 'Other Cost ÷ Order Count',
|
|
868
|
-
formula: 'other_cost / order_count',
|
|
867
|
+
formulaDisplay: '(Other Cost) ÷ (Order Count)',
|
|
868
|
+
formula: '(other_cost) / (order_count)',
|
|
869
869
|
},
|
|
870
870
|
[MEASURE.ORDERS_OTHER_COST_PERCENT]: {
|
|
871
871
|
priority: 12,
|
|
@@ -885,8 +885,8 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
885
885
|
useCompactNotation: false,
|
|
886
886
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
887
887
|
tooltip: 'Other variable cost as a percentage of net revenue.',
|
|
888
|
-
formulaDisplay: 'Other Cost ÷ Net Revenue × 100',
|
|
889
|
-
formula: 'other_cost / net_revenue * 100',
|
|
888
|
+
formulaDisplay: '(Other Cost) ÷ (Net Revenue) × 100',
|
|
889
|
+
formula: '((other_cost) / (net_revenue)) * 100',
|
|
890
890
|
},
|
|
891
891
|
[MEASURE.ORDERS_VARIABLE_COSTS]: {
|
|
892
892
|
priority: 13,
|
|
@@ -906,8 +906,8 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
906
906
|
useCompactNotation: true,
|
|
907
907
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
908
908
|
tooltip: 'Total variable order costs including handling, gateway fees, shipping costs, and other fees. Deducted from CM1 to calculate CM2.',
|
|
909
|
-
formulaDisplay: 'Handling + Gateway + Shipping + Other',
|
|
910
|
-
formula: 'handling_cost + gateway_cost + shipping_cost + other_cost',
|
|
909
|
+
formulaDisplay: '(Handling) + (Gateway) + (Shipping) + (Other)',
|
|
910
|
+
formula: '(handling_cost) + (gateway_cost) + (shipping_cost) + (other_cost)',
|
|
911
911
|
},
|
|
912
912
|
[MEASURE.ORDERS_VARIABLE_COSTS_PER_ORDER]: {
|
|
913
913
|
priority: 14,
|
|
@@ -927,8 +927,8 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
927
927
|
useCompactNotation: false,
|
|
928
928
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
929
929
|
tooltip: 'Average variable costs per order.',
|
|
930
|
-
formulaDisplay: 'Variable Costs ÷ Order Count',
|
|
931
|
-
formula: 'variable_costs / order_count',
|
|
930
|
+
formulaDisplay: '(Variable Costs) ÷ (Order Count)',
|
|
931
|
+
formula: '(variable_costs) / (order_count)',
|
|
932
932
|
},
|
|
933
933
|
[MEASURE.ORDERS_VARIABLE_COSTS_PERCENT]: {
|
|
934
934
|
priority: 15,
|
|
@@ -948,8 +948,8 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
948
948
|
useCompactNotation: false,
|
|
949
949
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
950
950
|
tooltip: 'Variable costs as a percentage of net revenue.',
|
|
951
|
-
formulaDisplay: 'Variable Costs ÷ Net Revenue × 100',
|
|
952
|
-
formula: 'variable_costs / net_revenue * 100',
|
|
951
|
+
formulaDisplay: '(Variable Costs) ÷ (Net Revenue) × 100',
|
|
952
|
+
formula: '((variable_costs) / (net_revenue)) * 100',
|
|
953
953
|
},
|
|
954
954
|
[MEASURE.ORDERS_REFUND_AMOUNT]: {
|
|
955
955
|
priority: 1,
|
|
@@ -2557,8 +2557,8 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
2557
2557
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
2558
2558
|
shortTitle: 'Gross Profit',
|
|
2559
2559
|
tooltip: 'Revenue minus cost of goods sold. Shows product-level profitability before operating expenses.',
|
|
2560
|
-
formulaDisplay: 'Revenue
|
|
2561
|
-
formula: 'revenue - cogs',
|
|
2560
|
+
formulaDisplay: '(Revenue) − (COGS)',
|
|
2561
|
+
formula: '(revenue) - (cogs)',
|
|
2562
2562
|
},
|
|
2563
2563
|
[MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT]: {
|
|
2564
2564
|
priority: 2,
|
|
@@ -4190,8 +4190,8 @@ export const ORDERS_MEASURES_MAP = {
|
|
|
4190
4190
|
useCompactNotation: true,
|
|
4191
4191
|
applicableContexts: STANDARD_APPLICABLE_CONTEXTS,
|
|
4192
4192
|
tooltip: 'Profit after deducting variable order costs (handling, gateway, shipping, other).',
|
|
4193
|
-
formulaDisplay: 'CM1 − Handling − Gateway − Shipping − Other',
|
|
4194
|
-
formula: 'cm1 - handling - gateway - shipping - other',
|
|
4193
|
+
formulaDisplay: '(CM1) − (Handling) − (Gateway) − (Shipping) − (Other)',
|
|
4194
|
+
formula: '(cm1) - (handling) - (gateway) - (shipping) - (other)',
|
|
4195
4195
|
},
|
|
4196
4196
|
[MEASURE.ORDERS_CM2_PERCENT]: {
|
|
4197
4197
|
priority: 32,
|