chore: disabled capture page view

This commit is contained in:
Faisal Amir 2024-11-20 09:48:11 +07:00 committed by Louis
parent 655a4a159a
commit 9a8b76517c

View File

@ -7,6 +7,7 @@ if (typeof window !== 'undefined') {
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, {
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
person_profiles: 'identified_only', // or 'always' to create profiles for anonymous users as well
capture_pageview: false,
})
}
export function CSPostHogProvider({ children }) {