Data Privacy

You can sanitize what Asayer captures at the global level from the dashboard, or at the granular level in your code. Any data obscured, masked or ignored using the below parameters will not be captured at the source. In other words, that data will never reach Asayer's servers.

Global Level

I'm using Asayer Script

1) Click on the Tracking Code of your Project under Preferences > Projects.

Project Configuration in Asayer

2) The data recording options should appear before the code snippet:

  • Inputs: You can ignore, obscure or record all your users' input values.
  • Numeric text: These values are captured by default, unless you tick the box.
  • Email addresses: By default, all emails are obscured and won't appear in the replays. You can disable that by unticking the box.

GDPR Section in Project Settings

3) Changing data recording options impacts the code snippet. Make sure to copy/paste the updated script in your web app.

I'm using Asayer NPM

Please refer to our for the available options.

I'm using segment

If you're on Segment, then simply go to Asayer in Destinations and update the configuration. Available options are:

  • Inputs: You can ignore, obscure or record all your users' input values.
  • Numeric text: These values are captured by default, unless you tick the box.
  • Email addresses: By default, all emails are obscured and won't appear in the replays. You can disable that by unticking the box.

Granular Level

You can also sanitize your data at the code level:

Input Field

Using the data-asayer-obscured or data-asayer-hidden HTML attributes on any input tag.

<form action="/action_page.php">
First name: <input type="text" name="fname" data-asayer-obscured><br>
Last name: <input type="text" name="lname" data-asayer-hidden><br>
<input type="submit" value="Submit">
</form>

UI Component

Obscuring any UI component/part using the data-asayer-masked HTML attribute (see example below).

<div style="background-color:lightblue" data-asayer-masked>
<h3>This is a sensitive information</h3>
<p>This is an important paragraph.</p>
</div>

This way, Asayer tracker would simply mask its content before sending to our servers, so it wont' be visible in the session replays.

Obscured UI Components in Session Replay