decord/source/modules/experiments/trigger_points/PaymentFlowStartedTriggerPoint.tsx

27 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 10899
// Function ID: 10900
// Name: PaymentFlowStartedTriggerPoint
// Dependencies: [4524, 1074, 10900, 1242, 2]
2026-07-20 16:05:17 +00:00
// Exports: trackPaymentFlowStartedAnalyticsAndCTP
// Module 10899 (PaymentFlowStartedTriggerPoint)
import Constants from "Constants" /* 1074 */;
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1242 */;
import ExperimentConstants from "ExperimentConstants" /* 4524 */;
import Helpers from "Helpers" /* 10900 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const AnalyticEvents = Constants.AnalyticEvents;
const commonTriggerPointConfiguration = new Helpers.CommonTriggerPointConfiguration([], ExperimentConstants.CommonTriggerPoints.PAYMENT_FLOW_STARTED, { location: "payment flow started" });
const result = size.fileFinishedImporting("modules/experiments/trigger_points/PaymentFlowStartedTriggerPoint.tsx");
2026-07-20 16:05:17 +00:00
export const PaymentFlowStartedTriggerPoint = commonTriggerPointConfiguration;
export const trackPaymentFlowStartedAnalyticsAndCTP = function trackPaymentFlowStartedAnalyticsAndCTP(basePurchaseAnalytics) {
let obj = arg1;
if (arg1 === undefined) {
obj = {};
}
AnalyticsUtilsDefault.track(AnalyticEvents.PAYMENT_FLOW_STARTED, basePurchaseAnalytics, obj);
2026-07-20 16:05:17 +00:00
commonTriggerPointConfiguration.trigger();
};