posthog-analytics
PostHog analytics, event tracking, feature flags, dashboards
By alinaqi · 795 installs
npx skills add alinaqi/maggy --skill posthog-analytics
Source repository · Upstream listing
PostHog Analytics Skill
For implementing product analytics with PostHog event tracking, user identification, feature flags, and project specific dashboards.
Sources: [PostHog Docs](https://posthog.com/docs) [Product Analytics](https://posthog.com/docs/product analytics) [Feature Flags](https://posthog.com/docs/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)
Don't track everything. Track what informs decisions.
Installation
Next.js (App Router)
React (Vite/CRA)
Python (FastAPI/Flask)
Node.js (Express/Hono)
Environment Variables
Add to credentials.md patterns:
User Identification
When to Identify
User Properties
Event Tracking Patterns
Event Naming Convention
Core Events by Category
React Hook for Tracking
Feature Flags
Setup
Server Side (Next.js)
A/B Testing
Project Specific Dashboards
SaaS Product
E Commerce
Content/Media
AI/LLM Application
Creating Dashboards
Using PostHog MCP
Dashboard Creation Workflow
Privacy & Compliance
GDPR Compliance
Data to Never Track
Property Sanitization
Testing Analytics
Development Mode
E2E Testing
Debugging
PostHog Toolbar
Event Debugging
Quick Reference
Event Checklist by User Lifecycle
Dashboard Templates
Project Type Key Dashboards
SaaS Acquisition, Activation, Engagement, Retention, Revenue
E Commerce Conversion Funnel, Product Performance, Customer LTV
Content Consumption, Engagement, Growth
AI/LLM Usage, Quality, Cost
Mobile App Installs, Onboarding, DAU/MAU, Crashes
Properties to Always Include