feat: add PostHog telemetry with type-safe event tracking

Track page views, project interactions, theme changes, external links, PGP actions, and errors. Console logging in dev when PostHog not configured. Requires PUBLIC_POSTHOG_KEY and PUBLIC_POSTHOG_HOST env vars.
This commit is contained in:
2026-01-14 12:25:10 -06:00
parent 08c5dcda3b
commit d360f2284e
16 changed files with 475 additions and 7 deletions
+1
View File
@@ -29,6 +29,7 @@
"clsx": "^2.1.1",
"overlayscrollbars": "^2.13.0",
"overlayscrollbars-svelte": "^0.5.5",
"posthog-js": "^1.321.1",
"satori": "^0.18.3",
"tailwind-merge": "^3.3.1"
},