When you configure a session recording, you can choose to optionally record keystrokes, that is text entered by your visitors into text form fields.

If enabled, Matomo (Piwik) will capture these keystrokes and track them so they will be shown when you replay the recorded video. Matomo will automatically mask password form fields and common credit card form fields. If you want to mask additional form fields, simply add a data-matomo-mask attribute to an element. Learn more about masking keystrokes.

Note that Credit Card fields are automatically masked and not tracked (learn more)

You can also mask (hide and exclude) from Session recordings and Heatmaps any content in your website: learn more.

Previous FAQ: How do I disable the recording of any keystrokes?