1 import posthog from "posthog-js"
2
3 posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {
4 api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
5 person_profiles: "always",
6 defaults: "2025-05-24",
7 autocapture: false,
8 capture_dead_clicks: false,
9 capture_heatmaps: false,
10 capture_performance: false,
11 capture_exceptions: false,
12 capture_pageview: true,
13 capture_pageleave: false,
14 disable_session_recording: true,
15 })