From d663cf4c406c104273c29e2c2605695c45816dc9 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Fri, 30 Aug 2024 12:10:16 +0200 Subject: [PATCH] Use anonymizing posthog endpoint --- src/app/providers.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/providers.tsx b/src/app/providers.tsx index dd6fe645..c5a782fb 100644 --- a/src/app/providers.tsx +++ b/src/app/providers.tsx @@ -5,7 +5,7 @@ import { PostHogProvider } from 'posthog-js/react'; if (typeof window !== 'undefined') { posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, { - api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST, + api_host: 'https://events.httptoolkit.tech', autocapture: false, // We don't need events here - just page views is fine. persistence: 'memory', // No cookies/local storage please advanced_disable_decide: true, // We don't need dynamic features, skip checking