Matomo cookies3 of 4 need consent
Matomo sets 4 cookies we know of. 3 cookies may only be set after the visitor opts in; 1 is strictly necessary and exempt.
Reviewed · Provider: Matomo (InnoCraft Ltd.)
List of Matomo cookies
_pk_id.*AnalyticsConsent required13 monthsStores a unique visitor ID and a few details about the visitor.
_pk_ses.*AnalyticsConsent required30 minutesStores temporary data for the visit.
_pk_ref.*AnalyticsConsent required6 monthsStores the referrer that first brought the visitor to the site.
MATOMO_SESSIDNecessaryNo consent neededSessionSession cookie for the Matomo dashboard and its opt-out form.
How to handle Matomo cookies
- 1Load it only after consent
Hold the Matomo script until the visitor accepts analytics cookies. Blocking the script is what stops the cookies; hiding them in a banner does not.
- 2Make Reject work
After a visitor rejects, none of the 3 consent-requiring cookies below may be set or kept.
- 3Name every cookie in your policy
List each cookie by name with its purpose, provider (Matomo (InnoCraft Ltd.)) and lifetime.
- 4Check the result, not the settings
Open your site in a private window, reject cookies, and look at what was stored. Or run a scan and compare the three stages.
Tools that help: tracking script blocker · Consent Mode v2 generator
Other vendorsAnd the cookies they set
Does Matomo wait for consent on your site?Scan it in 2 minutes
Free scan · every cookie before consent, after Reject and after Accept