Skip to content

Session replay

Watch recordings of real visits, with form values always masked.

What it records

Session replay records what a visitor saw and did: page changes, clicks, scrolling and typing (with values masked). You play it back like a video, next to that visit's page views and JavaScript errors, to see exactly how a problem happened.

Turn it on

  1. Set up real user monitoring first

    Replay uses the same site and site key. See Real user monitoring.

  2. Enable replay for the site

    Go to Real users › Session replays › Session replay settings. Switch it on, choose the share of sessions to record and the maximum length, and optionally mask all text.

  3. Add the recorder

    Add this to every page, next to the real user monitoring script:

    Session replay script
    <script async src="https://api.vitalrix.com/api/v1/public/rum/replay.js?k=rum_your_site_key" data-respect-dnt="true"></script>
  4. Watch a recording

    Browse your site for half a minute. The recording appears under Real users › Session replays. Filter by minimum length or recordings with JavaScript errors.

When replay is off, the sample does not include a session, or storage is full, the script does nothing at all, so it never slows your pages.

Replays on incidents

Every incident on a site with replay switched on lists the recordings made during the incident under What visitors saw, those with JavaScript errors first, next to the errors visitors hit and the revenue at risk. See Customer impact.

Privacy

How replay protects privacy
ProtectionWhat happens
Form valuesEvery input, text area and select is masked in the browser, then masked again on the server. Typed values never reach storage.
Sensitive textAdd data-rum-mask to hide an element's text, or switch on mask all text for the site.
Blocked elementsdata-rum-block elements, iframes, video, audio and canvas are not recorded.
Do Not TrackWith data-respect-dnt="true", visitors with Do Not Track are never recorded.
AccessOnly members of your organization can list or play recordings. Deleting needs write access.
LifetimeRecordings are deleted automatically after 3 days.
Mask or block parts of a page
<!-- Hide this text in recordings -->
<p data-rum-mask>Account balance: €1,240.00</p>

<!-- Do not record this element at all -->
<div data-rum-block>…</div>

Settings as code

Replay settings (on or off, sample rate, longest recording, mask all text) can be kept in a setup file under rum_sites, and applied by you or by an AI agent connected through MCP. Form inputs are masked in the browser whatever the settings say.

Delete recordings

Delete a single recording from its row or from the player, select several and choose Delete N selected, or remove every recording of a site with Delete all recordings. Deleting removes the recording from storage permanently and is recorded in the audit log.

Storage and limits

  • Recordings are stored compressed. The dashboard shows how much storage is used.
  • When the storage limit is reached, new recordings pause automatically and resume as old ones expire. You are never charged extra for replay storage.
  • A recording stops at the maximum length you set (5 minutes by default) and continues across page loads in the same tab until then.
  • Fonts and images load from your live site during playback. If they changed since the visit, playback can look slightly different.
  • Very heavy pages whose snapshot is larger than 1 MB compressed cannot be recorded.

Something unclear or missing? Open VitalRix and use the in-app setup guides, or read Troubleshooting.