Integration
Google Consent Mode v2 for GTM and GA4
Use CookieWise to deploy denied defaults first, then update consent states on visitor action - with a practical verification workflow.
What CookieWise handles automatically
- - Sends
gtag('consent','default', ...)with denied states before GTM tags execute - - Applies
wait_for_updateto allow consent decision synchronization - - Sends
gtag('consent','update', ...)on accept/reject/customize - - Maps analytics/marketing categories to Consent Mode v2 signals
Implementation checklist
- 1. Load CookieWise first in
<head> - 2. Keep GTM container standard
- 3. Configure GTM consent checks for analytics/ad signals
- 4. Validate in GTM preview on accept/reject/custom paths
- 5. Publish and confirm GA4/Ads behavior
Need full setup details?
Use the complete implementation guide for step-by-step GTM tag consent settings and validation tips.