Replays record only after consent and mask input, media and personal details in the browser. Not legal advice.
Consent comes first
Replays and heatmaps are on by default; add data-replays="off" or data-heatmaps="off" to the tag to opt out. Neither starts until your consent tool calls the line below; then every consenting visitor is recorded (within 1 GB per site). Strict sites accept no recordings.
(window.lundot ??= { consented: [] }).consented.push("replay");
Call it on every page load; it is not remembered. window.lundot?.revoke?.("replay") withdraws it and stops recording.
- Under Global Privacy Control, only the visitor's own replay switch counts, not Accept all. Do Not Track does not block replay.
- Analytics consent, Google Consent Mode included, never grants replay.
The server accepts a recording only with the consent flag, which the page reports itself: it is not proof from your consent tool. For examples and a check that recording started, see Cookies and consent and Replays and heatmaps.
What replays hide
Choose in Site settings, under Replays, What replays hide:
- Typed input and personal details (default): page text and images show; typed text and common email, phone and card formats are hidden. Mark anything else with
data-lundot-mask. - All text: for pages with private data. Only layout and movement show; images and inline SVG are blocked too.
At either level, and with no setting to relax them:
- All inputs are masked: typed text and checked states are dropped; editable regions (
contenteditable) and text areas are masked whole. - Personal details in page text and addresses are masked character for character when commonly formatted: email addresses, phone and card numbers, and any number of 7 or more digits split by spaces, dots, dashes or underscores (full-width and invisible-character tricks included). Dates such as
2026-11-06and long order numbers are masked too. Spellings such as "jane at example dot com" are missed: mark them withdata-lundot-mask. - Media is blocked: video, audio, canvas, iframes, objects and embeds become placeholders. Images and inline SVG show under Typed input and personal details, except inside
data-lundot-mask,lundot-maskor editable regions; under All text they never show. - Attributes masked:
title,alt,aria-label,aria-valuetext,aria-description,placeholder,value,label,content,summaryand everydata-*, except that theme attributes (data-theme,data-brand,data-density,data-state,data-slot,data-side,data-orientation,data-variant,data-size,data-chart-look) keep a short lowercase keyword such asdark.srcsetkeeps addresses (cut as below) and size descriptors.checkedandselectedare removed. - Addresses (
href,src,srcset,action, the page address, CSSurl(...)) lose query string and fragment in the browser, with personal details masked.mailto:andtel:keep only the scheme; same-page references (#icon) are kept;data:image/png;base64,...images are kept like any image, otherdata:addresses keep only the scheme. - Canvas and cross-origin iframes are not recorded.
Element names, ids and classes are kept: keep personal data out of them.
The server cleans every event again at your site's level: unknown kinds and typed input are dropped, media (and blocked images) reduced to its size, text masked as above. So an edited recorder cannot send typed input or common email, phone or card formats. One gap: when text changes inside an already-present marked element, the server masks only personal details; the recorder masks the rest.
With Typed input and personal details, replays record page text: say so in your consent text and privacy notice.
Mask more, or block elements
Nothing can be unmasked. To hide an image, mark it or its container with data-lundot-mask.
To mask a part's text but keep its layout, add data-lundot-mask or the class lundot-mask:
<section data-lundot-mask>
<h2>Your order</h2>
<p>Jane Doe, 12 High Street</p>
</section>
To block an element (recorded as a placeholder), add the class rr-block:
<div class="rr-block">Account details</div>
Without changing markup: in Site settings, Replays, Hide from replays, list CSS selectors, one per line (up to 20):
.billing-panel
#profile
[data-private]
Matches record as empty boxes. New recordings use the list within minutes, with no script change. Owners, admins and product admins can edit it.
Refused: whole-page selectors (body, html *), pseudo-elements (::before), pseudo-classes other than structural ones (:not(), :has(), :nth-child()) and anything not plain CSS. Attribute selectors may only test presence ([data-private]) or exact class, id, role, name or type ([role="dialog"]), since input[value^="a"] would leak masked values. A data-block-selector on the script adds to the list.
Use it for what masking still shows, such as a name inside an id.
Network timings, page errors and page speed
A recording also carries network timings (origin, path, timing, size and status; no query string, header or body), page errors (message cut to 300 characters, source file and line) and page speed (First Contentful Paint, Largest Contentful Paint, Cumulative Layout Shift, Interaction to Next Paint, Time to First Byte).
Error messages are masked like page text at your site's level. Mention these in your consent text and privacy notice.
Who can watch
Watching is a separate Replays switch on a role and needs Behaviour at View or above (roles and teams). Without it, the Behaviour screen shows Replays are off for your role. Signed recording links expire after 60 seconds.
Retention and deletion
30 days, at most 1 GB per site; site and visitor deletions include replays. See data retention and deletion.
Heatmaps
Heatmaps use click and scroll signals, with no target text, selector or attribute. Withdrawal drops unsent signals. Rage and dead clicks are heuristics and can be wrong.