Track errors and resolve issues
Error tracking is one of the tools that makes your product self-driving: every exception is tied to the user who hit it, so agents have the context to ship the fix. Built to natively work with product analytics, session replay, and feature flags.
Install with AI in a single prompt
Paste into your terminal or code editor and make AI do the work.
What does it do?
Error Tracking captures exceptions from across your stack and turns them into issues you can prioritize, assign, and resolve. Because PostHog already knows what's happening in your product, every issue comes with the affected user's session replay, events, and properties attached – so you can see what went wrong instead of trying to reproduce it.
Who is it for?
Error Tracking is used across teams depending on your role.
How do I use it?
There are a few ways to explore Error Tracking.
Debug errors from your editor
Triage issues, inspect stack traces, and generate fixes from Cursor, Claude Code, VS Code, or any MCP-compatible agent.
Top features
Stack traces
Get code context automatically with PostHog's server-side libraries, or upload source maps for front-end frameworks
AI prompts
Ask PostHog AI to find issues, inspect stack traces, and help ship the fix. Works in PostHog AI (in-app chat), PostHog Desktop (our AI code editor), and in your product editor (using the MCP). Already signed in? Click a prompt to try it.
Findquery-error-tracking-issues-list
Inspectquery-error-tracking-issue-events
Update statuserror-tracking-issues-partial-update
Assignment ruleserror-tracking-assignment-rules-create
Grouping ruleserror-tracking-grouping-rules-update
External issueserror-tracking-external-references-create
Install
SDKs for web, mobile, and backend – then upload source maps so stack traces stay readable.
