How to disable the recording of page text

If there’s text on your web page that could include sensitive information and you don’t want this recorded, you can add the css class "sessioncamhidetext" to an element. This will ensure all text within this element is starred out in playback.

There are two ways of doing this:

  1. Add the class to the body element

This will ensure all text on the page is starred out all of the time.

SessionCam can also implement this option and can configure to mask all text on a specific hostname, path or page.  Let us know if you’d like us to do this on support@sessioncam.com.

  1. Add the class to specific element(s)

This will star out just the text in those elements.

If you’re using this method you must also add the class to the innermost HTML element containing the text.

The code below shows the correct way to use this tag in the example of a dropdown list. Please follow this code structure exactly to ensure the protection of sensitive data — a deviation or mistake could result in the capture of sensitive data.  

Contact us on support@sessioncam.com if you need any help or advice on this.

<div>

   <ul>

   <li class="sessioncamhidetext">Address line 1</li>

   <li class="sessioncamhidetext">Address line 2</li>

   </ul>

</div>

----------------------

Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.