What is Google Consent Mode V2?
Google Consent Mode V2 is a consent signaling mechanism that manages the behavior of Google services such as Google Analytics, Google Ads, and similar tools based on user consent. When the user does not grant permission, measurement and advertising technologies do not stop completely; instead, they operate according to the given consent status.
Bildirt CMP collects user preferences, updates the consent state, and technically transmits the required signals to Google. This helps maintain both regulatory compliance and measurement continuity.
How Does Bildirt CMP Apply Google Consent Mode V2?
In Bildirt CMP, the flow generally works as follows:
- When the page loads, the default consent state is applied (default: denied).
- The user makes a choice through the banner.
- The system updates the consent state.
- The current consent signals are sent to Google.
- Related scripts are executed or blocked based on the consent status.
Which Consent Signals Are Managed?
Google Consent Mode V2 mainly manages consent signals for advertising and analytics purposes. Bildirt CMP converts user preferences into these signals and transmits them accordingly.
- Analytics consent signals (measurement behavior)
- Ads consent signals (advertising behavior)
- Consent updates (event-based updates)
Default Consent (Initial Load Behavior)
For regulatory compliance, Bildirt CMP initializes consent as disabled by default until the user makes a choice.
- Until the user makes a choice, consent remains denied.
- Measurement and advertising scripts are controlled based on the consent status.
- If the banner is closed or no selection is made, the default state continues.
Consent Update
When the user changes their preferences, Bildirt CMP can update consent signals without requiring a page refresh.
- The user makes a choice from the preference panel.
- The system saves the new consent state.
- Updated signals are sent to Google.
- If necessary, scripts are restarted or stopped.
Verification and Validation
To verify that Google Consent Mode V2 is working correctly:
- Check the behavior of Google services before the user gives consent.
- Confirm that signals are updated after the user grants consent.
- Verify that preferences are recorded through consent logs.
Common Mistakes
- The installation script not running on all pages
- Scripts being added directly to the page without being assigned to a category
- Incorrect default consent configuration
- Old code continuing to run due to cache after updating the preference panel
For issues like these, review the Errors & Status Codes page.
