chore: profilce always identified
This commit is contained in:
parent
1a59b8cecb
commit
786c16cc6f
@ -6,7 +6,7 @@ import { PostHogProvider } from 'posthog-js/react'
|
|||||||
if (typeof window !== 'undefined') {
|
if (typeof window !== 'undefined') {
|
||||||
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, {
|
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, {
|
||||||
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
|
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
|
||||||
person_profiles: 'identified_only', // or 'always' to create profiles for anonymous users as well
|
person_profiles: 'always',
|
||||||
persistence: 'localStorage',
|
persistence: 'localStorage',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user