import TrackingEvent from '../../../tracking-event.js';
import { boolToYesNo } from '../../../utils/transformers.js';
import { creatorEventGroup } from '../groups.js';
export const confirmSubscriptionAttemptEvent = new TrackingEvent(creatorEventGroup, ({ action, currency, method, success, type }) => ({
    Currency: currency,
    'Is successful?': boolToYesNo(success),
    'Plan type': type,
    'Profile Creation Method': method,
    'Subscription action': action
}));
export default confirmSubscriptionAttemptEvent;
