From f885b032c496399c1fcaf2f936141c016b0242fc Mon Sep 17 00:00:00 2001 From: Akshay Dodeja Date: Sat, 11 Apr 2026 16:07:22 -0700 Subject: [PATCH] Wire up PostHog analytics on docs site Adds the Mintlify PostHog integration pointed at our existing Cloudflare Worker reverse proxy (api-posthog-worker.t49.workers.dev), matching how app.terminal49.com already ships events. Using the proxy host bypasses adblockers and keeps docs traffic in the same Production App+Website project (18843) as the main app and marketing site. Currently PostHog sees ~0 events from terminal49.com/docs because the Mintlify site never loaded the snippet. Co-Authored-By: Claude Opus 4.6 (1M context) --- docs/docs.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docs.json b/docs/docs.json index 11c3569..f36dbe2 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -467,5 +467,11 @@ "twitter:card": "summary_large_image", "twitter:site": "@terminal49" } + }, + "integrations": { + "posthog": { + "apiKey": "phc_l2adbBndDdciWoPv3AkNV2UtUUxeo6iotxQfX6EQ2fL", + "apiHost": "https://api-posthog-worker.t49.workers.dev" + } } }