Log in / Create free account🌐 ES☀️

← Basic training · Module 6 — Basic measurement — conversions, the Google tag and consent

Cookies, GDPR and Consent Mode: measuring without breaking the law (or the data)

⏱️ 9 min read · 📐 Measurement · updated on 2026-08-22

🎧 Listen to the lesson · ≈ 5 min🔒 Subscribers only

In Europe you cannot measure anybody without their permission. That collides head-on with the previous lesson: the Google tag needs cookies to link click and conversion. Google resolved the tension with Consent Mode, and since 2024 it has been compulsory in order to use measurement and audience features in the European Economic Area. This lesson explains what it is, how you set it up and what happens to the data of the people who say no.

The framework: GDPR and ePrivacy

The CMP tells Google's tags the status of consent (ad_storage, analytics_storage, ad_user_data, ad_personalization: granted or denied). The tags adapt:

Version If the person rejects... What you get
Basic Google's tags do not load until there is consent You comply; Google can only model with a generic model
Advanced The tags load but without cookies: they send anonymous «pings» (with no identification of the person) You comply; Google models your lost conversions using your own data

Advanced is the one Google recommends and the one that recovers the most data. It is lawful if the CMP is properly configured: pings without consent contain no identifiers. Check with your legal adviser, but it is the industry standard in 2026.

Modelling: recovering what you can't see

In advanced mode, Google compares the behaviour of the people who did accept with the anonymous pings from those who didn't, and estimates how many conversions happened among the ones that cannot be observed. Those modelled conversions are added to the conversions column (with a note in the report) and Smart Bidding uses them. Without modelling, on a site with a 40% rejection rate, your bids would be learning from half of reality.

Conditions for modelling to work: advanced mode properly implemented, enough volume (as a guide, hundreds of clicks with and without consent in each group) and tags on every page.

How it is implemented (no code)

  1. Choose a CMP certified by Google and install it (almost all of them have a plugin for WordPress/Shopify, or are added from Tag Manager).
  2. Switch on the integration with Google Consent Mode (v2) in the CMP: it is a checkbox in almost every one.
  3. If you use Tag Manager: advanced mode is usually the default behaviour of the CMP's template; check that Google's tags do not have triggers blocking them until consent (that would turn them into basic mode).
  4. Verify (next section).

Verifying

Common mistakes

💡 Ninja trick: the existence and quality of a CMP is also a legitimacy signal for a website: serious sites have one; site farms built to collect impressions almost never do. Our Ninja Shield uses the presence of a CMP (alongside trust badges, a company registration number, social profiles, domain age...) as one of its trust signals when deciding which Display sites deserve your money and which do not.

What you should remember

📝 Lesson quiz

Create your free account to take the quiz and save your score.

📎 Sources and further reading

💡 Suggest new content

⚠️ Free training with no support. Ninja Scripts support channels (email and Telegram) are only for the use of the scripts, not for Google Ads questions or questions about this training.
🎓
You're reading the Basic training in the open

Create your free account (no card) to save your progress, take the graded quizzes, earn the Basic level certificate and unlock part of the Intermediate and Advanced training.

Create my free account →
🥷

Subscriber feature

This option is part of the Ninja Scripts Suite subscription.

See the subscription →