Lightlines
By posthog

instrument-product-analytics

posthog628 installs

Track meaningful user actions with PostHog.

What it does

Adds PostHog instrumentation to project code so meaningful user actions, user identities, and errors can be tracked.

When to use it

Use after implementing features or when reviewing pull requests to ensure important user behavior is captured.

How to use it

Give it a project to instrument; it adds PostHog event tracking and sets up the SDK if needed.

What you provide

  • An existing project

Uses

Security reviews

Not yet reviewed.


What you need · 1

Requires access to a PostHog project, with its project token supplied by the user or retrieved through authenticated MCP access.


Access · 1

This skill

PostHog

Execute

Loads remote PostHog browser code

Write

Sends user events to PostHog