Q: What's the step-by-step to roll out Consent Mode v2 correctly?
A: v2 needs four signals before any tag fires. Do it in this order:
— Set defaults via gtag('consent','default',...) with ad_storage, analytics_storage, ad_user_data, ad_personalization all set to 'denied'.
— Place that snippet ABOVE your GA4/Ads tags so it runs first.
— On banner accept, send gtag('consent','update',...) flipping the granted signals.
— Verify in the browser: Tag Assistant should show consent state, and GA4 still collects modeled (cookieless) pings on denial.
TL;DR: Default everything to denied, load it before tags, update on accept, confirm modeling kicks in via Tag Assistant.
Got a GA4 question? Drop it 👇
GA4 Triage
@GA4Triage
Q: What's the step-by-step to roll out Consent Mode v2 correctly?
Этот пост опубликован в Telegram-канале GA4 Triage. Подписаться можно по ссылке: @GA4Triage.