diff --git a/mailpoet/assets/js/src/automation/editor/store/actions.ts b/mailpoet/assets/js/src/automation/editor/store/actions.ts index a914a1b394..11a0b1a826 100644 --- a/mailpoet/assets/js/src/automation/editor/store/actions.ts +++ b/mailpoet/assets/js/src/automation/editor/store/actions.ts @@ -133,6 +133,10 @@ export function* deactivate(deactivateWorkflowRuns = true) { type: 'snackbar', }, ); + + MailPoet.trackEvent('Automations > Workflow deactivated', { + type: 'immediate', + }); } if ( !deactivateWorkflowRuns && @@ -148,6 +152,9 @@ export function* deactivate(deactivateWorkflowRuns = true) { type: 'snackbar', }, ); + MailPoet.trackEvent('Automations > Workflow deactivated', { + type: 'continuous', + }); } return {