Skip to content

Commit

Permalink
Use anonymizing posthog endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Aug 30, 2024
1 parent 62a4f75 commit d663cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d663cf4

Please sign in to comment.