Posthog Analytics
Analytics setup skill for PostHog covering event tracking, user identification, feature flags, and dashboards.
- CCM score
- 54 of 100
- skills.sh installs
- 831
- GitHub stars
- 712
- last updated
- Jul 14, 2026
Own this skill? Claim it
What it does
- Covers SDK setup for Next.js, React (Vite/CRA), Python (FastAPI/Flask), and Node.js (Express/Hono) backends
- Includes environment variable patterns, user identification on signup, login, and logout, and event naming conventions
- Enforces
snake_casepast-tense event names and a rule to track only events that inform decisions - Designed for product teams adding analytics, feature flags, or event tracking with PostHog
Install
$ npx -y skills add alinaqi/maggy --skill posthog-analytics -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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)
Don't track everything. Track what informs decisions.
Installation
Next.js (App Router)
npm install posthog-js
// lib/posthog.ts
import posthog from 'posthog-js';
Details
- Repository
- github.com/alinaqi/maggy
- Categories
- Marketing, SEO & Ads, Frontend & UI Code, Backend & APIs
- First seen
- May 16, 2026
More from alinaqi/maggy
All 54- Flutter748
- Supabase Nextjs732
- Android Java693
- Code Deduplication618
- Supabase608
- User Journeys597
- React Native536
- Klaviyo527
- Aws Dynamodb494
- Nodejs Backend447
- Aeo Optimization446
- Security439
- Agentic Development372
- Woocommerce360
- Ui Web359
- Ui Testing332
- React Web312
- Site Architecture307
- Commit Hygiene306
- Web Content298
- Codex Review296
- Team Coordination286
- Typescript286
- Reddit Api282
Similar to Posthog Analytics
More Marketing, SEO & Adsinstrument-product-analyticsSkillposthog/skills925 installsGuided PostHog analytics instrumentation that adds meaningful capture events, user identification, and error tracking across frameworks.
posthog-instrumentationSkillposthog/posthog-for-claude2.3K installsGuided addition of PostHog event tracking, identification, and feature flags across JavaScript, Python, and React code.
posthogPluginvm0-ai/vm0-skills81 starsPostHog API via curl. Use this skill to manage product analytics, feature flags, experiments, insights, dashboards, and more in PostHog.
integration-nextjs-app-routerSkillposthog/skills330 installsGuided PostHog analytics integration for Next.js App Router apps, following a four-step setup workflow.
discover-analytics-patternsSkillamplitude/mcp-marketplace69.3K installsDiscovers how analytics tracking calls are written here, plus event and property naming conventions.
app-analyticsSkillappeeky/aso-skills3.7K installsStructured analytics guide covering App Store Connect, Firebase, and product tools with a defined metrics framework.