Nov 24, 2026
Written by
Tymofii Sankov
Key takeaways
Almost every tag on your website wants to read or store something about the visitor, and privacy laws say you need permission first. That’s why a consent management platform (CMP) has become as standard a part of the tracking stack as GTM itself. Pick the wrong one or set it up carelessly, and you get a compliance problem, a hole in your data or, quite often, both. This guide explains what consent management tools are and how they work. It also covers how to choose one and how to connect it to Google Tag Manager and server-side GTM without breaking your tracking.

In plain terms, a consent management platform is software that collects, stores, and passes on visitors' choices about cookies and tracking. It sits between the visitor and every tag that wants to process their data. Basically, it has three main tasks:
For anyone working on tracking, the third job matters most. People usually picture the banner when they hear about consent management software, but the signal behind it is what decides whether your GA4, Google Ads or Meta tags fire. It helps to separate what a CMP does (asking, storing, signaling) from what you have to do: ensure every tag actually listens to that signal.
A cookie banner is the visible part of a CMP: the pop-up a visitor gets when visiting the website. You can build one with a few lines of HTML, but on its own it’s just a box with buttons. Everything that happens after a click (remembering the choice, keeping proof, applying the right rules, and telling your tags what’s allowed) is done by the CMP, unless you decide to build all of that from scratch (which basically means building a custom CMP on your own).
There are three reasons to take consent seriously: the law, Google's requirements, and the quality of your data. They overlap, but each one alone is enough to justify a proper setup.
The law. In the EU and UK, GDPR and the ePrivacy rules require prior, informed consent before non-essential cookies and tracking. GDPR fines can reach €20 million or 4% of global annual turnover, whichever is higher. US state laws such as CCPA/CPRA mostly work on an opt-out basis, but you still have to honor those opt-outs and signals like Global Privacy Control. A cookie consent management platform with geo-targeting lets you apply the right model to each region automatically.
Google. Since March 2024, Google has required Consent Mode v2 signals for traffic from the EEA. Without them, you lose remarketing audiences, ad personalization and conversion modeling in Google Ads and GA4.
Data quality. Whether you use a paid consent management service or a free plugin, the setup directly affects your numbers. With correct Consent Mode signals, Google can model conversions from visitors who declined instead of leaving a gap in your reports. A misconfigured setup does the opposite: tags stay blocked even after visitors click “Accept,” or they fire before consent and collect data you’ll have to delete. Treating consent management platform compliance software as a legal checkbox is the fastest way to lose data you were allowed to keep.
A CMP checks whether a visitor has already made a consent choice, asks them if they haven’t, and passes their answer to your tags so they know whether to fire, stay blocked or collect less data. The flow is nearly identical across vendors, and knowing it makes debugging much easier. Here’s what happens, step by step:
Steps 6 and 7 are where most setups go wrong. The consent management application on your site can do its part perfectly and still be ignored by tags that were never told to check consent. While most consent management systems handle steps 1 to 6 automatically, step 7 depends on the GTM container configuration (if one is used).
Consent Mode is Google's API for passing consent state to Google tags. It is often confused with a CMP, but the two do different jobs: the CMP collects consent, and Consent Mode delivers it to Google tags. Version 2 uses four parameters that change the behaviour of Google tags:
ad_storage: whether advertising cookies can be stored.analytics_storage: whether analytics cookies can be stored.ad_user_data: whether user data can be sent to Google for advertising.ad_personalization: whether data can be used for personalized ads and remarketing.In addition to that, Google Consent Mode API has additional 3 parameters: finctionality_storage, personalization_storage, and security_storage. They do not influence Google tags, but can be used for consent checks for other tags.
Google Consent Mode also comes in two flavors. In basic mode, Google tags stay fully blocked until the visitor consents, so you get nothing from people who decline. In advanced mode, tags load with consent denied and send cookieless pings that Google uses for conversion and behavioral modeling. In the second case, you get more data, but you need to confirm with the legal team that cookieless pings are acceptable in your markets.
Yes, you do. Consent Mode has no interface and can't ask anyone anything. It only takes the consent state that something else collected and passes it to Google tags.
Without a CMP, or at least a custom banner wired to Consent Mode, you'd be telling Google that users consented when nobody asked them. An easy way to remember the split: everything involving the visitor's decision is what is consent management platform territory, and everything about how Google tags react to it belongs to Consent Mode.
Google certifies CMPs that pass its checks for correct Transparency & Consent Framework (TCF) and Consent Mode integration. Google also offers its own CMP for publishers through the Privacy & messaging tools in AdSense, Ad Manager and AdMob, but it is a common practice to pick a third-party Google consent management platform partner from the certified list.
Certification is mandatory if you're a publisher. Since January 2024, sites and apps serving ads through AdSense, Ad Manager or AdMob to users in the EEA and UK must use a Google-certified CMP integrated with the IAB TCF, and the rule was later extended to Switzerland. The TCF itself moved to v2.3, which became mandatory for all newly generated consent strings at the end of February 2026.
If you only buy ads and don't sell them, certification isn't strictly required. Still, a consent management platform that Google has certified is already tested for correct signals, which saves you a lot of debugging. Before you sign a contract, check that your consent management provider is on Google's list and supports TCF v2.3.
There are dozens of consent management vendors, and most of their feature and pricing pages look the same. The real differences show up in GTM integration, signal quality and how much manual work you'll do every time a marketer adds a new pixel.
CMPs fall into a few broad groups, and the right one depends on your platform and company size. Standalone SaaS CMPs work on any website and are the usual choice for GTM-based setups. Platform-native options, such as Shopify's built-in banner or WordPress plugins like Complianz, are quick to install but often limited outside their platform. A newer type is a CMP built into your tracking infrastructure, such as Stape CMP, which comes with Stape’s server-side GTM hosting and runs from your own domain. An enterprise consent management platform adds multi-brand governance, audit trails and data subject request handling.
Many of these products grow into a full consent and preference management platform that also covers email preferences and CRM consent. That's valuable for a large organization, but it is overkill if you need a banner on two domains. Building your own CMP is possible too, though you'll then maintain scanning, logs, and legal updates yourself.
Marketing pages list dozens of features, but only a handful decide whether the CMP will work well with your tracking. These are the consent management platform features worth checking first:
Compare consent management solutions against this list rather than against their own feature pages. A quick, practical test is to install a trial, open GTM Preview, and check that consent defaults are set before any other tag fires.
Most consent management platform pricing is based on traffic (pageviews or sessions), the number of domains, or the number of subpages the scanner covers. Entry plans are usually billed per domain per month, while enterprise contracts are quoted individually and often include legal and onboarding support.
Most vendors also offer a free consent management platform plan, but expect limits: a cap on pageviews or subpages, vendor branding on the banner, a single language or no TCF support. Free works for a personal site or a small business with a few tags. Once your ad spend depends on Consent Mode, paying for reliable signals costs less than the conversions you'd lose.
Most CMPs offer a GTM template, which makes consent management platform deployment through GTM the cleanest option. The steps below are generic, and field names may slightly vary between vendors. Before you start, make sure you have the publish access to the container and a list of every tag it runs.
1. Configure the CMP. In the chosen CMP access dashboard, set up categories, regions, languages, and banner texts, then run the first scan.
2. Add the CMP tag. In GTM, go to Templates → Search Gallery and find your vendor's template (it should be done with a web container). Most consent management provider templates are published there by the vendors themselves. Fire the tag on the Consent Initialization – All Pages trigger so it runs before anything else.

