*.cubicast-sensitive

Add this class name to mark HTML elements as sensitive. Consequently, the recorder will obfuscate the text content of such elements, preventing sensitive data that reside in your web app to be included in recordings.

1
2
3
4
<div class="my-class cubicast-sensitive">
  <span>Sensitive Content</span>
  All text content inside this DIV will be obfuscated.
</div>

Form elements and media elements including INPUT, TEXTAREA and CANVAS elements need to be explicitly declared as such. In the example below the contents of the INPUT element will NOT be obfuscated:

1
2
3
4
5
6
7
8
<div class="my-class cubicast-sensitive">
  <span>Sensitive Content</span>
  <!--
    the recorder will not treat this INPUT as sensitive even
    though it is contained in another sensitive element
  -->
  <input name="username" />
</div>

Instead, you need add the cubicast-sensitive class to the INPUT element:

1
2
3
4
<div class="my-class cubicast-sensitive">
  <span>Sensitive Content</span>
  <input name="username" class="cubicast-sensitive" />
</div>
CANVAS.cubicast-static

Add this class to CANVAS elements that remain static or you do not wish to capture them. This way only the first snapshot of them is included in the recordings. If capturing CANVASes is on, and your page contains multiple CANVAS elements, this option allows you to exclude specific canvases from capturing, eliminating the number of API requests required per user session.

1
<canvas class="cubicast-static"></canvas>