Protection of visitor sensitive data

If visitors enter sensitive data (e.g. credit card numbers, visible passwords) on your website, you should exclude this data from the recording by masking forms and inputs.

By default passwords are not recorded. The same goes for credit cards because most payment gates are 3rd party apps where customer gets redirected to another site or these payment gates are usually in an iframe which we block as well.

Methods

Name Description
disable Disable recordings
ignore Ignore recording of given element

disable

Following code will disable recording of entire page.

<script> smartlook('disable'); </script>

In recording you can ignore selected element. Use attribute data-recording-disable for element that contains sensitive information. This element will not be shown in recording.

<div data-recording-disable> Customer sensitive text that won't be recorded </div>

ignore

Second option is to ignore selected element. Using this option will display element in recordings but values will be hidden.
Attribute data-recording-ignore can have following values:

  • mask - inserted characters will be replaced by asterisk '*', the same for input "password". Password is masked by default.
  • events - inserted values will not be displayed at all.
<input type="text" placeholder="Card number" data-recording-ignore="events">

Only input elements are supported.

GDPR
compatível