CMP

On this page 8

A CMP, or consent management platform, is the software layer that asks website or app visitors for permission to use cookies and similar technologies, records each choice as evidence, and signals that choice to every tag and vendor that would otherwise process personal data. In privacy practice, and specifically in the area of cookies and consent, the CMP is the operational bridge between legal requirements and the scripts that actually run in a browser.

A CMP is more than the visible banner. The banner is only its user interface; the real work happens in the consent state, the consent log and the blocking logic that keeps non-essential tags silent until a valid choice exists.

How a CMP works from first visit to enforcement

A CMP follows a fixed sequence on every page load: it checks for an existing choice, asks if none exists, stores the answer and gates downstream scripts according to that answer. The quality of a CMP is decided by how reliably the last step happens, because a banner that collects refusals while tags still fire offers no legal protection at all.

  1. Detection: the CMP script loads first and reads a stored consent record, usually a first-party cookie or local storage entry.
  2. Prompting: if no valid record exists, or the record has expired or the vendor list has changed, the consent banner is shown.
  3. Recording: the choice is saved in the browser and, in most enterprise setups, sent to a server-side consent log with a timestamp, banner version and anonymous identifier.
  4. Signaling: the CMP exposes the choice to tags through an API, a data layer event or a standardized string.
  5. Enforcement: non-essential scripts are either held back until consent arrives or loaded in a restricted mode.

Enforcement uses two main techniques. Prior blocking rewrites script tags so the browser does not execute them until the matching purpose is granted. Tag manager integration lets a tag management system read the consent state and fire each tag only when its required purposes are allowed. Many sites combine both, because hard-coded scripts outside the tag manager would otherwise escape control.

Core components and the parameters they control

Every CMP is configured through a small set of components whose settings determine both compliance and data quality. The table below lists the components that administrators adjust most often and the typical values they choose.

ComponentWhat it controlsTypical setting
Purpose categoriesGroupings such as necessary, preferences, statistics, marketingThree to six categories
Vendor listNamed third parties that receive dataTens to several hundred vendors
Cookie scannerAutomatic discovery of cookies and scriptsWeekly or monthly crawl
Consent lifetimeHow long a choice stays valid before re-promptingSix to thirteen months
Geolocation rulesWhich banner variant appears in which jurisdictionOpt-in in Europe, opt-out notice elsewhere
Consent log retentionHow long proof of consent is keptDuration of processing plus a buffer
Main CMP components and typical settings

The cookie scanner deserves particular attention. It crawls the site, lists cookies and scripts, and assigns them to categories, but automatic classification is often wrong for custom or newly added scripts. A scan result is a starting point for human review, not a finished inventory.

In advertising, many CMPs implement the IAB Transparency and Consent Framework, which encodes choices in a compact TC string that participating vendors read. Global Privacy Control signals and Google Consent Mode are other common interfaces that a CMP may need to send or honor.

The CMP is often confused with the elements it manages. The distinction matters because responsibility sits at different layers: a well-designed banner does not fix a broken enforcement layer, and blocking scripts does not fix misleading wording.

ConceptWhat it isRelation to the CMP
Consent bannerThe visible dialog with choicesUser interface layer of the CMP
CookieSmall data file stored by the browserObject whose use the CMP governs
First-party cookieCookie set by the visited domainAlso used by the CMP to store choices
Third-party cookieCookie set by another domainTypical target of marketing consent
Tag management systemTool that loads analytics and ad scriptsExecutes tags based on CMP signals
Privacy policyLegal text describing processingLinked from the CMP, not replaced by it
How a CMP relates to nearby concepts

In short, the CMP is the system of record for consent, while banners, cookies and tags are the parts that the system displays, governs or controls.

A CMP exists to meet the consent conditions of laws such as the GDPR and the ePrivacy Directive in Europe, and the opt-out rules of state laws such as the CCPA as amended by the CPRA. European regulators have repeatedly stated that consent must be freely given, specific, informed and unambiguous, and that refusing must be as easy as accepting.

RequirementMeaning in practiceCMP setting
Prior consentNo non-essential processing before a choiceBlock marketing and statistics tags by default
Equal prominenceReject is as easy as acceptReject all button on the first layer
GranularitySeparate consent per purposeToggles per category, unticked by default
WithdrawalRevoking is as easy as givingPersistent settings link or icon
DemonstrabilityController can prove consentServer-side log with banner version
Opt-out of sale or sharingUnited States opt-out modelDo not sell or share link and signal handling
Legal expectations translated into CMP configuration

Strictly necessary cookies, such as session or load-balancing cookies, do not require consent under the ePrivacy rules. Classifying analytics or advertising cookies as necessary to avoid the banner is a frequent and well-known violation.

Choosing and deploying a CMP

Selection depends mainly on traffic, advertising model and technical stack. A small brochure site has very different needs from a publisher that sells programmatic advertising across many domains.

SituationRecommended approachReason
Small site, few tagsHosted CMP with built-in scannerLow effort, automatic updates
Publisher selling adsCMP registered for the IAB frameworkVendors require a valid TC string
Multi-brand enterpriseCentral CMP with shared consent logConsistent records and audits
Mobile appsCMP SDK for iOS and AndroidConsent must gate in-app SDKs too
Server-side taggingCMP that forwards consent to the serverServer containers must respect choices
Deployment choices by organization type

Deployment order is critical: the CMP script must load before any other tag, ideally first in the page head. After launch, administrators should verify enforcement in a clean browser by refusing all purposes and inspecting network requests and stored cookies.

Common CMP failures and how to detect them

Most CMP problems are enforcement failures rather than design failures. They are invisible to visitors, which is why audits and regulators rely on technical inspection of network traffic.

  • Tags firing before consent, often because a script was hard-coded outside the tag manager.
  • Dark patterns such as a hidden reject option, pre-ticked boxes or color contrast that favors acceptance.
  • Stale vendor lists that do not match the scripts actually loaded.
  • Consent not propagated to subdomains, apps or server-side endpoints.
  • No re-prompt after new purposes or vendors are added.

A practical test is to refuse everything and reload: if any marketing or analytics request leaves the browser, the CMP is not enforcing. Regular scans and a documented change process keep the configuration aligned with the site.

A plain-language summary

A CMP is the gatekeeper for tracking on a website. When people arrive, it asks what they allow, writes down their answer, and then makes sure the site only uses the tools they agreed to.

Think of a building reception desk. The desk asks visitors which rooms they want to enter, gives them the matching badge and keeps a visitor log. The doors themselves check the badge. A banner without enforcement is like a reception desk with doors that open for everyone: it looks orderly but protects nothing.

An example from practice

An online furniture retailer with traffic from Germany, France and California runs analytics, two advertising pixels and a chat widget. Before an audit, its privacy team discovers that the advertising pixels load on the first page view, before visitors see any banner.

The team deploys a CMP as the first script in the page head, defines four purpose categories, and sets the tag manager to fire each tag only when its category is granted. European visitors see an opt-in banner with equal accept and reject buttons; California visitors see a notice with a do not sell or share link, and the CMP honors Global Privacy Control signals.

A test with all purposes refused now shows no advertising requests at all. The server-side consent log records each choice with the banner version, which gives the retailer documented proof of consent when the audit takes place.