PostHog
Notes on using PostHog with the analytics abstraction in this codebase.
This repo does not ship a first-party PostHog analytics provider, PostHog package, or plugin installer.
If you want PostHog, treat it as a custom analytics integration:
- Implement
AnalyticsService - Register the provider with
createAnalyticsManager() - Wire any client or server SDK initialization inside your provider
Relevant code:
packages/analytics/src/types.tspackages/analytics/src/analytics-manager.tspackages/analytics/src/index.tspackages/analytics/src/server.tsapps/web/components/analytics-provider.tsx
This is intentionally provider-agnostic. The shipped default remains the null provider until you add your own implementation.
For the actual extension pattern, see Custom Analytics Provider.