Session replays
Watching recordings of real user sessions.
Session replays show exactly where users hesitate, misclick or give up. They are a fast way to understand a drop-off seen in a funnel. They need careful privacy settings, such as masking inputs.
Why it matters for a product engineer
A funnel shows where people leave. A session replay shows what they did just before: the hesitation, the wrong click, the error message. For a product engineer, a few replays can turn a drop-off into a bug you can reproduce. But a replay records whatever the page shows, so the privacy settings are part of the setup, not an extra.
How to do it
- Start from a question, such as one drop-off step, and filter replays to the sessions that reached it.
- Watch several sessions before you conclude anything. One session is a story, not a pattern.
- Mask all input by default. Also mask or block page text that shows personal data, such as account and payment pages.
- Test the masking on your own pages: record a session with fake data, and watch it.
- Write what you saw as a bug or a finding, with links to the sessions. Delete recordings you do not need.
Common mistakes
- Watching random sessions without a question.
- Trusting the tool’s defaults to hide everything personal.
- Recording payment or health pages at all.
- Sharing replays widely inside the company.
Example
In 2017, Princeton researchers studied session replay scripts that they found on 482 of the top 50,000 websites. Redaction of typed input was partial: one service hid card numbers only in fields marked with a specific attribute. No service redacted text shown on the page by default, and the account page of the clothing store Bonobos sent full card details to a replay service. Today PostHog masks input fields by default, but it still does not mask page text by default.
What session replay services hid by default in 2017
| Typed input | Text on the page | |
|---|---|---|
| Automatic redaction | Yes, coverage varies | None |
| In the researchers' tests | Partial leaks | All of it leaked |
| What the site had to do | Tag extra fields | Tag all personal data |
Masking typed input is not enough. Anything the page displays goes into the recording unless the site marks it.
ReportedEnglehardt, Acar and Narayanan, Princeton CITP, 15 Nov 2017
Sources: No boundaries: exfiltration of personal data by session-replay scripts (Englehardt, Acar and Narayanan, Princeton CITP) ↗ · Session replay privacy controls (PostHog docs) ↗
Resources
1- docsStart here
Session replay privacy controls ↗
PostHog docs · 15 minHow masking and blocking work in session recordings, so you can watch real sessions without capturing personal data.
Tools
3- ToolFree
- ToolOpen source
OpenReplay
Open-source, self-hostable session replay with developer tools such as network and console logs.
- ToolOpen source
PostHog
Open-source product analytics with session replay, feature flags, experiments and surveys in one tool.