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 an asterisk * 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.
Suppressing works recursively, so if you want to, for example, suppress an entire form it's enough to apply the attribute to the <form> tag.
This setting will apply to both Recordings and Heatmaps.
<!-- 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>