Google Consent Mode v2 What It Is and How to Set It Up ATH.DEV

Google Consent Mode v2: What It Is and How to Set It Up

Google Consent Mode v2 is a critical update that affects how websites collect and use data for analytics and advertising. If your website uses Google Analytics, Google Ads or any form of tracking, this is no longer optional.

It is directly connected to GDPR compliance and how user consent is handled across your website. If you are not familiar with GDPR basics, you can also read our guide on GDPR for Websites: What You Need to Know.

If you want to understand how tracking should be structured properly, you can also read our guide on Website Tracking & Analytics: Performance and Best Setup.

What Is Google Consent Mode v2?

Google Consent Mode v2 is a framework that allows websites to adjust how Google services behave based on user consent.

Instead of simply blocking or allowing scripts, Consent Mode communicates user consent status to Google systems.

This allows Google tools to:

  • respect user consent choices
  • adjust data collection behavior
  • use modeled data when consent is denied

Why Consent Mode v2 Matters

Consent Mode v2 became essential due to stricter privacy regulations and enforcement, especially in the EU.

If not implemented properly:

  • Google Ads campaigns may lose effectiveness
  • conversion tracking may become incomplete
  • remarketing may not work correctly
  • analytics data may be limited

In many cases, this directly impacts marketing performance and business decisions.

What Changed in Version 2

Consent Mode v2 introduced new required consent signals:

  • ad_user_data
  • ad_personalization

These work alongside existing signals such as:

  • analytics_storage
  • ad_storage

This means your website must now provide more detailed consent communication to Google.

How Consent Mode Works

Consent Mode adjusts tracking behavior based on whether the user accepts or rejects cookies.

Consent Granted

  • full tracking is enabled
  • cookies are stored
  • complete data is collected

Consent Denied

  • cookies are limited or blocked
  • no personal identifiers are stored
  • Google uses modeled data instead

This allows websites to remain compliant while still gathering useful insights.

How to Implement Google Consent Mode v2

The correct implementation usually involves three components:

1. Cookie Consent Banner

You need a GDPR-compliant cookie consent solution that:

  • collects user consent
  • categorizes cookies (analytics, marketing, etc.)
  • blocks scripts before consent

2. Google Tag Manager

Google Tag Manager acts as the central hub for handling tracking and consent signals.

Inside GTM, you:

  • configure consent settings
  • define default states
  • update consent based on user interaction

3. Consent Mode Configuration

You must configure consent signals properly.

Example default setup:

gtag('consent', 'default', {
  'ad_storage': 'denied',
  'analytics_storage': 'denied',
  'ad_user_data': 'denied',
  'ad_personalization': 'denied'
});

Then update after user consent.

Common Mistakes

  • loading tracking before consent
  • not sending consent signals to Google
  • using a banner that does not integrate with GTM
  • duplicate tracking setup

These issues can break tracking accuracy and cause compliance problems.

Consent Mode and Performance

Consent Mode also affects performance.

Proper setup helps:

  • avoid unnecessary script loading
  • reduce third-party requests
  • improve page speed

This connects directly with Website Speed Optimization.

If you want to understand how performance impacts your website overall, you can also read our guide on WordPress Performance: What Actually Matters for Speed.

Why It Matters for Your Business

Consent Mode v2 is not just a technical requirement. It directly impacts:

  • advertising performance
  • data accuracy
  • legal compliance

Without proper implementation, your marketing data becomes unreliable.

Final Thoughts

Google Consent Mode v2 is now a standard requirement for any website using Google tracking tools in the EU.

It allows you to balance compliance and data collection while maintaining performance and control.

If you want a proper setup that ensures accurate tracking and compliance, explore our Tracking & Conversion service or contact ATH Development to discuss your project.

Need a stronger website?

Let’s build something fast, clear and ready for growth.

ATH Development helps businesses create WordPress websites and WooCommerce stores built for performance, SEO readiness and real business results.

Start Your Project View Services