diff --git a/web/containers/Layout/index.tsx b/web/containers/Layout/index.tsx index 38d45ebd09..29fda70de8 100644 --- a/web/containers/Layout/index.tsx +++ b/web/containers/Layout/index.tsx @@ -123,7 +123,6 @@ const BaseLayout = () => { if (isAllowed) { posthog.opt_in_capturing() } else { - posthog.capture('user_opt_out', { timestamp: new Date() }) posthog.opt_out_capturing() } } diff --git a/web/helpers/atoms/Setting.atom.ts b/web/helpers/atoms/Setting.atom.ts index bd398f1e78..3568d87d0a 100644 --- a/web/helpers/atoms/Setting.atom.ts +++ b/web/helpers/atoms/Setting.atom.ts @@ -47,7 +47,7 @@ export const spellCheckAtom = atomWithStorage( ) export const productAnalyticAtom = atomWithStorage( PRODUCT_ANALYTIC, - true, + false, undefined, { getOnInit: true } )