Appearance
Privacy & masking attributes
Replora records the structure of your pages, not a video, so it can leave things out before they ever leave the visitor's browser. Typed text is masked by default, passwords and card numbers always are, and you decide which other elements are masked or left out: with a class or attribute in your HTML, or with CSS selectors in the website's settings that apply without touching the site.
Masked by default
| What | How it is recorded |
|---|---|
Everything typed into input, textarea and select | One * per character, unless the site allows the field (see unmask). Switch Censor all input fields off to record typed text except secrets. |
| Password fields | Always masked, also after a "show password" button turns them into text fields. |
| Payment card fields | Always masked: autocomplete values starting with cc- (card number, CVC, expiry…). |
| Fields named like secrets | Always masked when name or id contains pass, pwd, card, cvc, cvv, iban, ssn, secret, token or ends in pin; also autocomplete values containing password. |
Rich-text editors ([contenteditable]) | Their text is masked like typed text. |
| Labels of clicks on masked elements | Never sent (click reports use a label only for unmasked elements). |
| Form analytics | Never values: only whether a field holds something (true/false), times and corrections. |
| Everything, when the rules can't load | If the site's rules don't arrive within 1.5 s and the tab has none from an earlier page, all text is masked for that page; clicks, movement and the layout are still recorded. |
Not masked by default: the visible text of the page. Mask what is personal (names, addresses, account numbers, order details) as below.
Classes and attributes in your HTML
| In your HTML | Effect in the recording |
|---|---|
class="sr-mask" or data-sr-mask | The element's text is recorded as *** (also its children). |
class="sr-block" or data-sr-block | The element is left out: replays show an empty box of the same size. Forms and canvases inside it are not tracked either. |
class="sr-ignore" | Input events on the element are not recorded. |
data-sr-unmask | Typed values in this field (or any field inside the element) are recorded, unless it is a secret field. |
data-sr-form="Name" | Marks a form (also a form built without <form>) and names it in form analytics. |
data-sr-label="Text" | The label clicks on this element (or inside it) get in reports, instead of its visible text. |
html
<p class="sr-mask">Ada Lovelace, 12 Analytical Street</p>
<div data-sr-block id="support-chat"></div>
<input name="q" type="search" data-sr-unmask>
<button data-sr-label="Buy now (hero)">Buy</button>Mask early
The classes and attributes must be in the HTML when the element appears. Adding sr-mask later doesn't change what was already recorded.
Site-level rules (no code change)
Where to find them: Websites › your site › Settings, cards Privacy and sampling and Recording options. The tracker loads them (GET /c/{key}) before it records anything, so a change applies to every new page view within five minutes, without a new snippet.
| Setting | Values | Effect |
|---|---|---|
| Mask the text of these elements | One CSS selector per line, up to 30, each up to 200 characters | Like sr-mask, e.g. .price or #account. |
| Leave these elements out | Selectors, up to 30 | Like sr-block. |
| Record what is typed in these fields | Selectors, up to 30 | Like data-sr-unmask, e.g. input[name=q] for a search box. Passwords and card numbers always stay masked. |
| Censor all input fields | On (default) / off | On: everything typed is *** except allowed fields. Off: typed text is recorded, except passwords, card numbers and other secret fields. |
| Remove these query parameters from addresses | Names, up to 50, each up to 64 characters; * removes the whole query string | Removed on the server before anything is stored: page addresses, in-app navigations, grouped addresses, the landing page and request addresses. Applies to new recordings. |
| Never record these IP addresses | Up to 100: an address, a range (10.0.0.0/8, IPv6 too) or a pattern (203.0.113.*) | Sessions from these addresses are never stored. |
| Never record these pages | Up to 20 page rules | Those pages are paused; the rest of the session is recorded. |
| Only record visits that start on | Up to 20 page rules | Other sessions are not recorded. |
| Record this share of sessions | 1–100 % | Sampling by session. |
| Record frames from other domains | Off (default) / on | See frames. |
| One visitor across subdomains of | A domain, e.g. shop.com | Shares the visitor (returning visitor, identity, opt-out) across subdomains in one first-party cookie. |
| Record network request details | Off (default) / on | Records request and response bodies; see below. |
| Record canvas drawings | Off (default) / on | Images of <canvas> drawings about once a second (blocked canvases are skipped). |
| How addresses are shown | Domain, Path, Query, Hash fragment | Only changes what the dashboard shows; the whole address is kept. |
Selectors with {, }, <, > or ; are refused, and the tracker drops any selector the browser can't parse (an invalid selector would otherwise stop the recording).
Page rules: part of the address (/checkout), a pattern with * (*/orders/*), =address for an exact page, ^address for "begins with". Matching ignores case.
Removing parameters
Use Remove these query parameters for tokens, emails and order numbers in addresses (token, email, order). Parameter names match case-insensitively, and item also removes item[].
Allow typed values
Typed values are recorded only in fields you allow, and never in secret fields:
html
<!-- One field -->
<input name="q" data-sr-unmask>
<!-- Every field of a form -->
<form data-sr-unmask action="/search"> … </form>Or list selectors under Record what is typed in these fields.
Network and console
With Record network request details off (default), network calls carry only method, URL, status, duration and size.
With it on, the bodies of the page's own fetch and XMLHttpRequest calls are recorded too:
- text only (text, JSON, XML or form data), at most 2000 characters;
- in JSON and form data, values of keys that look secret are replaced by
***: keys matchingpass,pwd,token,secret,auth,card,cvc,cvv,ssn,iban,session,cookie,api-key/api_key/apikey,credential,otp, or exactlypin; - never streams (server-sent events), never calls to the Replora server itself.
Console output (console.log, info, warn, error) is always recorded, at most 200 messages a page. Don't log personal data to the console on pages you record.
On the server
| Measure | Detail |
|---|---|
| IP addresses | Never stored in full: the last IPv4 octet (or last 80 bits of IPv6) is zeroed. With Anonymize visitor IP addresses more strongly (account Settings, card Visitor privacy), the last two octets (all but the first 32 bits of IPv6). |
| Allowed domains | Data is only accepted from the website's allowed domains (and their subdomains). |
| Share links | A public share link hides the visitor's IP address and identity; identities, tags, custom event properties and the visitor id are removed from what it serves. |
| Retention | Recordings are deleted after the site's Keep recordings for period (7, 30, 90, 180 or 365 days, capped by the plan) every night. |
| Deletion | Deleting a session, a website or an account deletes its recordings; modules delete their own data with the site. |
The tracker does not read Do Not Track or Global Privacy Control by itself. To honour them, set window._srOptOut = true before the script loads; see Consent and opting out.
Browser storage
The tracker keeps these first-party values on your site's domain (nothing is shared across sites):
| Name | Where | Holds |
|---|---|---|
_sr_session | sessionStorage | The tab's session id, start and last activity |
_sr_stopped | sessionStorage | A session the site's rules excluded (so later pages stay off) |
_sr_rules_<key> | sessionStorage | The site's rules, 5 minutes |
_sr_experiments, _sr_surveys | sessionStorage | Running A/B tests and active surveys, briefly cached |
_sr_x_force, _sr_x_redirect_<id> | sessionStorage | A/B preview choice; redirect loop guard |
_sr_diag, _sr_edit | sessionStorage | Diagnostics panel on; tab is in the A/B editor |
_sr_visitor | localStorage | When the browser was first seen (returning visitor) |
_sr_vid | localStorage | The anonymous visitor id (a random UUID) |
_sr_identity | localStorage | The identity from identify |
_sr_optout | localStorage | Opted out |
_sr_x_<id> | localStorage | The visitor's A/B test variant (or out) |
_sr_sv_<id>, _sr_sv_<id>_n, _sr_sessions | localStorage | Surveys answered, closed or skipped; session count for survey targeting |
_sr_v | Cookie (only with One visitor across subdomains of) | The four visitor facts above, for the chosen domain, 2 years, SameSite=Lax, Secure on HTTPS |
No cookie is set unless you choose a domain to share visitors across.
