You can implement Google Consent Mode v2 without a consent management platform by setting the default consent state to denied in your own code, showing your own banner, and sending an update when the visitor chooses. A CMP is convenient, but it is not what makes Consent Mode work.
What Consent Mode v2 needs
Consent Mode works with four signals. Two existed before version 2, and two were added:
- analytics_storage: analytics cookies, such as GA4.
- ad_storage: advertising cookies.
- ad_user_data: whether user data may be sent to Google for advertising.
- ad_personalization: whether data may be used for personalised advertising.
Step 1: set the default before any tag loads
Place a small script above the Google Tag Manager snippet that sets all four signals to denied. Order matters: if Tag Manager loads first, tags can fire before the default is known.
Step 2: restore a saved choice
If the visitor has chosen before, read their saved choice from the browser's storage and send a consent update straight away, still before Tag Manager loads. Returning visitors are then measured correctly from the first hit, without seeing the banner again.
Step 3: build the banner
The banner needs an accept option, a reject option that is just as easy to use, and a way to change the choice later. When the visitor chooses, save the choice, send a consent update with the four signals, and push an event to the data layer.
Step 4: make non-Google tags wait
Google tags read Consent Mode by themselves. Other tags do not. In Tag Manager, give tags such as the Meta Pixel and the LinkedIn Insight Tag an additional consent requirement for ad_storage, and trigger them on your consent update event as well as on page view. Otherwise they fire for visitors who declined.
Step 5: test it
Use Tag Assistant's consent tab to check the default and the update on each page. In the network requests to Google, the gcs parameter shows the state: G100 means both ad and analytics storage are denied, and G111 means both are granted.
When you should use a CMP instead
A custom banner suits a small site with a few tags. A certified CMP is the better choice if you run Google's publisher products such as AdSense, need consent records for audits, serve many regions with different rules, or load many third-party tags. This article is a technical guide, not legal advice, so check your obligations under POPIA, GDPR or other laws that apply to you.
Common questions
Is Consent Mode v2 mandatory?
Google requires consent signals for advertisers who use its ad products with visitors in the European Economic Area and the UK. Without them, features such as remarketing audiences and conversion measurement for those visitors are limited.
What is the difference between basic and advanced Consent Mode?
In basic mode, Google tags do not load until the visitor consents. In advanced mode, tags load with consent denied and send cookieless signals, which lets Google model some of the conversions that were not observed.
Does Consent Mode block the Meta Pixel?
No. Consent Mode only controls Google tags. Other tags have to be given consent requirements in Tag Manager, or they will fire regardless of the visitor's choice.
Consent setup is part of my conversion tracking work. Book a call if you would like yours checked.