From bb473554c8448ebecc5bff89fee27955a9dd777e Mon Sep 17 00:00:00 2001 From: Kiran Johns Date: Sun, 31 Aug 2025 17:06:36 +0530 Subject: [PATCH] added anonymised posthog events --- src/lib/analytics/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/analytics/index.ts b/src/lib/analytics/index.ts index a9cf322ec..956711a53 100644 --- a/src/lib/analytics/index.ts +++ b/src/lib/analytics/index.ts @@ -27,8 +27,8 @@ class AnalyticsService { // Default configuration - pulled from Vite environment variables this.config = { - apiKey: import.meta.env.VITE_PUBLIC_POSTHOG_KEY || 'phc_YOUR_PROJECT_API_KEY', - apiHost: import.meta.env.VITE_PUBLIC_POSTHOG_HOST || 'https://app.posthog.com', + apiKey: 'phc_6seRe1SJkFckJU2qQWeeIy62kaSoaUbCsdVCm1TQZg8', + apiHost: 'https://us.i.posthog.com', persistence: 'localStorage', autocapture: false, // We'll manually track events disable_session_recording: true, // Privacy first