Hotjar offers options to suppress all text-based on-page numbers and email addresses, input fields, and some text within Heatmaps, Recordings and Feedback widgets.
Text suppression converts text to a random number of asterisks (***) or 1s (111111).
All fields, text, and images are suppressed before sending the data back to our servers. There is no way to retrieve the content suppressed once a report has been created.
Learn more about:
- Email & Numeric Text Suppression
- All On-Page Text & Content Suppression
- Suppressing Non-On-Page Text Elements
- Why are my screenshots not being suppressed?
- Examples of Suppression
Only Admins and Account Owners have access to edit suppression settings
You can find what your user permission allows in our User Permissions Guide.
How to Enable Email and Number Text Suppression
It is important to keep in mind that by default, Hotjar will suppress a sequence of numbers, like a credit card number or phone number, without turning on numeric text suppression.
Visit Sites & Organizations within your Hotjar Account.
Click the gear icon to access Site Settings for the site you would like to suppress on-page text.
You will need an Admin user permission or higher.
Check the boxes for the type of suppression you'd like to activate.
Whitelisting takes priority over on-page text suppression
If a text field that is whitelisted contains a number or email address, the text will be shown on Recordings, Heatmap and Incoming Feedback screenshots even if on-page text suppression is turned on.
You can learn more about whitelisting in our Whitelisting Input Fields article.
Make sure to click Update to save changes.
How to Enable All On-Page Text and Content Suppression
All On-Page Text Suppression replaces all on-page text with asterisks in Heatmaps, Recordings, and Incoming Feedback. All On-Page Content Suppression blocks all page content (images and text) from appearing in Heatmaps, Recordings, and Incoming Feedback.
These options apply to any pages that have your Hotjar tracking code installed.
Visit Sites & Organizations within your Hotjar Account.
Click the gear icon to access Site Settings for the site you would like to suppress on-page text.
You will need an Admin user permission or higher.
Check either Suppress all on-page text or Suppress all on-page content.
Data that Hotjar cannot suppress
We currently do not support suppression for historical data. Any data collected before starting the on-page suppression will not be suppressed.
How to Suppress Non-On-Page Text Elements
You can suppress individual elements, input fields, and regular text by making a small modification to your site code by adding an attribute data-hj-suppress to the elements you wish to suppress.
<!-- The below will suppress any characters typed in the field-->
<input type="text" name="company" data-hj-suppress />
<!-- The below will suppress any characters typed in the field-->
<textarea name="comments" data-hj-suppress></textarea>
<!-- The below will suppress any characters displayed in the paragraph-->
<p data-hj-suppress>Suppress me</p>
<!-- The below will suppress any characters displayed in any of the child elements inside the span element-->
<span data-hj-suppress>
<p>Suppress this</p>
<p>and this</p>
</span>
Why are my screenshots not being suppressed?
If the text you are trying to suppress is not located directly on the page or is located within a text field, you will need to set up suppression within an input field for both Heatmaps, Recordings and Incoming Feedback.
You can check out the section about How to Suppress Non-On-Page Text Elements above.