Skip to main content
When you finish, you know what a recording shows, how to change it on your own pages, and what to add to your privacy policy.

What is masked by default

Masking happens in the visitor’s browser. Masked text never reaches Datalyr.

Choose how much text is masked

The Privacy section of Replay settings, on the Replays page, sets the text mode for replay and heatmaps together. New sessions use it on their next page load. Sessions already recorded keep the masking they were recorded with. Input values are masked in every mode. Pick Standard or Strict when a page can show a visitor’s own data in places you can’t mark, such as a signed-in account area.

Change masking on your pages

Add one of these attributes to an HTML element. It applies to the element and everything inside it.
data-dl-mask wins over data-dl-unmask when both apply to the same text.
data-dl-unmask shows the text inside it to anyone in your workspace. Don’t put it on an element that can hold a name, an email address, an address, or an order number.

Turn off replay on one site

If one site shares a workspace but must never be recorded, pass replay: false to init(). It keeps replay off on that site, whatever the dashboard says.
init() can only turn replay off. Only the dashboard turns it on.

Signals that stop recording

The recorder starts only when every row below allows it. If a signal changes during a visit, recording stops and unsent data is discarded. See Privacy and redaction for how each signal affects tracking in general.

Shopify checkout

Shopify checkout pages are never recorded. Shopify runs checkout in a sandbox that no storefront script can see into. A recording ends when the visitor starts checkout, so payment and address fields never appear in a replay.

Add a line to your privacy policy

Session replay records how visitors use your site. Tell them. You can adapt this sentence:
We use Datalyr to record how visitors interact with our website, such as clicks, scrolling, and the pages they view, so we can find and fix problems. Text you type is always masked before it leaves your browser, and other page text is masked according to our settings. Recordings are kept for 30 days. We don’t record visitors who decline analytics or marketing cookies, or whose browser sends Do Not Track or Global Privacy Control.
If you use Heatmaps without Session replay, use this sentence instead:
We use Datalyr to measure where visitors click and how far they scroll on our website, so we can find and fix problems. Text you type is always masked before it leaves your browser, other page text is masked according to our settings, and no recordings are made. Click and scroll data is kept for 90 days. We don’t measure visitors who decline analytics or marketing cookies, or whose browser sends Do Not Track or Global Privacy Control.
Both sentences are a starting point, not legal advice. Check them with your own adviser before you publish them.

What to tell visitors who ask

Verify

  1. Turn on session replay. See Session replay.
  2. Visit a page that holds a form.
  3. Type into a field.
  4. Wait about 35 minutes.
  5. Open the session on Replays.
  6. Confirm the field value shows as * characters.
  7. Confirm any element you marked data-dl-block shows as an empty box.

When it does not work

Next