Página de declaración de cookies: qué es y por qué la necesitas
Explica el requisito legal de publicar la lista completa de cookies que usa tu sitio, cómo crearla y mantenerla actualizada con escaneo automatizado.
Publicado el
A cookie declaration page is the public list of every cookie your site sets, who sets it, what it does, and how long it lives. It's the page your banner links to when it says “learn more” or “cookie policy.” In some EU member states it's explicitly required by law. Everywhere else under GDPR it's effectively required because you can't satisfy the “informed consent” requirement without it.
This guide covers what the page actually needs, how to structure it, the auto-update mechanism every modern CMP provides, and where it differs from a privacy policy (because they're often confused).
Cookie declaration vs privacy policy
These are two different documents.
A privacy policy is the legal document explaining how you collect, use, and process personal data in general. It covers form submissions, account data, analytics, advertising, and everything else. It's usually long, written by a lawyer (or a privacy policy generator), and updated rarely.
A cookie declaration is the technical document listing every specific cookie set by your site, with name, provider, purpose, and expiry. It's usually a structured list (often a table), updated automatically whenever your tag stack changes, and reads more like technical documentation than legal text.
Some sites combine them into one document. That's allowed but harder to maintain because the privacy policy changes rarely and the cookie list changes whenever you add or remove a tracking tag. Most CMPs offer a separate cookie declaration page that the privacy policy can link to.
What the page has to contain
For each cookie, the standard fields:
- Name. The cookie's actual key, e.g.
_ga. - Provider. Who set the cookie. The domain (
yoursite.com) or vendor (google.com). - Purpose. One sentence explaining what it does. “Identifies the visitor for Google Analytics measurement.”
- Category. Necessary, Preferences, Statistics, or Marketing.
- Expiry. How long the cookie persists. Session, 1 day, 30 days, 2 years, etc.
- Type. HTTP cookie, localStorage, sessionStorage, IndexedDB.
Some jurisdictions and CMPs add additional fields: provider's privacy policy URL, country where the provider processes the data, third-party transfer info. These help with GDPR's broader information requirements but aren't strictly mandated for the cookie list itself.
Where to host it
Convention is /cookies, /cookie-policy, or /cookie-declaration. Pick one and link to it from:
- Your cookie banner (“Learn more”)
- Your privacy policy
- Your site footer (privacy compliance hub)
The page itself should be plain HTML, indexed by search engines, and accessible without consent. Don't hide the cookie declaration behind a login or a paywall — it defeats the purpose.
On the ConsentTrustee side, we serve the cookie declaration at /cookies/[your-domain-slug] with a public URL you can iframe into your own site or link to directly. Most CMPs offer a similar pattern.
Auto-update via scanner
Maintaining a cookie list manually is hopeless. The moment you add or change a tracking tag, the list goes stale, and stale lists fail audit faster than missing ones.
Modern CMPs ship with a scanner — a worker that crawls your site (or a sample of pages) on a schedule, identifies every cookie that gets set during a typical visit, and updates the cookie declaration automatically. Run weekly for most sites, monthly for low-traffic sites.
The scanner output usually needs a small amount of human review. The scanner can detect a cookie but it can't always figure out what category it belongs to — that's a judgment call. Most CMPs have a database of known cookies that handles 80–90% of common cases automatically. The rest require you to assign a category in the dashboard.
Legal status by jurisdiction
EU general (GDPR + ePrivacy). A cookie declaration isn't explicitly named in the law, but the “informed consent” requirement of GDPR Article 4(11) and the transparency requirements of Articles 13 and 14 effectively require it. Most regulators treat the absence of a cookie list as evidence of inadequate information.
Germany. The TDDDG (formerly TTDSG) requires specific information about each cookie before consent, which in practice means a cookie list. German DPAs have fined companies specifically for missing or incomplete cookie declarations.
Italy. The Garante's 2021 cookie guidelines explicitly require a cookie declaration page listing each cookie. They've enforced this in multiple cases since.
France. CNIL doesn't require a specific cookie declaration page but does require that visitors have access to information about each cookie. Most sites comply by having one.
UK. The ICO recommends a cookie list as part of the cookie information visitors should see. It's not strictly mandatory but it's expected.
California (CCPA). Doesn't require a cookie-specific list, but the privacy policy must list categories of personal information collected. Most CCPA sites also include a cookie list because it satisfies the EU obligations and adds detail to the CCPA disclosure.
What a good cookie declaration page looks like
Structure that works:
- One-paragraph intro. “This page lists every cookie used on yoursite.com. Last updated [date].”
- Cookies grouped by category. Necessary first, then Preferences, Statistics, Marketing.
- One table per category. Standard columns: Name, Provider, Purpose, Expiry.
- Link back to your CMP's preferences UI. “Change your cookie preferences” — opens the banner's Customize modal.
- Last-updated timestamp. Shows the page is maintained.
A small “updated weekly via automated scanning” note reassures auditors that the list is current.
What I'd read next
For the consent context the declaration supports, GDPR Cookie Consent. For the banner UI that links to the declaration, Banner Examples That Convert. For the broader compliance stack the declaration is part of, What Is a CMP.