Skip to content
DocsCookie BannerConsent Mode v2
Cookie Banner

Consent Mode v2

Google Consent Mode v2

Conseto is fully compatible with Google Consent Mode v2, which is required for Google Ads and Analytics in the EU since March 2024.

Automatic Setup

Consent Mode v2 is enabled by default. No additional configuration needed if you use GA4 or GTM.

How It Works

Conseto automatically sets Google consent defaults before any Google tags fire:

javascript
// Conseto sets these defaults automatically:
gtag('consent', 'default', {
  'analytics_storage': 'denied',
  'ad_storage': 'denied',
  'ad_user_data': 'denied',
  'ad_personalization': 'denied',
  'functionality_storage': 'granted',
  'security_storage': 'granted'
});

// When user grants consent, Conseto updates:
gtag('consent', 'update', {
  'analytics_storage': 'granted',
  'ad_storage': 'granted',
  'ad_user_data': 'granted',
  'ad_personalization': 'granted'
});

Consent Signal Mapping

Google SignalConseto CategoryDefault
analytics_storageAnalyticsdenied
ad_storageMarketingdenied
ad_user_dataMarketingdenied
ad_personalizationMarketingdenied
functionality_storageNecessarygranted
security_storageNecessarygranted
Documentation | Conseto