Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion public/posthog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
59 changes: 0 additions & 59 deletions src/components/PostHogScript.astro

This file was deleted.

6 changes: 6 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -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*" }
]
}