Javascript
Privacy controls
Suppressing personal data
We take data privacy really seriously. This is why we added the ability to exclude specific form data from screenshots & replays.
Simply add the attribute .gl-mask
to all input elements you want to exclude the values from. Once the attribute is added, the Gleap SDK will ignore the values from this specific element.
We also support hiding complete element groups by adding .gl-block
to their class name list.
Example
Secure input example
Hide a DOM element
In addition, Gleap will automatically mask all input values for inputs of type “password” by default.
Disable default page tracking
Gleap tracks page views by default. If you want to disable this feature, simply add the following method before initializing the Gleap SDK.