Overview#
To meet privacy requirements in different scenarios, the session replay functionality has built-in flexible privacy protection strategies. By configuring the defaultPrivacyLevel
field, developers can control the sensitivity of data collection, supporting multiple modes from displaying all text (except passwords) to completely hiding page text, ensuring user data security and compliance.Privacy Strategies#
The session replay functionality provides flexible privacy protection configuration through the defaultPrivacyLevel
field, ensuring both functionality and data security when collecting user operation data. Below are three main privacy level configurations and their effects:Input fields with type "password" are sensitive information and will not be collected in any scenario.
Hide All Page Text#
Configure defaultPrivacyLevel: "mask-all"
to completely hide all text content on the page, preserving only operation behaviors and page structure, suitable for scenarios with extremely high data privacy requirements.Hide Input Field Content#
Configure defaultPrivacyLevel: "mask-user-input"
to hide content in user input fields (such as text inputs, select boxes, etc.) while preserving other page text, suitable for scenarios requiring protection of user input privacy.Display All Text (Except Passwords)#
Configure defaultPrivacyLevel: "allow"
to allow collection of all text content on the page except password fields, suitable for scenarios requiring complete user interaction details.