From 60ab09a4a61d6a8813b514de072b90aab1974ae3 Mon Sep 17 00:00:00 2001 From: angel Date: Fri, 20 Jun 2025 15:27:05 +0000 Subject: [PATCH] feat: disable pageview capture in PostHog client configuration --- lib/posthog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/posthog.ts b/lib/posthog.ts index 4f3c9f8..6f745e7 100644 --- a/lib/posthog.ts +++ b/lib/posthog.ts @@ -3,7 +3,7 @@ import { PostHog } from "posthog-node" export default function PostHogClient() { const posthogClient = new PostHog(process.env.NEXT_PUBLIC_POSTHOG_KEY!, { host: process.env.NEXT_PUBLIC_POSTHOG_HOST, - capture_pageview: 'history_change', + // capture_pageview: 'history_change', flushAt: 1, flushInterval: 0, })