Skip to main content
Version: Javascript tag

Privacy helpers

Privacy helpers control how specific elements appear in session replay.

Screeb automatically masks password inputs and elements matched by common sensitive-keyword heuristics. For custom sensitive content, apply these CSS classes or the data attribute directly in your HTML โ€” no JavaScript call is needed:

<input class="screeb-mask-text" />
<div class="screeb-no-capture">...</div>
<button data-screeb-id="checkout_button">Checkout</button>
HelperDescription
screeb-mask-text (CSS class)Masks text content in session replay.
screeb-no-capture (CSS class)Excludes the element from session replay capture.
data-screeb-id="stable_id" (attribute)Sets a stable element ID for IAM targeting and replay context.