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.Documentation Index
Fetch the complete documentation index at: https://docs.tracelit.io/llms.txt
Use this file to discover all available pages before exploring further.

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 thereplay.mode option in your init() config:
| Mode | What it does |
|---|---|
'always' | Record every session from start to finish (default) |
'trigger' | Only record when you call startReplay() — useful for high-traffic sites |
'off' | Disable replay entirely |
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: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 theblocklist option to pause recording on specific paths — for example, an admin panel or a page with sensitive health information:
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. UsesampleRate 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
Next up
Tag features in replay
Mark specific flows like checkout or onboarding so you can jump directly to them in any recording.