Privacy & Compliance
Rehearsals is built with privacy-first principles to help you comply with data protection regulations while gaining valuable user insights.
Automatic Privacy Features
Out of the box, Rehearsals automatically protects sensitive information:
🔒 Always Redacted
-
Password fields - All password inputs are masked
-
Credit card numbers - Automatically detected and masked
-
Email addresses - Can be configured to mask
-
Phone numbers - Can be configured to mask
Privacy Controls
CSS Class-Based Controls
Add these classes to any HTML element to control recording:
CSS Class | Behavior | Use Case |
---|---|---|
rh-block |
Completely blocks element from recording | Sensitive forms, private content |
rh-ignore |
Element won't appear in recordings | Temporary UI, admin panels |
rh-mask-text |
Masks all text content | Personal information, addresses |
Examples
<!-- Block entire sensitive section -->
<div class="rh-block">
<h3>Payment Information</h3>
<input type="text" name="card-number" />
<input type="text" name="cvv" />
</div>
<!-- Mask text but keep structure -->
<div class="user-profile rh-mask-text">
<p>John Doe</p> <!-- Appears as •••• ••• -->
<p>john@example.com</p> <!-- Appears as ••••@•••••••.••• -->
</div>
<!-- Completely ignore element -->
<div class="admin-toolbar rh-ignore">
<!-- Won't appear in recordings at all -->
</div>
Attribute-Based Controls
Use data attributes for more granular control:
<!-- Mask specific input -->
<input type="text" data-rh-mask="true" />
<!-- Block specific element -->
<div data-rh-block="true">Sensitive content</div>
<!-- Ignore recording -->
<section data-rh-ignore="true">Admin only</section>
Privacy Policy Updates
Include Rehearsals in your privacy policy and link to the following:
- Privacy Policy
- Trust Center for SOC 2 compliance and security standards