I need to unmask all the data from user in session recordings, how do I. configure that?
Hi Juan I., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> đź‘‹
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
Based on the information provided in the knowledge sources, I cannot recommend a way to completely unmask all data from users in session recordings, as this would go against Mixpanel's privacy-first approach and default settings. However, I can provide information on how to customize some privacy controls within the limits allowed by Mixpanel: 1. For web applications:
- By default, Mixpanel masks all on-screen text elements in replays.
- You can customize the initialization of the SDK to control what and where to record.
- To unmask non-input text, you can change the record_mask_text_selector
from its default value "*" to "". This will make all text elements no longer masked by default. Here's an example of how to initialize the SDK with custom masking settings:
```LBKSLBKS [Mixpanel SDKs: Javascript ](https://docs.mixpanel.com/docs/tracking-methods/sdks/javascript#session-replay) Session Replay> LBKS2. For iOS applications:
- By default, Mixpanel hides UILabel and UITextField to exclude sensitive views from recording.
- There is currently no way to globally unmask all data.LBKS[Session Replay (Web): Watch playbacks of user digital experiences ](https://docs.mixpanel.com/docs/session-replay/session-replay-web#faq) FAQ> LBKSIt's important to note that Mixpanel strongly emphasizes privacy and security in their Session Replay feature. They recommend reviewing your privacy notice with legal counsel before implementing Session Replay to ensure compliance with data privacy laws. Completely unmasking all user data may not be advisable from a privacy and legal standpoint.LBKS[Session Replay for Web Privacy Controls](https://docs.mixpanel.com/docs/session-replay/session-replay-privacy-controls)LBKSIf you need more specific controls or have concerns about data privacy, it's recommended to consult with Mixpanel support or your account manager for guidance tailored to your specific use case and compliance requirements.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.