What are Secure Cookies? Secure cookies is a type of cookie which is transmitted over encrypted HTTP connection. When setting the cookie, the Secure attribute instructs the browser that the cookie should only be returned to the application over encrypted connections.

To enable Secure Cookies, add the following line in your Matomo JavaScript tracking code:

_paq.push(['setSecureCookie', true]);

Then all tracking cookies are created with the Secure cookie attribute.

Note: this security feature should be used only if the website is available under HTTPS only.