diff --git a/frontend/src/telemetry.ts b/frontend/src/telemetry.ts index 12b23494..848e318a 100644 --- a/frontend/src/telemetry.ts +++ b/frontend/src/telemetry.ts @@ -67,17 +67,9 @@ function capture( } function startRecording() { - if (!isTelemetryEnabled()) return - if (window.posthog?.__loaded) { - window.posthog.startSessionRecording() - } } function stopRecording() { - if (!isTelemetryEnabled()) return - if (window.posthog?.__loaded && window.posthog.sessionRecordingStarted()) { - window.posthog.stopSessionRecording() - } } // Posthog Plugin