diff --git a/public/posthog.js b/public/posthog.js index 0146f08..a86f50b 100644 --- a/public/posthog.js +++ b/public/posthog.js @@ -43,7 +43,8 @@ // Initialize PostHog with your project API key posthog.init("phc_GK2Pxl0HPj5ZPfwhLRjXrtdz8eD7e9MKnXiFrOqnB6z", { - api_host: "https://us.i.posthog.com", + api_host: "https://path.kilo.ai/ingest", + ui_host: "https://us.posthog.com", person_profiles: "identified_only", capture_pageview: true, capture_pageleave: true, diff --git a/src/components/PostHogScript.astro b/src/components/PostHogScript.astro deleted file mode 100644 index 3f4401d..0000000 --- a/src/components/PostHogScript.astro +++ /dev/null @@ -1,59 +0,0 @@ ---- -// PostHog Analytics Script -// This component should be included in the
of your pages ---- - - diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..b3f3e99 --- /dev/null +++ b/vercel.json @@ -0,0 +1,6 @@ +{ + "rewrites": [ + { "source": "/ingest/static/:path*", "destination": "https://us-assets.i.posthog.com/static/:path*" }, + { "source": "/ingest/:path*", "destination": "https://us.i.posthog.com/:path*" } + ] +}