Session Replay

Session replay records what real users do in your product and plays it back like a DVR, with a synced DevTools panel showing console logs, network requests, and errors at the exact moment they happened. Because PostHog already captures your events, every replay is enriched with the person, their properties, and the feature flags they had, so you can jump from a funnel drop-off or an exception straight to the session behind it.

You can watch replays yourself, ask PostHog AI to find and summarize them, or pull them into your editor over MCP.

Get started

Where you can use it

You watch, filter, and share replays in the PostHog web app. The other surfaces let you investigate sessions and act on them without leaving your existing tools.

PostHog Web

Watch recordings with synced DevTools, build collections, and share them with your team.

Watch replays →

PostHog MCP

Search sessions and manage playlists from any MCP client or AI editor.

Search replays →

API

List, filter, update, and delete recordings and playlists from your own systems.

Use the API →

Where its data comes from

Session replay runs on recordings captured by your PostHog SDKs. What ends up in a replay depends on how you configure capture: which sessions you record, what the browser panels collect, and what you mask before it ever leaves the device.

SDKs

Record sessions from web, React Native, iOS, Android, Flutter, and more.

Install an SDK →

Recording rules

Sample, gate by URL or feature flag, and record only the sessions worth keeping.

Set recording rules →

Console and network

Capture console logs and the network waterfall so the DevTools panel has something to show.

Capture performance data →

Privacy and retention

Mask text, inputs, and whole elements before capture, and control how long replays are kept.

Configure privacy →

What replay captures

These defaults apply once you turn on session replay in your project settings.

DataCaptured by defaultNotes
Page content, clicks, and scrollsYesMask sensitive elements with privacy controls.
Text typed into inputsNoPostHog records masked characters instead. You can unmask inputs in privacy controls.
Console logsYesOn for new projects. Turn off in your replay settings.
Network requestsYesOn for new projects. Records the URL and timing of each request.
Request headers and bodiesNoTurn on in your replay settings or SDK config.
Canvas and WebGLNoTurn on in your replay settings or SDK config. DOM masking doesn't cover canvas.

To lower replay's load on the browser, record fewer sessions with recording rules, and lower the canvas frame rate and resolution.

Still have questions?

Was this page useful?