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

27 lines
1.3 KiB
TypeScript
Raw Normal View History

// Module ID: 10739
// Function ID: 10740
2026-07-20 16:05:17 +00:00
// Name: commonTriggerPointConfiguration
// Dependencies: [4395, 673, 10740, 695, 2]
2026-07-20 16:05:17 +00:00
// Exports: trackPaymentFlowStartedAnalyticsAndCTP
// Module 10739 (commonTriggerPointConfiguration)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-02 09:53:35 +00:00
import ME from "ME" /* 673 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 695 */;
import ExperimentBuckets from "ExperimentBuckets" /* 4395 */;
import registeredExperimentIds from "registeredExperimentIds" /* 10740 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
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");
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 = {};
}
2026-08-24 06:08:38 +00:00
expandEventPropertiesDefault.track(AnalyticEvents.PAYMENT_FLOW_STARTED, basePurchaseAnalytics, obj);
2026-07-20 16:05:17 +00:00
commonTriggerPointConfiguration.trigger();
};