decord/source/modules/experiments/trigger_points/PaymentFlowStartedTriggerPoint.tsx
2026-08-28 06:19:39 +00:00

26 lines
1.3 KiB
TypeScript

// Module ID: 10520
// Function ID: 10521
// Name: commonTriggerPointConfiguration
// Dependencies: [4360, 676, 10521, 698, 2]
// Exports: trackPaymentFlowStartedAnalyticsAndCTP
// Module 10520 (commonTriggerPointConfiguration)
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 698 */;
import ExperimentBuckets from "ExperimentBuckets" /* 4360 */;
import registeredExperimentIds from "registeredExperimentIds" /* 10521 */;
const AnalyticEvents = ME.AnalyticEvents;
const commonTriggerPointConfiguration = new registeredExperimentIds.CommonTriggerPointConfiguration([], ExperimentBuckets.CommonTriggerPoints.PAYMENT_FLOW_STARTED, { location: "payment flow started" });
const result = set.fileFinishedImporting("modules/experiments/trigger_points/PaymentFlowStartedTriggerPoint.tsx");
export const PaymentFlowStartedTriggerPoint = commonTriggerPointConfiguration;
export const trackPaymentFlowStartedAnalyticsAndCTP = function trackPaymentFlowStartedAnalyticsAndCTP(basePurchaseAnalytics) {
let obj = arg1;
if (arg1 === undefined) {
obj = {};
}
expandEventPropertiesDefault.track(AnalyticEvents.PAYMENT_FLOW_STARTED, basePurchaseAnalytics, obj);
commonTriggerPointConfiguration.trigger();
};