fix(editor): Adjust Ask AI tracking events & pass NDV session id (no-changelog) (#7027)

Github issue / Community forum post (link here to close automatically):

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
OlegIvaniv
2023-08-29 12:53:29 +02:00
committed by GitHub
parent a4578d68a5
commit 4600bb3317
7 changed files with 48 additions and 37 deletions

View File

@@ -680,6 +680,7 @@ export default defineComponent({
node_type: node ? node.type : null,
workflow_id: this.workflowsStore.workflowId,
source: 'canvas',
session_id: this.ndvStore.sessionId,
};
this.$telemetry.track('User clicked execute node button', telemetryPayload);
void this.$externalHooks().run('nodeView.onRunNode', telemetryPayload);