Google Consent Mode v2
When you enable Google Consent Mode v2 in Settings, CookieRay outputs browser-side JavaScript consent signals for the Google tags you have already installed on your site. Those tags then adjust their behavior based on the visitor’s consent.
What CookieRay does
With this setting on, CookieRay emits consent signals that work with:
- GA4 (Google Analytics 4)
- Google Ads
- Google Tag Manager (GTM)
The signals are delivered browser-side, in JavaScript. As the visitor makes choices, the consent state updates and your Google tags react accordingly.
What CookieRay does not do
It’s important to be clear about the boundaries:
- CookieRay does not make server-side calls to Google.
- CookieRay does not install Google tags for you.
In other words, Consent Mode v2 in CookieRay is the signaling layer. The Google tags themselves must already be present on your site. CookieRay tells them about consent; it does not deploy them.
How it fits together
- You install your Google tags (GA4, Google Ads, or GTM) on your site as usual.
- You enable Google Consent Mode v2 in CookieRay’s Settings.
- CookieRay outputs the consent signals in the browser.
- Your Google tags read those signals and adjust their behavior based on consent.
Learn more
For details on how Google tags respond to these consent signals, see Google’s documentation: