21 lines
1 KiB
TypeScript
21 lines
1 KiB
TypeScript
// Module ID: 6239
|
|
// Function ID: 56171
|
|
// Name: commonTriggerPointConfiguration
|
|
// Dependencies: [4046, 653, 6240, 675, 2]
|
|
// Exports: trackPaymentFlowStartedAnalyticsAndCTP
|
|
|
|
// Module 6239 (commonTriggerPointConfiguration)
|
|
import { AnalyticEvents } from "ME";
|
|
|
|
const commonTriggerPointConfiguration = new require("CommonTriggerPointConfiguration").CommonTriggerPointConfiguration([], require("ExperimentBuckets").CommonTriggerPoints.PAYMENT_FLOW_STARTED, { location: "payment flow started" });
|
|
const result = require("CommonTriggerPointConfiguration").fileFinishedImporting("modules/experiments/trigger_points/PaymentFlowStartedTriggerPoint.tsx");
|
|
|
|
export const PaymentFlowStartedTriggerPoint = commonTriggerPointConfiguration;
|
|
export const trackPaymentFlowStartedAnalyticsAndCTP = function trackPaymentFlowStartedAnalyticsAndCTP(basePurchaseAnalytics) {
|
|
let obj = arg1;
|
|
if (arg1 === undefined) {
|
|
obj = {};
|
|
}
|
|
importDefault(675).track(AnalyticEvents.PAYMENT_FLOW_STARTED, basePurchaseAnalytics, obj);
|
|
commonTriggerPointConfiguration.trigger();
|
|
};
|