fix: Stop telemetry events to Posthog (#16788)

This commit is contained in:
Ricardo Espinoza
2025-06-30 09:08:47 -04:00
committed by GitHub
parent 913334005f
commit d76f05ba3d
30 changed files with 247 additions and 461 deletions

View File

@@ -554,9 +554,6 @@ function trackOpenWorkflowFromOnboardingTemplate() {
{
workflow_id: workflowId.value,
},
{
withPostHog: true,
},
);
}
@@ -646,17 +643,11 @@ async function openWorkflowTemplate(templateId: string) {
}
function trackOpenWorkflowTemplate(templateId: string) {
telemetry.track(
'User inserted workflow template',
{
source: 'workflow',
template_id: tryToParseNumber(templateId),
wf_template_repo_session_id: templatesStore.previousSessionId,
},
{
withPostHog: true,
},
);
telemetry.track('User inserted workflow template', {
source: 'workflow',
template_id: tryToParseNumber(templateId),
wf_template_repo_session_id: templatesStore.previousSessionId,
});
}
/**