You may affect the recording of sensitive data using record()
.
Syntax
record(options)
Parameters
options
- Recording options.
emails
-boolean
forms
-boolean
ips
-boolean
numbers
-boolean
Return value
void
Description
Smartlook, by default, does not record any sensitive data. Recording of a particular sensitive data can be turned on/off by calling record()
. Recording of IPs can only be turned on.
You may read more about consent and sensitive data.
Examples
Enable recording of emails.
Smartlook.record({ emails: true })
Disable recording of emails.
Smartlook.record({ emails: true })
Enable recording of emails and forms, disable numbers.
Smartlook.record({
emails: true,
forms: true,
numbers: false,
})