mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(editor): Add telemetry to Insights (#14511)
This commit is contained in:
@@ -371,6 +371,9 @@ const saveSettings = async () => {
|
||||
void externalHooks.run('workflowSettings.saveSettings', { oldSettings });
|
||||
telemetry.track('User updated workflow settings', {
|
||||
workflow_id: workflowsStore.workflowId,
|
||||
// null and undefined values are removed from the object, but we need the keys to be there
|
||||
time_saved: workflowSettings.value.timeSavedPerExecution ?? '',
|
||||
error_workflow: workflowSettings.value.errorWorkflow ?? '',
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user