refactor(editor): Add telemetry for workers view (#8055)

https://linear.app/n8n/issue/PAY-1142
This commit is contained in:
Iván Ovejero
2023-12-18 12:21:13 +01:00
committed by GitHub
parent 4cae976a3b
commit 8fc9888541
3 changed files with 9 additions and 3 deletions

View File

@@ -63,6 +63,10 @@ export default defineComponent({
mounted() {
setPageTitle(`n8n - ${this.pageTitle}`);
this.isMounting = false;
this.$telemetry.track('User viewed worker view', {
instance_id: this.rootStore.instanceId,
});
},
beforeMount() {
if (window.Cypress !== undefined) {