chore: enable caputing pageview
This commit is contained in:
parent
899822a581
commit
a87b6333c3
@ -7,7 +7,6 @@ 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: 'identified_only', // or 'always' to create profiles for anonymous users as well
|
||||||
capture_pageview: false,
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export function CSPostHogProvider({ children }) {
|
export function CSPostHogProvider({ children }) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user