Consent mode
Consent mode is the mechanism that passes a visitor’s cookie choice to Google’s tags. The tags behave accordingly: without consent, analytics and advertising cookies are not written. Its second version added two more consent signals, for ad user data and for personalisation. It does not replace a cookie banner; it works together with one.
- Area
- Data and CRO
- In Turkish
- Consent Mode
- Read more · Guide
- GA4 setup checklist: from property to DebugView tests
Why it matters
Consent mode defines what tags do when a visitor does not give consent. If set up wrongly, data is either collected without consent or lost even for those who agreed. The banner, the tags and the consent signal should therefore be tested together. Legal requirements call for expert advice.
Example
Say a shop has a cookie banner but consent mode is not set up. The ad tag keeps running even when the visitor chooses reject. Once consent mode is in place, no ad cookie is written for visitors who reject, and measurement continues for those who accept. Both cases are checked separately during testing.
Related terms
- Bounce rateBounce rate in GA4 is the percentage of sessions that were not engaged.
- Data layerA data layer is the JavaScript object through which a site hands information to a tag manager.
- GA4GA4 is the current version of Google Analytics, measuring website and app traffic in one property.
- Google Tag ManagerGoogle Tag Manager is Google’s free tool for adding and managing analytics and advertising tags from one panel without touching the site’s code each time.
- Key eventA key event is a GA4 event marked as valuable to the business, such as a purchase, a form submission or a click on a phone number.
- A/B testAn A/B test shows two versions of a page or element in the same period, assigns visitors to them at random and measures which performs better.
The definitions are general information. If you think one is incomplete or wrong, write to us and we will reply within one working day. Get in touch
From our journal
From what we have written on Data and CRO; they show how the term turns up in the work.
- How to build GA4 audiences and use them in Google AdsFrom conditions to sequences, from membership duration to predictive audiences: the steps for building a GA4 audience and what must be on for it to reach Google Ads.
- How to improve on-site search in an online shopFrom measuring search in GA4 and reading the terms that return nothing, to synonym and typo rules, the results page and the “no results” page, in order.
- How to write a GA4 measurement plan: events and key eventsStart from business questions, choose GA4 events, write down naming rules and limits, mark the key events, and put it all in a one-page table.
- What is server-side tagging, and who needs it?How a server container differs from tags in the browser, what it does and does not solve, who should bother, and the steps of a first setup.