NexaGuard CMP — Google Consent Mode v2
Implement Consent Mode v2 correctly in minutes. Keep GA4 and Google Ads measurement working while honoring user choices across your site.
What you’ll set up
- Safe default consent (denied) and instant updates after a user action.
- Four Consent Mode v2 signals managed automatically:
ad_storage,analytics_storage,ad_user_data,ad_personalization. - Works with GTM (Consent Initialization) or gtag.js — choose the path that fits your stack.
- One‑click verification with Tag Assistant so you know it’s correct.
Designed for website owners, marketers, and developers rolling out Google measurement in the EEA/UK.
Why NexaGuard
- Privacy‑first UX with granular choices
- Fast, reliable signal propagation
- IAB TCF v2.2 registered CMP
- WordPress (WP Consent API), Shopify, Drupal
Quick Start — gtag.js
Set safe defaults; NexaGuard updates consent after the user acts.
<script>
gtag('consent', 'default', {
ad_storage: 'denied',
analytics_storage: 'denied',
ad_user_data: 'denied',
ad_personalization: 'denied'
});
// NexaGuard dispatches on user choice:
gtag('consent', 'update', {
ad_storage: 'granted',
analytics_storage: 'granted',
ad_user_data: 'granted',
ad_personalization: 'denied'
});
</script>
Run defaults as early as possible (document head) so tags respect consent state.
Quick Start — Google Tag Manager
- Create a Consent Initialization tag to set defaults (
denied). - Add the NexaGuard CMP snippet on Initialization / All pages.
- Publish. NexaGuard updates state; GTM enforces it before tags fire.
to integrate
to your Google tags
consent updates
Signals we manage
NexaGuard synchronizes all four Consent Mode v2 signals in real time.
All signals initialize as denied until a user gives consent.
Platforms & compatibility
- WordPress — fully compatible with the WP Consent API
- Shopify — app + theme snippet support
- Drupal — module integration
- Any site — works with GTM or gtag.js
Need help choosing GTM vs gtag.js? Our team can advise based on your stack.
Verify your setup
- Open your site and use the NexaGuard banner to Accept or Reject.
- Use Tag Assistant to check default and updated consent states (or inspect the
consentAPI calls). - Confirm the four signals match the user choice.
You can also inspect network requests for Google endpoints after consent updates.
Does NexaGuard support Google Consent Mode v2?
Yes. We manage ad_storage, analytics_storage, ad_user_data, and ad_personalization based on user choices.
Will my existing Google tags keep working?
Yes. With GTM or gtag.js, Google products automatically respect the consent state set by NexaGuard.
Is this compatible with WordPress, Shopify, and Drupal?
Yes. We provide direct integrations for all three, plus a lightweight snippet for any site.
What’s the default behavior before consent?
By default we initialize all four signals to denied, then update immediately after a user action.
Smart Consent. Simple Compliance.
Join organizations that use NexaGuard CMP to stay compliant and keep Google measurement working.