Track Workflow deactivated
[MAILPOET-4756]
This commit is contained in:
@@ -133,6 +133,10 @@ export function* deactivate(deactivateWorkflowRuns = true) {
|
|||||||
type: 'snackbar',
|
type: 'snackbar',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
MailPoet.trackEvent('Automations > Workflow deactivated', {
|
||||||
|
type: 'immediate',
|
||||||
|
});
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
!deactivateWorkflowRuns &&
|
!deactivateWorkflowRuns &&
|
||||||
@@ -148,6 +152,9 @@ export function* deactivate(deactivateWorkflowRuns = true) {
|
|||||||
type: 'snackbar',
|
type: 'snackbar',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
MailPoet.trackEvent('Automations > Workflow deactivated', {
|
||||||
|
type: 'continuous',
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user