Data-matomo-mask is not working with react


I’m trying matomo today. I read here that we can hide sensitive information during session recordings and heatmaps recording by using data-matomo-mask.

I tried this in my React component but it does not seem to be working at all, I see everything on the session recordings. I integrated matomo with this library:

Can you please help me?

Please get in touch with the support team at, so that the support team manage your request efficiently.
At least don’t hesitate to share the solution there :wink:

Dealt by Support team through Support channel