By default Matomo tracks users (visits and actions) without consent.

If you need to ask for consent, follow the steps in Asking for user consent to activate Matomo Analytics tracking. For example you may want to ask for consent before enabling tracking cookies, or ask for consent before tracking session recordings or before activating any tracking in Matomo.

You can also configure Matomo cookieless to avoid cookie consent.

fyi: in the future we may create more documentation about integrating with an existing consent manager tool.

Previous FAQ: How do I track a visitor without cookies when they have not given consent for tracking cookies?