Privacy

Learn how BehaviourCode ensures the privacy and security of your users' sensitive information while enabling powerful session recording capabilities.


Exclude Data in Videos

BehaviourCode allows you to prevent sensitive information from appearing in recorded videos by configuring exclusions. Whether it’s form inputs, search queries, or other sensitive fields, our tools ensure this data is automatically omitted.

Form Inputs

Sensitive user inputs, such as passwords, credit card details, or any personally identifiable information (PII), can be excluded or redacted during recording. By default, BehaviourCode excludes common sensitive fields using attribute detection (e.g., type="password" or autocomplete="off").

Inputs While Searching

Search bar inputs, which may contain sensitive user queries, can be excluded to protect user privacy. Developers can configure BehaviourCode to:

  • Mask search inputs entirely.
  • Replace search terms with placeholders like ***.

This can be achieved by specifying the input fields in the configuration.

Input Redaction Types

BehaviourCode offers multiple types of redaction to suit your application's needs:

  • Masking (Default): Replaces sensitive inputs with placeholder characters (e.g., ***).
  • Omission: Completely excludes the field from the recorded DOM.
  • Custom Replacement: Substitute sensitive data with developer-defined text (e.g., [REDACTED]).

DOM Elements

BehaviourCode provides fine-grained control to exclude specific DOM elements or sections from recording.

Use CSS selectors to define elements to exclude or redact. Excluded elements are removed from the recorded video and DOM snapshots.

window.BehaviourCode.init('project_id', {
    excludeElements: ['#sensitive-section', '.private-data']
});

This configuration ensures sensitive data within these DOM elements is never captured or uploaded.

Custom Privacy Policies

BehaviourCode empowers you to enforce organization-specific privacy policies by tailoring input redaction and DOM element exclusion to meet compliance standards (e.g., GDPR, CCPA).

Transparency and Security

All redaction and exclusion processing occurs client-side, ensuring sensitive data never leaves the user’s device. BehaviourCode records only what you allow, giving you full control over the captured content.

Have Questions About Privacy?

If you need assistance configuring redactions or exclusions, contact our support team or refer to the detailed Privacy Configuration Guide. Your users' privacy is our top priority!