Skip to content
Betterlytics

Session replay: See where visitors get stuck, and what stopped them

Replay real visits click by click, with rage clicks flagged and every word and input masked before it leaves the browser. Free on every plan, next to your traffic and errors.

1click

From error to replay

Errors in recorded sessions link to their replay, so you go from stack trace to replay in one click.

60days

Replay history

Recordings stay in your dashboard for 60 days.

0cookies

No cookies, no IPs

Replays set no cookies and save no IP address with a recording.

100%

Masked in the browser

Every line of text and every input turns to asterisks before the recording leaves the page.

From a failed checkout to the reason

What happens when the Pay button breaks at 10:03.

The visit is recorded The visit is picked for recording and saved as they browse.

Masked before it leaves the browser

You see where visitors clicked, scrolled and typed. Their privacy stays intact: what they read and typed never leaves their device.

  • Every character of text and every input value becomes an asterisk, so the layout keeps its shape
  • Images and iframes are replaced by empty boxes of the same size
  • Can wait for consent before recording anything, wherever the law asks for it
  • Leave out whole pages or sections of your site, or single elements you mark as private
  • No cookies, and no IP address saved with a replay

A coffee shop checkout shown twice. In the visitor's view the name, email and address are readable; in the replay every word is asterisks and the product photo is an empty box.

Record the sessions worth watching

Decide how much to record and where. Everything else stays out of your visitors' way.

  • Pick your sample

    Record a small share of visits or every single one. Each visit is recorded in full or not at all.

  • Keep the lead-up to errors

    With error capture on, visits outside the sample still save the minute or two before a JavaScript error.

  • Leave pages out

    Turn recording off for any page or whole section, like your admin area or account pages. Nothing is recorded there, and the player blurs that part of the visit.

  • Light on your site

    The recorder is a separate file that loads only when it's needed, and uploads in small compressed batches in the background, so your pages stay fast.

  • Made for single-page apps

    Route changes in single-page apps built with React, Vue or Next.js show up as page views on the timeline, just like full page loads.

  • People only

    Headless browsers and test runners like Playwright and Cypress are never recorded, so your replays only show real people.

Turn it on with two lines

No new script and no new vendor. Replay runs on the Betterlytics script you already have.

  1. 1

    Turn it on

    Add one attribute to your script tag, or one option in the npm package.

  2. 2

    Handle consent

    Where the law requires consent, as in the EU, one line connects recording to your consent banner.

  3. 3

    Tune it

    Set the sample, leave out private paths, and keep replays of sessions that hit an error.

index.html
<script async  src="https://betterlytics.io/analytics.js"  data-site-id="YOUR_SITE_ID"  data-replay="true"  data-replay-sample="20"  data-disable-replay-on-urls="/admin/**"  data-track-errors="true"  data-replay-on-error="true"></script>

Frequently asked questions

What is session replay?

Session replay, also called session recording, saves how a page changed and what the visitor did on it, then rebuilds the visit in your dashboard so you can watch it like a video. No video is captured, and Betterlytics masks the text before anything is sent.

Is session replay free?

Yes. Session replay is included on every plan, including the free one, and recordings don't count toward your monthly events.

Do I need consent for session replay?

It depends on where your visitors are. In the EU, the GDPR and the ePrivacy Directive can require consent before you record a visit. Replays don't start until your site gives the go-ahead. That can come from the consent banner you already have, or from a script setting when you don't need consent.

What gets masked?

All text on the page and every input value, including passwords, emails and search fields, is replaced with asterisks in the visitor's browser. Images and iframes are left out. You can block more with the rr-block class, or turn recording off for whole paths.

Will session replay slow down my site?

Not in a way your visitors will notice. The recorder loads without blocking your page, and only on visits that are recorded or when error capture is on. It samples mouse movement and scrolling instead of tracking every pixel, and sends compressed data in small batches in the background.

How many visits are recorded?

5% by default. Set data-replay-sample to anything from 0 to 100. Recordings under 15 seconds aren't kept, and a recording stops after 10 minutes without activity or 20 minutes in total.

How do I find the session I'm looking for?

The replay list shows each session's start page, duration, country, browser, device, error count and rage clicks, and you can hide short sessions. From an error, Watch replay opens the latest session that hit it.

Does it detect rage clicks?

Yes. When a visitor clicks the same spot again and again, Betterlytics flags it as a rage click. You see it on the replay's timeline and as a count in the replay list, so frustrated visitors are easy to find.

How long are replays kept?

60 days. After that they're deleted for good.

Does it work in mobile apps?

It records websites and web apps, in desktop and mobile browsers. Native iOS and Android apps aren't supported. On touch screens, taps and scrolls are recorded, but there's no cursor to follow.

When is a dedicated replay tool the better fit?

Betterlytics shows what visitors did, with every word masked. If you need heatmaps, console and network logs, readable text, or search by user and event, a dedicated tool will serve you better. Our PostHog comparison shows the differences feature by feature.

Watch your first replay today

Turn it on in the script you already have and, where needed, connect your consent banner. Session replay is free on every plan.