Source: https://usedataowl.com/docs/session-replay
Markdown source: https://usedataowl.com/docs/session-replay.md
Description: Watch real user sessions to spot UX friction and checkout bugs, with every form input masked automatically and extra masking for any element you choose.

# Privacy-First Session Replay: Watch Real Visitor Journeys Safely

Session replay records the page and what the visitor did on it (rrweb DOM recording, not video).

## Turn it on

1. In **Settings → Session replay**, switch it on.
2. Add `data-replay="true"` to your script tag:

```html
<script
  defer
  data-website-id="YOUR_SITE_ID"
  data-replay="true"
  src="https://usedataowl.com/js/script.cookies.js"
></script>
```

The recorder (about 36 KB gzipped) loads after the page. Behind a [proxy](/docs/proxy-guide), forward `/js/recorder.js` and `/api/replay` too.

## Privacy

Every `<input>`, `<textarea>` and `<select>` value is masked, always. Canvas, cross-origin iframes, console output and network requests aren't recorded. Mark anything else:

| Class or attribute | Effect |
| --- | --- |
| `ds-mask` / `data-ds-mask` | Text inside is replaced with `*`. |
| `ds-block` / `data-ds-block` | Not recorded; the player shows an empty box. |
| `ds-ignore` | Input events on the element aren't recorded. |

## Plans

Pro includes 5k recordings a month and Team 50k. Recordings are kept 30 days. Past the limit, new recordings stop until the 1st; analytics keeps working.
