Skip to main content
To meet privacy requirements for different scenarios, the session replay feature has built-in flexible privacy protection strategies. By configuring the defaultPrivacyLevel field, developers can control data collection sensitivity, supporting modes from displaying all text (except passwords) to completely hiding page text, ensuring user data security and compliance.
Password type inputs are sensitive information and will not be collected in any scenario.

Privacy Policies

Configure defaultPrivacyLevel: "mask" to completely hide all text content on the page, preserving only operation behavior and page structure. Suitable for scenarios with high data privacy requirements.
window.FC_RUM.init({
  applicationId: "YOUR_APPLICATION_ID",
  clientToken: "YOUR_CLIENT_TOKEN",
  // ...
  sessionReplaySampleRate: 10,
  defaultPrivacyLevel: "mask",
  // ...
});
Mask All Page Text

Configuration Comparison

Configuration ValuePage TextInput ContentPassword FieldsApplicable Scenarios
maskHiddenHiddenHiddenHigh privacy requirement scenarios
mask-user-inputShownHiddenHiddenProtect user input
allowShownShownHiddenComplete interaction details