What problem does it solve?
It helps you instrument a server-side Node.js application with PostHog event tracking so product actions, user identity, and errors become measurable in one place.
Core Features & Use Cases
- Server-side event tracking: Adds required
posthog-node capture calls to route handlers so business-critical operations are recorded (especially where client-only tracking is insufficient).
- User identification: Implements identify flows (and correlation using
X-POSTHOG-DISTINCT-ID / X-POSTHOG-SESSION-ID when frontend + backend both exist) so backend events map to the correct person.
- Error and exception instrumentation: Captures exceptions in central error handlers using
captureException for reliable debugging and stability insights.
- Event planning and consistency checks: Guides you through building an event plan, implementing it with minimal architectural changes, and validating the results.
Quick Start
Use the integration-javascript_node skill to set up PostHog for your Node.js server-side code by following the provided workflow files starting with basic-integration-1.0-begin.md.