From 9a8b76517cee19d04de8c3e90ce601f8cde6d466 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Wed, 20 Nov 2024 09:48:11 +0700 Subject: [PATCH] chore: disabled capture page view --- web/app/posthog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/posthog.js b/web/app/posthog.js index d6a6bf0bb..1799f3b0d 100644 --- a/web/app/posthog.js +++ b/web/app/posthog.js @@ -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 }) {