To prevent cookies from ever being used log in as a super user, go to “Administration -> Privacy -> Anonymize data” and enable the checkbox “Force tracking without cookies”. Enabling this option will automatically update the JavaScript tracker to ensure all trackers won’t use cookies. Additionally, Matomo will ignore all received tracking cookies on the server side.

Cookies will be disabled even when using the consent methods in Matomo tracker and calling for example the cookie consent methods won’t enable cookies.

This setting will affect all sites. If you want to disable cookies for specific sites only you may need to use the according javascript tracker methods.

This feature requires Matomo 4 or newer.