posthog-common-errors
Installation
SKILL.md
PostHog Common Errors
Overview
Diagnosis and solutions for the most common PostHog integration errors. Covers event capture failures, authentication issues, feature flag problems, identity fragmentation, and SDK initialization errors.
Prerequisites
- PostHog SDK installed (
posthog-jsorposthog-node) - Access to browser console or server logs
- PostHog project API key (
phc_...) available
Instructions
Tool discipline
Use Read to inspect the relevant configuration and implementation before proposing changes. Use Grep to locate initialization, capture, flag, and credential boundaries.