posthog-analytics

Installation
Summary

Event tracking, feature flags, and dashboards for product analytics with PostHog.

  • Supports Next.js, React, Python, and Node.js with client and server-side SDKs; includes SPA pageview tracking and session management
  • Event naming conventions and core tracking patterns across authentication, onboarding, feature usage, billing, and errors with React hooks for easy integration
  • Feature flags with client-side hooks, server-side evaluation, and A/B testing support via payload variants
  • Project-specific dashboard templates for SaaS, e-commerce, content, and AI applications with funnel analysis and retention cohorts
  • GDPR compliance features including opt-in/opt-out handling, Do Not Track respect, and property sanitization to prevent sensitive data leaks
SKILL.md

PostHog Analytics Skill

For implementing product analytics with PostHog - event tracking, user identification, feature flags, and project-specific dashboards.

Sources: PostHog Docs | Product Analytics | Feature Flags


Philosophy

Measure what matters, not everything.

Analytics should answer specific questions:

  • Are users getting value? (activation, retention)
  • Where do users struggle? (funnels, drop-offs)
  • What features drive engagement? (feature usage)
  • Is the product growing? (acquisition, referrals)
Related skills
Installs
540
GitHub Stars
622
First Seen
Jan 20, 2026