Disable some of the posthog features

This commit is contained in:
Jackson Harper
2023-09-13 14:05:35 +08:00
parent 014614d097
commit bb20e8d3fd

View File

@ -19,6 +19,8 @@ const initAnalytics = (user?: UserBasicData): void => {
if (posthogApiKey) {
posthog.init(posthogApiKey, {
api_host: `${webBaseURL}/collect`,
autocapture: false,
disable_session_recording: false,
advanced_disable_decide: true,
advanced_disable_feature_flags: true,
advanced_disable_toolbar_metrics: true,