decord/source/modules/experiments/trigger_points/PaymentFlowStartedTriggerPoint.tsx
2026-08-31 15:47:37 +00:00

26 lines
1.3 KiB
TypeScript

// Module ID: 10544
// Function ID: 10545
// Name: commonTriggerPointConfiguration
// Dependencies: [4362, 676, 10545, 698, 2]
// Exports: trackPaymentFlowStartedAnalyticsAndCTP
// Module 10544 (commonTriggerPointConfiguration)
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 698 */;
import ExperimentBuckets from "ExperimentBuckets" /* 4362 */;
import registeredExperimentIds from "registeredExperimentIds" /* 10545 */;
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();
};