Docs menu

Reports

Replays and heatmaps

Consented, masked replays, and click and scroll heatmaps by page.

On this page 9 sections

A replay shows one consented visit; a heatmap shows where visitors click and scroll across many.

Behaviour has three views: Replays, Heatmaps and Visits. It opens on Replays when your role can watch them and recordings exist, otherwise on Visits. Days are UTC.

One tag, on by default

The tracking script also records replays and heatmaps, loading the recorder only for a visitor who agrees. To opt out, add attributes to the tag:

<script defer src="..." data-website-id="..." data-replays="off" data-heatmaps="off"></script>

The visitor's browser reads those attributes, so they are not enforced. To enforce it on the server, turn off Record replays and heatmaps in Setup or Site settings; that one switch stops both, and stored settings win over the tag.

An older separate recorder tag keeps working without recording twice, so you can remove it.

For a site with a consent banner, use a tag with data-privacy="consented":

<script defer src="https://YOUR-LUNDOT-ADDRESS/script.js"
  data-website-id="YOUR-SITE-ID" data-privacy="consented"></script>

A replay is recorded only after the visitor agrees. The "replay" purpose covers replays and heatmaps, and your consent manager must grant it separately from analytics:

(window.lundot ??= { consented: [] }).consented.push("replay");

Call it on every page load once your tool knows the choice. When the visitor withdraws:

window.lundot?.revoke?.("replay");

Sampling is 100% by default. Consent, the recording switch and the 1 GB kept per site can limit what appears. Examples for a consent manager, Google Consent Mode and a plain banner are on Give replay consent.

  • Nothing is recorded or queued before "replay" consent or after it is withdrawn.
  • Analytics consent and Google Consent Mode never grant replay. Only an explicit call does.
  • The Strict profile refuses replay data at the collector. Do Not Track and Global Privacy Control have their own rules: see privacy signals.
  • Do not call revoke on a first "reject"; reserve it for withdrawal after a grant.

Masking, extra block selectors and retention are on Session replay privacy.

What is masked

Replays never record what a visitor types. Choose what else they hide in Site settings, What replays hide:

  • Typed input and personal details (recommended, the default): page text shows; common email, phone and card formats, and anything marked data-lundot-mask, are masked.
  • All text: every word is masked; you see layout and movement only.
  • At both levels media is blocked and shown only by its size, and the server cleans every event again before storing and reading it.

What else a recording carries

Network timings, page errors and page speed measures (FCP, LCP, CLS, INP and TTFB), under the same consent. Query strings, bodies, headers, full stacks and console output are never recorded. Details are on Session replay privacy.

Who can watch

Watching replays is a separate role switch (see roles and teams) and needs Behaviour access at View or above. Without it the Replays view says "Replays are off for your role". A viewer limited to some sites sees no recordings from the others.

Find a replay

A replay of Visitor 1000, who came from ChatGPT: the recorded page in the player with its timeline below, and beside it the visit's duration, clicks, frustration and typing, where it came from, landed and left, and Goal reached A replay of Visitor 1000, who came from ChatGPT: the recorded page in the player with its timeline below, and beside it the visit's duration, clicks, frustration and typing, where it came from, landed and left, and Goal reached

Swipe sideways to see the whole screenshot.

Sample data: a recording of the sample site, with the visit's details beside it.

From Replays. It opens on the newest recording; Recordings lists the rest. Above the player: previous and next (P and N), Share (a link to this moment) and Details (D).

Under the player: play, timeline, the Heatmap switch, settings (Skip inactivity, 1× to 8×) and full screen. Space plays and pauses; arrow keys jump 10 seconds. Red timeline marks are frustration, such as a rage click; green are tracked events.

The Details panel has four tabs:

  • Overview: Session, Visitor and Device, with duration, clicks, frustration, entry and exit pages and outcome.
  • Activity: what the visitor did, in order. Follow playback keeps the list at the playhead.
  • Network: each request with status, time and size. Select one to jump to it.
  • Errors: page speed measures, then each error with its time and source.

From Visits. Every visit in the period; recorded ones show "Has a replay". Select one to open it.

Short visits and bots. Visits under the minimum ("1s or longer" by default) and likely bots are hidden. Show short visits brings them back. A likely bot's mark lists why: what the browser showed, what its requests or network showed, or an empty visit.

With no recordings. "No visitor has agreed to replays yet" links to Setup. If Visits is empty too, check the date range, then Setup.

Check that recording works

  1. In an ordinary browser, on a public page with the tag, agree to replays through your consent tool.
  2. In DevTools Network, check that recorder.js loads after the grant and /api/send succeeds.
  3. Interact for at least 10 seconds and look for a POST to /api/record returning 200.
  4. Check the date range in Behaviour.

Automated browsers count as bots and cannot record. If something fails, see Troubleshooting.

Heatmaps

The Heatmaps view lists each page with its clicks. Select a page, then a kind:

Kind What it shows
Clicks Where clicks landed, warmer where more
Scroll How far down visitors scrolled
Rage clicks Three clicks or more, each within one second and 30 pixels of the last. One burst counts once
Dead clicks No page change or navigation within 2.5 seconds, and no immediate scroll, selection or new tab. Fields, downloads and new-tab links excluded

Rage and dead clicks are heuristics: treat them as places to look, not faults. No target text, selector or attribute is collected. Heatmaps use the same "replay" consent; a page appears once visitors click or scroll on it.

What to do with it

  1. Find a page on the page report with many visits and a low conversion rate.
  2. Open its heatmap. Look for clicks on things that are not links, or a scroll that stops before the call to action.
  3. Watch two or three replays from visits that entered on that page.
  4. Make one change, add a chart note (see the overview), and compare the next period.
  • DocsSession replay privacy

    Lundot records replays only after consent and always hides typed input, media and personal details. Hide all text, or mask and block more.

  • DocsCookies and consent

    Choose a tracking profile, connect analytics and replay consent, and learn when a banner may be needed.