Your site
Hide content from replays
Masking happens in the visitor’s browser, before anything is sent to Usercase.
Hidden by default
- Everything typed into form fields shows as
***, including passwords, text areas and rich-text editors. - Digits and email addresses in the page text are masked.
Attributes
To hide more, add one of these attributes to an element. It applies to the element and everything inside it.
| Attribute | What it does |
|---|---|
data-usercase-mask | Replaces all text with *. The layout stays visible. |
data-usercase-block | Leaves the element out of the recording. The replay shows an empty box of the same size. |
data-usercase-unmask | Shows digits and email addresses in the page text. Form fields stay masked. |
<div data-usercase-mask>Order for Jane Doe, 12 Main St.</div> <section data-usercase-block>...</section>
Nested attributes
When attributes are nested, the closest one wins. For example, to mask a whole chat app but keep its header readable:
<body data-usercase-mask> <header data-usercase-unmask>Inbox</header> ... </body>
Text inside masked or blocked elements is also left out of the click and path data Usercase collects.