Disable Posthog autocapture in the code in addition to in the web console (#3303)

This commit is contained in:
Matt Rubens 2025-05-08 15:01:26 -04:00 committed by GitHub
parent 3c68bebca5
commit a1592e5cf6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,6 +17,7 @@ class TelemetryClient {
loaded: () => posthog.identify(distinctId),
capture_pageview: false,
capture_pageleave: false,
autocapture: false,
})
} else {
TelemetryClient.telemetryEnabled = false