Getting started with Session Replay

See real user behavior

Install the PostHog SDK and enable Session Replay with a couple lines of config.

PostHog automatically captures every click, scroll, input, and page view. Session recording starts the moment a user lands on your page.

Web and mobile are both supported by our SDKs.

Platforms

Install PostHog SDK

Inspect replays with dev tools

Every session replay comes with a browser-like DevTools suite that is synced to the recording's timeline.

It's a full debugging environment with video playback.

Session replay activity panel

Open the Activity panel to inspect each moment.

  • Jump to any event in the session's timeline
  • See console logs, warnings, and errors exactly when they happened
  • Inspect the network waterfall to find slow or failed API calls
Watch session replays

Create playlists and AI summaries

Session replays are fully enriched with PostHog events and properties, so you can query them like data.

Filter by rage clicks, JavaScript errors, custom events, user properties, or feature flag variants. Save them as collections and share playlists with your team.

Session replay collection

Can't watch every recording? PostHog AI can.

You can ask PostHog AI to search session replays and create playlists.

Better yet, ask PostHog AI to watch and summarize session recordings for you.

Try these PostHog AI prompts:

Build collections and AI summaries

Ship fixes with MCP

Use Claude Code, Codex, Cursor, or any MCP-compatible agent with the PostHog MCP server.

With the PostHog MCP, your AI coding agent can query session replay and event data. Find sessions where a specific error occurred, pull the event timeline, and generate a fix in your codebase, all from your terminal or editor.

Bug report to PR, no context switching.

Use the PostHog MCP

Integrate your tech stack

Product Analytics

Click any data point in your funnels, retention charts, or user paths and land directly in a playlist of session replays for the users behind that number. No ID matching between tools, no export, same data layer powering both.

Feature Flags

Filter recordings by which feature flag variant a user had. See exactly how users interacted with version A vs. version B. Roll out features or fixes without a full deploy.

Session replay activity panel

Error Tracking

When an exception fires, jump to the session replay to see exactly what the user was doing before and after the error. No reproduction needed.

Use for free

PostHog's Session Replay is built to be cost-effective by default, with a generous free tier and transparent usage-based pricing. Since we don't charge per seat, more than 90% of companies use PostHog for free.

TL;DR 💸

  • No credit card required to start
  • First 5K web recordings and 2.5k mobile recordings per month are free
  • Above that we have usage-based pricing starting at $0.005/recording with discounts
  • Set billing limits to avoid surprise charges
  • See our pricing page for more up-to-date details

That's it! You're ready to start integrating.

Community questions

Was this page useful?

Questions about this page? or post a community question.