@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
|
@@ -43,10 +43,18 @@ export interface AdTrackifyPostHogDestination extends Destination {
|
|
|
43
43
|
export interface AdTrackifyLoopsDestination extends Destination {
|
|
44
44
|
configuration: LoopsConfiguration;
|
|
45
45
|
}
|
|
46
|
+
export interface FacebookHealthWellnessConfig {
|
|
47
|
+
enabled: boolean;
|
|
48
|
+
enableDomainAlias?: boolean;
|
|
49
|
+
domainAlias?: string;
|
|
50
|
+
aliasAllEvents?: boolean;
|
|
51
|
+
hashAllEvents?: boolean;
|
|
52
|
+
}
|
|
46
53
|
export interface FacebookPixelConfiguration extends UserDestinationConfiguration {
|
|
47
54
|
apiAccessToken?: string;
|
|
48
55
|
enableConversionAPI: boolean;
|
|
49
56
|
pixelId: string;
|
|
57
|
+
healthWellness?: FacebookHealthWellnessConfig;
|
|
50
58
|
}
|
|
51
59
|
export interface TiktokPixelConfiguration extends UserDestinationConfiguration {
|
|
52
60
|
apiAccessToken?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"third-party-destination-configs.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/third-party-destination-configs.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"third-party-destination-configs.js","sourceRoot":"","sources":["../../../../../src/types/api/destinations/third-party-destination-configs.ts"],"names":[],"mappings":";;;AAgMA,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2BAAS,CAAA;IACT,2BAAS,CAAA;AACX,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AA4BD,IAAY,aAYX;AAZD,WAAY,aAAa;IACvB,uCAAsB,CAAA;IACtB,yCAAwB,CAAA;IACxB,uCAAsB,CAAA;IACtB,4CAA2B,CAAA;IAC3B,wCAAuB,CAAA;IACvB,gDAA+B,CAAA;IAC/B,wDAAuC,CAAA;IACvC,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;AACf,CAAC,EAZW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAYxB;AAkDD,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,mCAAa,CAAA;AACf,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
|
|
@@ -684,8 +684,8 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
684
684
|
useCompactNotation: false,
|
|
685
685
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
686
686
|
tooltip: 'Average handling cost per order.',
|
|
687
|
-
formulaDisplay: 'Handling Cost ÷ Order Count',
|
|
688
|
-
formula: 'handling_cost / order_count',
|
|
687
|
+
formulaDisplay: '(Handling Cost) ÷ (Order Count)',
|
|
688
|
+
formula: '(handling_cost) / (order_count)',
|
|
689
689
|
},
|
|
690
690
|
[measures_js_1.MEASURE.ORDERS_HANDLING_COST_PERCENT]: {
|
|
691
691
|
priority: 3,
|
|
@@ -705,8 +705,8 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
705
705
|
useCompactNotation: false,
|
|
706
706
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
707
707
|
tooltip: 'Handling cost as a percentage of net revenue.',
|
|
708
|
-
formulaDisplay: 'Handling Cost ÷ Net Revenue × 100',
|
|
709
|
-
formula: 'handling_cost / net_revenue * 100',
|
|
708
|
+
formulaDisplay: '(Handling Cost) ÷ (Net Revenue) × 100',
|
|
709
|
+
formula: '((handling_cost) / (net_revenue)) * 100',
|
|
710
710
|
},
|
|
711
711
|
[measures_js_1.MEASURE.ORDERS_GATEWAY_COST]: {
|
|
712
712
|
priority: 4,
|
|
@@ -745,8 +745,8 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
745
745
|
useCompactNotation: false,
|
|
746
746
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
747
747
|
tooltip: 'Average payment gateway cost per order.',
|
|
748
|
-
formulaDisplay: 'Gateway Cost ÷ Order Count',
|
|
749
|
-
formula: 'gateway_cost / order_count',
|
|
748
|
+
formulaDisplay: '(Gateway Cost) ÷ (Order Count)',
|
|
749
|
+
formula: '(gateway_cost) / (order_count)',
|
|
750
750
|
},
|
|
751
751
|
[measures_js_1.MEASURE.ORDERS_GATEWAY_COST_PERCENT]: {
|
|
752
752
|
priority: 6,
|
|
@@ -766,13 +766,13 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
766
766
|
useCompactNotation: false,
|
|
767
767
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
768
768
|
tooltip: 'Payment gateway cost as a percentage of net revenue.',
|
|
769
|
-
formulaDisplay: 'Gateway Cost ÷ Net Revenue × 100',
|
|
770
|
-
formula: 'gateway_cost / net_revenue * 100',
|
|
769
|
+
formulaDisplay: '(Gateway Cost) ÷ (Net Revenue) × 100',
|
|
770
|
+
formula: '((gateway_cost) / (net_revenue)) * 100',
|
|
771
771
|
},
|
|
772
772
|
[measures_js_1.MEASURE.ORDERS_SHIPPING_COST]: {
|
|
773
773
|
priority: 7,
|
|
774
774
|
title: 'Shipping Cost',
|
|
775
|
-
shortTitle: 'Shipping
|
|
775
|
+
shortTitle: 'Shipping',
|
|
776
776
|
description: 'Shipping costs from cost configuration.',
|
|
777
777
|
sumPrefix: '$',
|
|
778
778
|
sumSuffix: '',
|
|
@@ -791,7 +791,7 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
791
791
|
[measures_js_1.MEASURE.ORDERS_SHIPPING_COST_PER_ORDER]: {
|
|
792
792
|
priority: 8,
|
|
793
793
|
title: 'Shipping Cost Per Order',
|
|
794
|
-
shortTitle: '
|
|
794
|
+
shortTitle: 'Shipping/Order',
|
|
795
795
|
description: 'Average shipping cost per order.',
|
|
796
796
|
sumPrefix: '$',
|
|
797
797
|
sumSuffix: '',
|
|
@@ -806,13 +806,13 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
806
806
|
useCompactNotation: false,
|
|
807
807
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
808
808
|
tooltip: 'Average shipping cost per order.',
|
|
809
|
-
formulaDisplay: 'Shipping Cost ÷ Order Count',
|
|
810
|
-
formula: 'shipping_cost / order_count',
|
|
809
|
+
formulaDisplay: '(Shipping Cost) ÷ (Order Count)',
|
|
810
|
+
formula: '(shipping_cost) / (order_count)',
|
|
811
811
|
},
|
|
812
812
|
[measures_js_1.MEASURE.ORDERS_SHIPPING_COST_PERCENT]: {
|
|
813
813
|
priority: 9,
|
|
814
814
|
title: 'Shipping Cost %',
|
|
815
|
-
shortTitle: '
|
|
815
|
+
shortTitle: 'Shipping %',
|
|
816
816
|
description: 'Shipping cost as percentage of net revenue.',
|
|
817
817
|
sumPrefix: '',
|
|
818
818
|
sumSuffix: '%',
|
|
@@ -827,8 +827,8 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
827
827
|
useCompactNotation: false,
|
|
828
828
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
829
829
|
tooltip: 'Shipping cost as a percentage of net revenue.',
|
|
830
|
-
formulaDisplay: 'Shipping Cost ÷ Net Revenue × 100',
|
|
831
|
-
formula: 'shipping_cost / net_revenue * 100',
|
|
830
|
+
formulaDisplay: '(Shipping Cost) ÷ (Net Revenue) × 100',
|
|
831
|
+
formula: '((shipping_cost) / (net_revenue)) * 100',
|
|
832
832
|
},
|
|
833
833
|
[measures_js_1.MEASURE.ORDERS_OTHER_COST]: {
|
|
834
834
|
priority: 10,
|
|
@@ -867,8 +867,8 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
867
867
|
useCompactNotation: false,
|
|
868
868
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
869
869
|
tooltip: 'Average other variable cost per order.',
|
|
870
|
-
formulaDisplay: 'Other Cost ÷ Order Count',
|
|
871
|
-
formula: 'other_cost / order_count',
|
|
870
|
+
formulaDisplay: '(Other Cost) ÷ (Order Count)',
|
|
871
|
+
formula: '(other_cost) / (order_count)',
|
|
872
872
|
},
|
|
873
873
|
[measures_js_1.MEASURE.ORDERS_OTHER_COST_PERCENT]: {
|
|
874
874
|
priority: 12,
|
|
@@ -888,8 +888,8 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
888
888
|
useCompactNotation: false,
|
|
889
889
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
890
890
|
tooltip: 'Other variable cost as a percentage of net revenue.',
|
|
891
|
-
formulaDisplay: 'Other Cost ÷ Net Revenue × 100',
|
|
892
|
-
formula: 'other_cost / net_revenue * 100',
|
|
891
|
+
formulaDisplay: '(Other Cost) ÷ (Net Revenue) × 100',
|
|
892
|
+
formula: '((other_cost) / (net_revenue)) * 100',
|
|
893
893
|
},
|
|
894
894
|
[measures_js_1.MEASURE.ORDERS_VARIABLE_COSTS]: {
|
|
895
895
|
priority: 13,
|
|
@@ -909,8 +909,8 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
909
909
|
useCompactNotation: true,
|
|
910
910
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
911
911
|
tooltip: 'Total variable order costs including handling, gateway fees, shipping costs, and other fees. Deducted from CM1 to calculate CM2.',
|
|
912
|
-
formulaDisplay: 'Handling + Gateway + Shipping + Other',
|
|
913
|
-
formula: 'handling_cost + gateway_cost + shipping_cost + other_cost',
|
|
912
|
+
formulaDisplay: '(Handling) + (Gateway) + (Shipping) + (Other)',
|
|
913
|
+
formula: '(handling_cost) + (gateway_cost) + (shipping_cost) + (other_cost)',
|
|
914
914
|
},
|
|
915
915
|
[measures_js_1.MEASURE.ORDERS_VARIABLE_COSTS_PER_ORDER]: {
|
|
916
916
|
priority: 14,
|
|
@@ -930,8 +930,8 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
930
930
|
useCompactNotation: false,
|
|
931
931
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
932
932
|
tooltip: 'Average variable costs per order.',
|
|
933
|
-
formulaDisplay: 'Variable Costs ÷ Order Count',
|
|
934
|
-
formula: 'variable_costs / order_count',
|
|
933
|
+
formulaDisplay: '(Variable Costs) ÷ (Order Count)',
|
|
934
|
+
formula: '(variable_costs) / (order_count)',
|
|
935
935
|
},
|
|
936
936
|
[measures_js_1.MEASURE.ORDERS_VARIABLE_COSTS_PERCENT]: {
|
|
937
937
|
priority: 15,
|
|
@@ -951,8 +951,8 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
951
951
|
useCompactNotation: false,
|
|
952
952
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
953
953
|
tooltip: 'Variable costs as a percentage of net revenue.',
|
|
954
|
-
formulaDisplay: 'Variable Costs ÷ Net Revenue × 100',
|
|
955
|
-
formula: 'variable_costs / net_revenue * 100',
|
|
954
|
+
formulaDisplay: '(Variable Costs) ÷ (Net Revenue) × 100',
|
|
955
|
+
formula: '((variable_costs) / (net_revenue)) * 100',
|
|
956
956
|
},
|
|
957
957
|
[measures_js_1.MEASURE.ORDERS_REFUND_AMOUNT]: {
|
|
958
958
|
priority: 1,
|
|
@@ -2560,8 +2560,8 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
2560
2560
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
2561
2561
|
shortTitle: 'Gross Profit',
|
|
2562
2562
|
tooltip: 'Revenue minus cost of goods sold. Shows product-level profitability before operating expenses.',
|
|
2563
|
-
formulaDisplay: 'Revenue
|
|
2564
|
-
formula: 'revenue - cogs',
|
|
2563
|
+
formulaDisplay: '(Revenue) − (COGS)',
|
|
2564
|
+
formula: '(revenue) - (cogs)',
|
|
2565
2565
|
},
|
|
2566
2566
|
[measures_js_1.MEASURE.ORDERS_NEW_CUSTOMER_GROSS_PROFIT]: {
|
|
2567
2567
|
priority: 2,
|
|
@@ -4193,8 +4193,8 @@ exports.ORDERS_MEASURES_MAP = {
|
|
|
4193
4193
|
useCompactNotation: true,
|
|
4194
4194
|
applicableContexts: measure_applicable_contexts_js_1.STANDARD_APPLICABLE_CONTEXTS,
|
|
4195
4195
|
tooltip: 'Profit after deducting variable order costs (handling, gateway, shipping, other).',
|
|
4196
|
-
formulaDisplay: 'CM1 − Handling − Gateway − Shipping − Other',
|
|
4197
|
-
formula: 'cm1 - handling - gateway - shipping - other',
|
|
4196
|
+
formulaDisplay: '(CM1) − (Handling) − (Gateway) − (Shipping) − (Other)',
|
|
4197
|
+
formula: '(cm1) - (handling) - (gateway) - (shipping) - (other)',
|
|
4198
4198
|
},
|
|
4199
4199
|
[measures_js_1.MEASURE.ORDERS_CM2_PERCENT]: {
|
|
4200
4200
|
priority: 32,
|