# PostHog Analytics

> PostHog is not wired into the current repo analytics package.

*Canonical: https://makerkit.dev/docs/nextjs-drizzle/analytics/posthog-analytics-provider*

---

This repository does not currently ship a PostHog analytics provider.

## Current State

- No PostHog analytics package is present under `packages/`
- `@kit/analytics` currently uses the `null` provider only
- The examples that assume a built-in PostHog analytics package do not match the checked-in code

## If You Want PostHog

Add it as a custom provider:

1. Create a PostHog-backed implementation of `AnalyticsService`
2. Register it in `packages/analytics/src/index.ts`
3. Add a server-side provider in `packages/analytics/src/server.ts` if you need server events

See [Custom Analytics Provider](./custom-analytics-provider) for the extension workflow.