3. Set defaults. Set default consent to denied by default for the needed GCM categories. If your CMP loads asynchronously, use the template's wait-for-update setting so tags give the banner a moment to load.

4. Map categories. On your chosen CMP dashboard, check that statistics maps to analytics_storage and marketing maps to ad_storage,ad_user_data and ad_personalization. It is usually done so by default, but it is never a bad idea to double-check.
5. Configure tag consent settings. Go back to the initial window with the container choice. For the one you need, click three dots and open Container Settings. Enable Consent Overview. Google tags have built-in consent checks. For Meta, TikTok, LinkedIn, and other tags, choose Require additional consent for tag to fire and add the relevant consent types in the tag settings.

6. Test. In GTM Preview, open the Consent tab to see default and updated states for each event. They should correspond to what you have configured in step 5. For regions where opt-in consent is a must, the on-page default should be set to “Default” for all types except the necessary ones.

The split of responsibilities matters here. The line between what is a consent management platform setting and what is a GTM setting is simple: banner texts and regions live in the CMP, while triggers and tag consent checks live in GTM. When you're comparing vendors, a consent management tool with a well-maintained template will save you hours at this stage.
While the configurations presented above are the basics, each CMP may have its own specific guidelines and settings. Check our guides for more detailed instructions on configuring the given CMPs
So how do consent management platforms work with a server container? They don't, at least not directly. The CMP lives in the browser, and your sGTM container never sees the banner. It only knows the consent state that arrives inside incoming requests.
The same rule applies everywhere: in data orchestration platforms, consent management is enforced, not collected. The server's job is to read the signal and act on it. Consent usually reaches sGTM in one of two ways:
Sending the signal is only half the job, because sGTM has no built-in consent framework for non-Google tags. Many Stape tags, including the Facebook Conversions API tag and TikTok Events API, have a Consent Settings section with a Send data if marketing consent is given checkbox. When it’s enabled, the tag fires only if the incoming request shows that ad_storage was granted, either through the GA4 request or the Data Tag.
One myth needs addressing:
Server-side tracking does not remove the need for consent. Moving a pixel to the server changes where data is processed, not whether you're allowed to collect it. What sGTM does give you is more control over the data, not the permission.
There’s no single winner for web GTM, but a few criteria separate a smooth setup from a frustrating one. Look for an official template in the Community Template Gallery, full Consent Mode v2 support with region-specific defaults, and a dataLayer event on every consent change so your non-Google tags can react to it.
Once a server container is involved, the bar gets higher. The CMP still runs in the browser, but its consent state now has to travel reliably to server GTM and be respected by every server tag. That’s where a CMP built into your server-side infrastructure has a clear advantage.

If you do not use Stape to host your server GTM container, now is the right time to change your decision. Stape has a built-in CMP that adds full consent management to your server-side tracking setup and is included in all Stape subscriptions at no extra fee. One platform handles the banner, the consent signals, and the server-side tracking that depends on them. Here is what you lose if you are still not with us:
The only thing to plan for is usage: each load of the CMP script counts as one request toward your Stape plan, so factor your traffic into the plan you choose. If you’d like to test it first, Stape’s free plan covers up to 10,000 requests a month, which is enough to set up the CMP and check that everything works before you switch over.
Most consent bugs are invisible during normal browsing. The banner appears, the visitor clicks, everything looks fine, and meanwhile the Meta pixel has been firing on page load for six months. These are the mistakes that come up most often:
ad_user_data and ad_personalization are sent, or Google treats the signal as incomplete.Keep a clear line between what is consent management system work (the banner, categories, and logs) and what is GTM work (triggers, tag settings, and server-side enforcement). Even the best consent management solution can't fix a tag that never checks consent, so test your configuration after every container publish.
Want to start on the server side?
Try for freeNov 24, 2026
Nov 24, 2026
Solutions
Monitor Google Consent Mode changes in GTM and push consent updates to the dataLayer. Trigger tags based on the latest user consent status.
Sep 9, 2026
Comments