Monitoring glossary
What is session replay?
Session replay lets you watch a reconstruction of a real visit: what the visitor saw, clicked and typed (masked), so a bug report becomes something you can see.
3 min read9 sectionsUpdated
On this page
Key points
- It is not a screen video: a script records DOM changes and input events, and a player rebuilds the page.
- It shines for bugs that are hard to reproduce and confusing user journeys.
- Mask sensitive input by default: form fields, payment details, personal data.
- Link replays to errors and slow pages so you watch the sessions that matter.
How it works
A small script snapshots the page structure on load, then records changes: elements added or removed, attributes changed, scroll positions, mouse movement, clicks and (masked) input. These events are compressed and sent in batches. The replay player rebuilds the DOM and applies the changes in order, which is why replays are sharp at any size and far smaller than video.
What it is good for
- Reproducing bugs: watch the exact steps before a JavaScript error.
- Understanding drop-off: see where people hesitate in a sign-up or checkout.
- Support: confirm what a customer saw instead of asking for screenshots.
- Performance context: watch a slow page load the way the visitor experienced it.
Privacy rules to follow
- Mask all form inputs by default, not just password fields.
- Block elements that show personal or financial data.
- Respect consent requirements in your jurisdiction.
- Keep retention short: replays are for debugging, not archives.
In VitalRix, session replay masks every form field in the browser before anything is sent, and the real-user script sets no cookies and stores no IP addresses.
Cost and sampling
Replays are heavier than metrics, so most teams record a share of sessions, plus all sessions with errors. Set caps so a traffic spike cannot surprise you; VitalRix usage controls let you cap replays per day.
A debugging workflow
- An error spike appears for
TypeError: cannot read properties of undefinedon the checkout page. - Open the error's affected sessions and pick a replay.
- Watch the steps: the visitor changed shipping country after adding a discount code.
- Reproduce locally with the same steps; the discount logic assumed a currency that changed.
- Fix, deploy, and confirm the error count drops for the new version.
Without the replay, step 3 is guesswork. With it, the bug report writes itself.
Does session replay slow the site down?
A well-built recorder adds little: it batches events and sends them in the background. Load it with defer and sample if traffic is very high.
Is session replay legal under GDPR?
It can be, with a lawful basis, masking of personal data, clear disclosure and sensible retention. Get advice for your situation.
Related reading
- Best real user monitoring tools: Choose a real user monitoring tool in 2026: Core Web Vitals, errors, session replay, privacy and pricing, with well-known options compared.
- What is digital experience monitoring (DEM)?: Digital experience monitoring explained: combining real user monitoring, synthetic checks and backend data to measure what customers experience.
- PostgreSQL idle in transaction: find and fix it: Find and fix PostgreSQL idle in transaction sessions: why they block vacuum and hold locks, which application patterns cause them and which timeout to set.
- What is synthetic monitoring?: Synthetic monitoring explained: scheduled, scripted checks that test your site, APIs and jobs before users do. Types, assertions, a checkout example, pitfalls.
- "Your connection is not private": how to fix it: Fix "Your connection is not private" (NET::ERR_CERT_*): expired or mismatched certificates, wrong device clocks, missing intermediates and Wi-Fi portals.
- Core Web Vitals monitoring: Monitor Core Web Vitals from real visitors: LCP, INP and CLS by page, device and country, with JavaScript errors, session replay, source maps and lab tests.
Watch your own site and services with VitalRix
Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.