Cos'è una piattaforma di gestione del consenso (CMP)?
Spiega cosa fa una CMP, perché i siti ne hanno bisogno, come funziona tecnicamente e cosa cercare nella scelta di un fornitore.
Pubblicato il
A Consent Management Platform is a system that handles three things you'd otherwise have to build yourself: a cookie banner, a script-blocking layer, and a consent log. If you've ever seen a “We use cookies” popup on a website, that's the front-end of a CMP. The interesting parts are what happens behind it.
I've been working in this space long enough to have opinions, and the headline opinion is that the CMP industry got bloated. Most enterprise CMPs ship as 300+ KB JavaScript bundles, take weeks to integrate, and charge per-domain pricing that scales like AWS in 2014. Many of them don't even do the basic things well. So when I describe what a CMP “does,” some of what follows is what they should do, not what every product on the market actually does.
The four jobs of a CMP
Strip everything down and a CMP does four things:
1. Show a banner. When a visitor lands on the site, the CMP shows a UI asking for consent (in the EU) or offering an opt-out (in California). The banner is the visible part, but it's the smallest part.
2. Block scripts. Before the visitor responds, the CMP prevents third-party tags (Google Analytics, Meta Pixel, Hotjar, etc.) from running. After the visitor accepts a category, the CMP lets the corresponding scripts run. This is technically the hardest part and the one most home-grown banners get wrong.
3. Log the consent. Every time a visitor accepts, rejects, or modifies their consent, the CMP records what they chose and when. This is required by GDPR Article 7(1) for proving compliance later. If you can't produce a log on demand, you're not compliant, no matter how nice your banner looks.
4. Sync consent to downstream tools. Once the visitor chooses, the CMP needs to tell the rest of the ecosystem what changed. For Google's tags, that's a gtag('consent', 'update', ...) call following the Consent Mode v2 spec. For GTM, it's firing a custom event. For Meta Pixel, it's the consent callback. The CMP handles all the integration glue.
The pieces under the hood
A complete CMP architecture has roughly four components.
The runtime script. A JavaScript bundle that loads on every page of your site. It draws the banner, handles clicks, blocks scripts, fires consent updates, and writes to local storage. Size varies wildly across vendors. Cookiebot is around 80KB minified, OneTrust's implementation pushes 300KB depending on which modules are enabled, ours is 13KB. The difference matters more than people think — for a banner that has to be present before page render, every kilobyte adds first-paint delay.
The dashboard / admin. Where you configure domains, customize the banner appearance, edit translations, set which scripts go in which categories, and review your consent analytics. This is a web app, typically.
The consent API. A REST or GraphQL endpoint that the runtime calls to fetch the current configuration and to log consent events. The endpoint also serves your cookie declaration page (the public-facing list of every cookie your site sets).
The scanner. A background worker that periodically crawls your site and detects new cookies. Mostly this runs on a schedule (weekly or monthly) and the results show up in your dashboard as “Hey, you added Hotjar and we noticed.” Not every CMP includes a scanner; ours does, OneTrust does, Cookiebot does. CookieYes scans but the depth varies by plan.
Cookie banner vs CMP
These terms get used interchangeably and they shouldn't.
A cookie banner is a UI element. It's the popup. You can build one in an hour with HTML and a localStorage key. It's the equivalent of a doorbell.
A CMP is the whole system: the banner, plus the script blocking, plus the consent log, plus the integrations, plus the scanner, plus the audit-ready record-keeping. It's what you actually need to be GDPR-compliant, not just visually present.
I see this confusion in customer conversations regularly: someone built a banner with React and stored the choice in localStorage, shipped it, and thinks they're compliant. Then they introduce GA4 and Meta Pixel through Google Tag Manager and suddenly the cookies fire on page load regardless of what the visitor clicked, because nothing in their setup blocks them. That's not a banner problem. That's the missing CMP.
IAB TCF and non-TCF CMPs
If you publish programmatic ads, you probably need a CMP that speaks the IAB Europe's Transparency & Consent Framework (TCF). The TCF is a standardised consent string format (“TC string”) that lets your CMP communicate consent signals to hundreds of ad-tech partners without each one needing a custom integration.
If you don't do programmatic advertising — most non-publisher sites don't — a non-TCF CMP works fine. The TCF adds complexity (and almost always cost) without giving you anything useful if your tag stack is just GA4, Meta Pixel, and maybe Hotjar.
For the full story on TCF, see IAB TCF v2.2 explained.
Google-certified CMPs
Since January 2024, Google requires advertisers in the EEA, UK, and Switzerland to use a Google-certified CMP if they want their Ads campaigns to keep running. The certification list is publicly available. It's relatively easy to get on (Google's technical requirements are basically “implement Consent Mode v2 correctly”) but if a CMP isn't on the list, Google will throttle the advertiser's campaigns.
ConsentTrustee is on the list. So are about 80 other CMPs. The certification matters less than people fear, but it's non-negotiable if you run Google Ads in the EU.
Self-hosted vs SaaS
Most CMPs are SaaS. You pay monthly, the vendor hosts the runtime script on their CDN, and you get a dashboard at their domain. This is the right choice for almost everyone.
Self-hosted CMPs exist (Klaro is the best-known open-source option) and they make sense if you have unusual requirements around data residency or if you have a strong in-house team willing to maintain a moderately complex piece of software. For most sites, the trade-off doesn't justify the effort.
What to look for when choosing one
The questions I'd ask any CMP vendor before signing:
- Do you support Google Consent Mode v2 properly? (If they hesitate, walk away.)
- Do you honour Global Privacy Control automatically for California traffic?
- Does your script size include the modules I actually need? Ask for a real number, not a marketing figure.
- Do you support geo-targeting so EU visitors see a GDPR banner and US visitors see a CCPA notice?
- How many languages out of the box?
- How does the consent log work? Can I export it for audit?
- Does the scanner actually find cookies behind iframes and lazy-loaded content?
- What's the pricing structure? (Per domain, per subpage, per session, per consent — they vary wildly.)
When you don't need a CMP
Worth being honest: not every site needs a CMP.
If your site has zero EU/UK/Swiss visitors, no California visitors, and uses zero analytics or advertising cookies, you don't need one. A purely first-party blog with no third-party tags has no cookie obligation under either GDPR or CCPA.
That said, the “zero EU visitors” claim is hard to defend in 2026. Almost any site on the public internet picks up some EU traffic. If you run any kind of analytics or ads at all, budget for a CMP.
What I'd read next
If you're choosing a CMP, the comparison guides are useful: Best Consent Management Platforms Compared covers the major players, and Cookiebot Alternatives is more focused if you've already looked at Cookiebot and bounced. To understand the legal context the CMP is satisfying, start with GDPR Cookie Consent and the ePrivacy Directive.