-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
Description
Description
Add PostHog as an optional analytics provider alongside Sentry for error tracking, for product analytics and feature flags.
Rationale
Most projects need product analytics, but current options have privacy concerns and complex setup. PostHog is open-source (https://github.com/PostHog/posthog) and fills the same role as Sentry but for user behavior instead of errors and completes the essential observability stack alongside error tracking.
Proposed Implementation:
- Add
use_posthog
cookiecutter option (y/n) - Include posthog package in requirements when enabled
- Configure PostHog in Django settings with environment variables
- Add PostHog JavaScript snippet to base template when enabled