How do I enforce tracking without cookies
To prevent cookies from ever being used, log in as a Matomo super user and navigate to Administration > Privacy > Anonymize data.
- Enable the checkbox Force tracking without cookies to automatically update the JavaScript tracker to ensure all trackers do not 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 will not 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.
Note: Enabling this feature will have some impact on your data. Learn more about When cookies are disabled by a visitor (cookie-less tracking), how does it impact Matomo reports accuracy?.
This feature requires Matomo 4 or newer.