Skip to main content

🔒 Privacy controls

Tags: JavaScript, React, Vue, Angular, Website, Web App

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​

<input name="secret" type="text" class="gl-mask" />

Hide a DOM element​

<div class="test">
<div class="left">
Welcome :)
</div>
<div class="right gl-block">
This text is sensitive!
</div>
</div>
info

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.

Gleap.setDisablePageTracking(true);