Replays
A replay plays one visit back as it happened: each page, the pointer, clicks, and scrolling, with everything typed hidden. Use replays to see where people get stuck. They’re off until a workspace admin turns them on.
Before you start
- Individual visits must be on. A replay is one visit, so none is recorded or shown while the site’s Individual visits is off, and it’s off by default for every site.
- The tracking script stays on the page. The recorder works from its page view; without it, nothing is recorded.
- Only workspace admins change what a site records.
Turn replays on
In the site, open Settings › General › Tracking and turn on Individual visits. It asks first: in the UK this needs the visitor’s consent, and in the EU it usually does. Select Turn on Individual visits, then Save changes.
Open Settings › Recording. Under Replays and heatmaps, turn on Replays and select Save changes.
Check What’s recorded (below), and save it if you change it.
Open Add the recorder and put its tag on every page, next to the tracking script. With Wait for consent, have your consent banner run the consent line below when a visitor agrees; it works before or after the recorder loads. If your consent tool adds scripts only after the visitor agrees, pick Start at once instead.
<script defer src="https://app.lyli.io/r.js" data-site="s_k3m9x2p7qa"
data-consent="wait"></script>window.lyliConsent = true; window.lyli?.record?.();If a visitor changes their mind, lyli.stopRecording() stops the recording and drops what hasn’t been sent. If you capture errors too, run window.lyli?.errors?.() in the same place (Errors).
What’s recorded
A replay records the page’s content and layout, the pointer, clicks, scrolling, and the window’s size. Settings › Recording › What’s recorded decides the rest:
/admin/*: a * matches the rest of the path. Nothing is recorded there, not even clicks.data-lyli-hide. On by default, with a switch each: all text, and images, video, and SVG drawings. Pictures set as CSS backgrounds still show.Page and link addresses lose their query strings and fragments, and email, phone, and text message links keep only their kind. Mark anything else that shouldn’t be recorded:
<section data-lyli-hide>
<!-- Left out of every replay, as a blank of its size -->
</section>Watch a replay
Open Behavior › Sessions in the sidebar. Visits with a replay show ▶ and its length in the Replay column; turn on Only with a replay to list only those.
Select a visit, then Watch the replay in its panel.
The replay page plays the visit’s pages one after another. Under it, the timeline marks pages, custom events, clicks, and errors, with idle time hatched. Play or pause with Space, and go 5 seconds back or forward with ← and →. Skip idle time jumps the quiet stretches, the speed runs from 1× to 8×, and it can go full screen. Beside it, The visit lists each step, with the one playing marked, its source, the screen size, and the day the replay is kept until. Previous replay and Next replay open the site’s replays recorded just before and after it.
In the Replay column, Cut means the recording stopped at the site’s longest replay before the visit ended, and Too short means too little was recorded to play.
Who can watch
A replay shows one person’s visit, so by default only the workspace’s admins can watch replays; members don’t see them in Sessions. An admin can choose Everyone in the workspace in Settings › Recording › Who can watch replays. Only admins can delete replays. Replays are never shown in share links, and the API and MCP never read them.
Replays and your plan
- Each month a plan includes 1 replay for every 100 page views and events it’s sized for; a trial includes 1,000 in all.
- Past those, each replay costs €0.004 (or $0.004) before VAT, billed after the month ends, up to the monthly limit your admins can set in Billing. Once it’s reached, replays pause until the next month, and heatmaps keep counting.
- A replay counts once something of it is recorded. Settings › Recording shows how many your plan includes and how many are used.
- While the workspace’s dashboards are paused, no replays are recorded.
See Pricing for what each plan includes.
Limits and edge cases
- One replay a visit: a visit’s later page loads join it. Pages from before the recording started, or after it stopped, are listed quietly in The visit.
- A replay holds at most 10 MB of compressed recording, so a very busy visit can fill it before its time is up.
- Bots are never recorded. Sample sites, the demo’s included, have no replays.
- Turning off Replays ends recordings under way; replays already kept stay until their days are up. Turning off Individual visits also hides them while it’s off.
- When you watch a replay, your browser loads the site’s images, fonts, and styles from the site itself, as a visitor’s browser would. The recording plays in a sandboxed frame, where nothing of the recorded page runs.
Delete replays
Replays are deleted automatically once the site’s days are up. An admin can delete one sooner with Delete this replay… on its page, or all of a site’s in Settings › Recording › Delete all replays, with the domain typed back. That also deletes the heatmap pictures taken from them; heatmaps keep their counts.
Privacy and consent
Assume replays need the visitor’s consent, in the EU and in the UK, where the regulator lists recordings of individual visitors among the uses that need it. That’s why the recorder waits for your consent banner by default. Like the tracking script, it sets no cookies, and we never store IP addresses in our database.
Give visitors a way to opt out on your privacy page. The recorder makes this link a switch, and it stops everything we collect in that browser for your site, a recording under way included. lyli.optOut() and lyli.optIn() do the same from your own switch.
<a href="#" data-lyli-opt-out>Opt out of analytics and recording</a>Settings › Recording also has text for your privacy page and consent banner, which follows your settings.

