2026-09-07 16:44:02 +00:00
|
|
|
// Module ID: 10813
|
|
|
|
|
// Function ID: 10814
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: commonTriggerPointConfiguration
|
2026-09-07 16:44:02 +00:00
|
|
|
// Dependencies: [4477, 1074, 10814, 1242, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: trackPaymentFlowStartedAnalyticsAndCTP
|
|
|
|
|
|
2026-09-07 16:44:02 +00:00
|
|
|
// Module 10813 (commonTriggerPointConfiguration)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
2026-09-05 10:56:28 +00:00
|
|
|
import ME from "ME" /* 1074 */;
|
|
|
|
|
import expandEventPropertiesDefault from "expandEventProperties" /* 1242 */;
|
|
|
|
|
import ExperimentBuckets from "ExperimentBuckets" /* 4477 */;
|
2026-09-07 16:44:02 +00:00
|
|
|
import registeredExperimentIds from "registeredExperimentIds" /* 10814 */;
|
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();
|
|
|
|
|
};
|