Google Consent Mode v2: the complete guide (2026)
Everything you need to know about Consent Mode v2: what it is, why it's required and how to implement it well without slowing your site down.
Also read our guide on the cookie law and GDPR.
What is Consent Mode v2?
It's how your site tells Google whether the user has given consent for analytics and advertising cookies. It works with 4 signals that can be set to granted or denied:
ad_storage— advertising cookies.ad_user_data— sending user data to Google.ad_personalization— personalized advertising (remarketing).analytics_storage— analytics cookies.
Why it's required since 2024
Since March 2024, Google requires Consent Mode v2 to use Ads or Analytics with users in the EU and the UK. Without it, you lose access to remarketing, conversion modeling and key signals for your campaigns. It's not optional.
Installation guides by platform
- Cookie banner for WordPress
- Cookie banner for Shopify
- Cookie banner for Wix
- Cookie banner for Webflow
- Cookie banner for PrestaShop
- Cookie banner for Squarespace
- Cookie banner for Joomla
- Cookie banner for Drupal
- Cookie banner for Magento
- Cookie banner for BigCommerce
- Cookie banner for Ghost
- Cookie banner for Framer
- Cookie banner for GoDaddy (Website Builder)
- Cookie banner for Blogger