26 lines
1.3 KiB
TypeScript
26 lines
1.3 KiB
TypeScript
// Module ID: 7518
|
|
// Function ID: 7519
|
|
// Name: commonTriggerPointConfiguration
|
|
// Dependencies: [4294, 676, 7519, 698, 2]
|
|
// Exports: trackPaymentFlowStartedAnalyticsAndCTP
|
|
|
|
// Module 7518 (commonTriggerPointConfiguration)
|
|
import set from "set" /* 2 */;
|
|
import ME from "ME" /* 676 */;
|
|
import expandEventPropertiesDefault from "expandEventProperties" /* 698 */;
|
|
import ExperimentBuckets from "ExperimentBuckets" /* 4294 */;
|
|
import registeredExperimentIds from "registeredExperimentIds" /* 7519 */;
|
|
|
|
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();
|
|
};
|