Integrating EZ Track with New Session Replay: A Technical Inquiry | Mixpanel Community
\n\nmpEZTrack.init('PUT_YOUR_PROJECT_TOKEN_HERE', { \n record_sessions_percent: 100 // 1 to 100\n});\n\nEnable Session Replay and Remove All Content Masks/Blockers\nBy default, Session replay hides all images and replaces text with asterisks.\n\nmpEZTrack.init('PUT_YOUR_PROJECT_TOKEN_HERE', { \n record_sessions_percent: 100, // 1 to 100\n record_block_selector: '', // Ensures images and videos are not blocked\n record_mask_text_class: '', // Ensures no elements are masked by class\n record_mask_text_selector: '' // Ensures no elements are masked by selector\n});\n\nTECH NOTEs:\n• If you are fiddling with implementing this code, pay attention to the commas (,) in your init script - adding a comma after each line, except for the last line. In the example above, record_sessions_percent: 100 record_block_selector: '' and record_mask_text_class: '' have a comma separating them.\n• Mixpanel EZ Track is a separate approach to implementing Mixpanel and while the Mixpanel team has been historically terrific 🙏 in supporting it, it may not always be supported.\n","author":{"@type":"Person","name":"Jono Y.","url":"/user/ad9fe817-6ac5-405d-b5fe-19b041375a19"},"datePublished":"2025-03-10T17:32:25.039562+00:00","dateModified":"2025-04-03T22:22:30.321558+00:00","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0}}]}
Still waiting for the update. EZ Track has been a life saver. If you want to see why or how I use it, please DM and I’ll screen share. Primary use case is for startups that have zero engineers but still need product data. There are MANY startups like this.
Maybe Autocapture is what the post above was referring to? Looking into this now. We do need to capture some text inputs, such as email, so that we can uniquely identify a user and build cohorts. I don’t see that covered in the auto capture doc here: https://docs.mixpanel.com/docs/tracking-methods/autocapture
Confirmed that Mixpanel EZ Track and session replay are working. Here are a few snippets for anyone else who finds this topic.
Enable Session Replay with EZ Track & Record All Sessions:
Enable Session Replay and Remove All Content Masks/Blockers
By default, Session replay hides all images and replaces text with asterisks.
<script src="https://mpeztrack.com/v2.0.0/eztrack.min.js" type="text/javascript"></script>
mpEZTrack.init('PUT_YOUR_PROJECT_TOKEN_HERE', {
record_sessions_percent: 100, // 1 to 100
record_block_selector: '', // Ensures images and videos are not blocked
record_mask_text_class: '', // Ensures no elements are masked by class
record_mask_text_selector: '' // Ensures no elements are masked by selector
});
TECH NOTEs:
If you are fiddling with implementing this code, pay attention to the commas (,) in your init script - adding a comma after each line, except for the last line. In the example above, record_sessions_percent: 100record_block_selector: '' and record_mask_text_class: '' have a comma separating them.
Mixpanel EZ Track is a separate approach to implementing Mixpanel and while the Mixpanel team has been historically terrific 🙏 in supporting it, it may not always be supported.