Marketing measurement with consent is what you can still measure after a visitor makes a choice in the cookie banner. In the European Union, part of every audience declines, and Google Ads, Meta and GA4 start to show only part of the sales. Budgets get decided on incomplete data, often without knowing how much is missing.
The problem has four layers: the banner, Consent Mode, collection on the server, and sending sales to the platforms by API. Each one solves part of it, and none solves it alone.
What changed
Four changes have stacked up over the last few years.
- The law. Article 5(3) of the ePrivacy Directive, transposed into the law of every EU country, requires prior consent to store or read information on the visitor’s device. Only cookies strictly necessary for the service requested are exempt. Analytics and advertising cookies can only be set after the visitor clicks accept.
- Google. Since March 2024, anyone using Google’s tools with traffic from the European Economic Area has to send consent signals through Consent Mode v2 to keep remarketing and audiences.
- Browsers. Safari limits how long many JavaScript cookies last, and ad blockers stop third-party scripts. Even visitors who accept can stop being recognised after a few days.
- The platforms. Meta and Google now accept sales sent directly from the store’s server, and their bidding algorithms rely more and more on that data.
What you lose when a visitor declines
When someone declines, the tags set no cookies and the visit has no identifier. The sale can still happen, but the platforms cannot link it to the ad click. The effect shows up in three places.
In Google Ads and Meta, campaigns look weaker than they are, and automated bidding learns from fewer conversions. GA4 moves sales from paid channels to direct traffic. Finally, platform reports and store revenue stop matching, and nobody knows which number to trust.
The gap between the sales recorded in the store and the conversions in the platforms is the first number to know. A large gap can come from consent, and also from badly installed tags, as explained in Tracking errors in e-commerce.
The four layers of measurement with consent
1. The cookie banner
This is where the visitor chooses, and the design matters. In a 2023 report, the European data protection authorities agreed that the reject button belongs on the first layer, next to accept, and that pre-ticked boxes do not give valid consent. A clear, compliant banner carries less risk and produces numbers you can trust. See Cookie banners in the EU.
2. Consent Mode v2
It passes the visitor’s choice to Google’s tags. In advanced mode, tags send cookieless pings when the visitor declines, and Google uses them to estimate the conversions it cannot observe. With basic mode, tags stay blocked until consent, and the estimate is more generic. See Consent Mode v2.
3. Server-side tracking
Data from visitors who accepted goes through a server owned by the company, on a subdomain of the site, before reaching GA4, Google Ads and Meta. Cookies can last longer, fewer events are lost to blockers, and the company controls what each platform receives. Consent still rules, and people who declined are not tracked. See Server-side tracking.
4. Sending sales by API
Meta’s Conversions API and Google’s enhanced conversions receive the sale from the server, with data such as the email in hashed form. The platforms link more sales to ads, always within what the visitor allowed. The main risk is counting the same sale twice. See Conversions API and enhanced conversions.
How to check your measurement
- Compare one month of paid orders in the store with the purchases recorded in GA4, Google Ads and Meta.
- Open the site in a private window, decline cookies and confirm in the browser tools that no analytics or advertising cookies are left.
- Accept cookies and confirm that a test purchase reaches each platform once, with the right value.
- In Google Ads, check the diagnostics for Consent Mode and enhanced conversions.
- In Meta, check event match quality and whether any events are duplicated.
If any of these steps fails, the reports are not showing your real sales.
Measuring what advertising adds
Even with all four layers working, platforms still claim sales that would have happened without the ad. To learn the real effect of a campaign you need a test with a group that does not see the ads. Incrementality tests answer that question, and the article on marketing incrementality explains when they are worth running.
What Klevie does
Klevie has its own Consent Mode platform and implements server-side tracking and sending sales by API. Some clients prefer to keep the setup and have their team trained, and others leave the ongoing operation to us, with regular checks of tags and conversions. Klevie is responsible for the technical side of measurement. The privacy policy and the legal basis for each processing activity stay with the company and its lawyer.
If you want to know how much of your measurement is being lost, book a call with the team.
Frequently asked questions
Can I use Google Analytics without a cookie banner?
In the usual setup, no. GA4 sets analytics cookies, which need prior consent. With Consent Mode in advanced mode, tags can send cookieless pings before consent, and that choice should be validated with the company’s lawyer.
Does server-side tracking remove the need for consent?
No. The consent requirement depends on the purpose and on what is stored on the visitor’s device. Moving tags to a server does not change that requirement.
How long does it take to set up the four layers?
It depends on the store platform, the number of tools and how many events are measured. The banner and Consent Mode come first, because the other layers depend on them.
Sources: Directive 2002/58/EC (ePrivacy), European Data Protection Board (Report of the Cookie Banner Taskforce, January 2023), Google (Consent Mode and enhanced conversions documentation), Meta (Conversions API documentation). This article covers the technical side and is not legal advice.