Skip to main content
Session replay records the DOM state of your pages so you can play back any session like a video. You see exactly what the user saw: every scroll, click, hover, text input (never the values), and page change. Tracelit session replay player showing a user browsing through a checkout flow

How it works

Tracelit uses an open-source replay engine under the hood to record a compressed snapshot of your DOM and the mutations that happen to it over time. This is streamed to Tracelit’s servers in the background during the session. The replay player in your dashboard reconstructs those snapshots and plays them back frame by frame — no actual screen capture, no video file, and no performance hit on your users.
The replay engine loads 1.5 seconds after window.load, not at page load — so replay never affects your performance metrics.

Recording modes

Control how much gets recorded with the replay.mode option in your init() config:

Block sensitive content

Some elements should never appear in replays — forms with personal data, admin panels, payment widgets. Block an element — replaced with a placeholder box in the recording:
Ignore an element — excluded from click and interaction tracking, but still visible in replay:
All <input type="password"> fields are always blocked at the DOM level, automatically. You don’t need to add tl-block to password fields.

Block entire pages

Use the blocklist option to pause recording on specific paths — for example, an admin panel or a page with sensitive health information:
Recording automatically resumes when the user navigates to a non-blocked page.

Idle and duration limits

By default, Tracelit stops recording if the user is inactive for 5 minutes, and cuts off any session at 45 minutes regardless. You can tune these:

Sample rate

On high-traffic sites you may not need to record every session. Use sampleRate to record a fraction:

Use this AI prompt


Live analytics inside session replay

Live analytics is built into replay workflows. In the Sessions view, you can monitor active users and immediately jump into their replay timeline when needed. From session replay, you can:
  • See who is active right now
  • Open the exact session that triggered an error
  • Correlate behavior, errors, and feature tags in one timeline
  • Prioritize issues by affected-user count and replay evidence
This keeps live monitoring and replay in one place, so you are not jumping between separate tools.

Next up