feat: add PostHog, move Plausible to v4, and drop Sentry session replay
PostHog loads after the page is idle through a same-origin /ingest proxy and follows the signed-in Convex user. Plausible uses the per-site script through a /pa proxy. Sentry keeps errors and traces only. Pages load only the @spoon/ui modules they import, and client code reads public env from publicEnv.ts so zod stays out of the browser. Both analytics integrations stay off until their env is set in Infisical prod.
This commit is contained in:
1 parent
587fa0fdcd
commit
348c2d3d62
22 files changed
+366
-106
No files matched your search
@@ -549,7 +549,9 @@ not call Infisical.
|
||||
| `NEXT_PUBLIC_CONVEX_URL` | Convex client URL |
|
||||
| `NEXT_PUBLIC_SPOON_AGENT_WORKER_WS_URL` | Browser-facing worker WS base for the terminal (**build-time** var) |
|
||||
| `NEXT_PUBLIC_DEPLOYMENT_URL` | Convex dashboard/deployment URL when needed |
|
||||
| `NEXT_PUBLIC_PLAUSIBLE_URL` | Plausible analytics endpoint |
|
||||
| `NEXT_PUBLIC_PLAUSIBLE_SRC` | Plausible per-site script URL (optional) |
|
||||
| `NEXT_PUBLIC_POSTHOG_KEY` | PostHog project key (optional) |
|
||||
| `NEXT_PUBLIC_POSTHOG_HOST` | PostHog host (optional) |
|
||||
| `NEXT_PUBLIC_SENTRY_DSN` | Browser Sentry DSN |
|
||||
| `NEXT_PUBLIC_SENTRY_URL` | Sentry instance URL |
|
||||
| `NEXT_PUBLIC_SENTRY_ORG` | Sentry organization |
|
||||
|
||||
Reference in new issue
Block a user