Depending on the type of sensitive information your users enter on your site, you may want Hotjar to not collect data from certain fields and elements. When doing so, Hotjar does not collect the data and instead sends asterisks "***" or 1s "111" for each character.
Hotjar applies the field/text suppressing before sending the data back to our servers. There is no way to retrieve the actual text used once a Heatmap has been saved with suppressing.
Suppressing Specific Elements in Heatmaps
Currently, Hotjar doesn't support image suppressing - only text within the tagged elements will be suppressed.
You can suppress individual elements, both input fields and regular text, by making a small modification to your site code - adding an attribute data-hj-suppress to the elements you wish to suppress.
This setting will apply to both Recordings, Heatmaps and Incoming Feedback.
<!-- 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 elements inside the span element--> <span data-hj-suppress> <p>Suppress this</p> <p>and this</p> </span>
We do offer on-page text suppression for all email addresses and numbers. You can learn more in our Suppressing On-Page Text article.