fix: revert back product analytic with default opt-out (#4394)
This commit is contained in:
parent
538a6bf923
commit
786d528abb
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
@ -47,7 +47,7 @@ export const spellCheckAtom = atomWithStorage<boolean>(
|
||||
)
|
||||
export const productAnalyticAtom = atomWithStorage<boolean>(
|
||||
PRODUCT_ANALYTIC,
|
||||
true,
|
||||
false,
|
||||
undefined,
|
||||
{ getOnInit: true }
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user