posthog-analytics

Instrument PostHog events, user identification, feature flags, and dashboards.

6|2|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/moleculeprotocol/science.beach --skill posthog-analytics-moleculeprotocol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: posthog-analytics
Source: https://github.com/moleculeprotocol/science.beach/tree/main/.agents/skills/posthog-analytics
Command: npx skills add https://github.com/moleculeprotocol/science.beach --skill posthog-analytics-moleculeprotocol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PostHog analytics reduces guesswork by helping teams instrument and interpret user behavior through consistent event tracking, identification, feature flags, and actionable dashboards.

Core Features & Use Cases

  • Event Tracking & Naming: Captures acquisition, activation, engagement, revenue, and error signals using a structured event naming convention and well-scoped properties.
  • User Identification: Identifies users on signup/login, updates user properties, and resets identity on logout to keep funnels and cohorts accurate.
  • Feature Flags & Experimentation: Enables both client-side flag gating and server-side flag fetching to support A/B tests and gradual rollouts.
  • Dashboards & Insights: Provides templates and a workflow for creating funnels and saving insights into PostHog dashboards for ongoing decision-making.
  • Privacy & Safety Controls: Supports GDPR-minded opt-in/opt-out capturing and includes guidance to avoid tracking sensitive data.

Quick Start

Configure PostHog in your app, then ask an AI to produce a complete event map (events + properties) for your signup, onboarding, feature usage, and checkout flows, and wire it into your codebase.

Frequently Asked Questions about posthog-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement user identification and event tracking with PostHog?

PostHog user identification and event tracking involves initializing the client, identifying users on signup or login, updating user properties, and resetting identity on logout to keep funnels and cohorts accurate.

Can I use feature flags for both client-side and server-side A/B testing?

Yes, feature flags support both client-side gating and server-side flag fetching, enabling A/B tests and gradual rollouts across web and API-driven products.

How do I track product events consistently across user onboarding and billing flows?

To track product events consistently, apply a structured event naming convention and scope properties to capture acquisition, activation, engagement, revenue, and error signals across user lifecycles.

Does PostHog analytics support GDPR opt-in behavior for capturing user data?

Yes, PostHog analytics supports GDPR-minded opt-in and opt-out capturing controls to ensure privacy compliance and provides guidance to avoid tracking sensitive user data.

What is the best way to create analytics dashboards and funnels from product events?

The best way to create analytics dashboards is by using provided templates and workflows to build funnels, generate insights, and save them into PostHog dashboards for ongoing decision-making.