import TrackingEvent from '../../../tracking-event.js';
import { boolToYesNo } from '../../../utils/transformers.js';
import { creatorEventGroup } from '../groups.js';
export const shopifyConnectionFlowCompletedEvent = new TrackingEvent(creatorEventGroup, ({ from, stores, success }) => ({
    'Added from': from,
    'Is successful?': boolToYesNo(success),
    'Number of connected stores': stores
}));
export default shopifyConnectionFlowCompletedEvent;
