Skip to content
Configuration

Basic vs Advanced Google Consent Mode

By OptinStack Team - Jul 1, 2026 - 4 min read

Google Consent Mode v2 has two implementation patterns: Basic and Advanced. Both use the same Google consent signals, but they differ in when Google tags load and whether anything is sent to Google before the visitor grants consent.

Use this article with Integrate OptinStack with Google Tag Manager for the container setup and Set up Google Consent Mode v2 for the OptinStack category mapping.

Basic Consent Mode is the recommended default for privacy-first implementations because Google tags stay blocked until consent is granted. Advanced Consent Mode can improve Google modeling, but it sends cookieless pings before consent and should be reviewed with your legal or privacy team before enabling.

Basic vs Advanced Consent Mode at a glance
FeatureBasic Consent ModeAdvanced Consent Mode
Google tag loadingGoogle tags stay blocked until the visitor interacts with the consent banner and grants the required consent.Google tags load when the page opens after consent defaults are set, then adapt to denied or granted consent states.
Data before consentNo Google data is sent before consent. If the visitor denies consent, Google tags remain blocked.When consent is denied, Google tags can send consent state and cookieless pings. Cookies are not written until consent is granted.
ModelingGoogle Ads conversion modeling relies on a more general model.Google can use advertiser-specific modeling because denied-state pings provide more signal.
Typical GA4 setup in GTMFire GA4 after analytics consent, usually with an OptinStack consent event and an analytics_storage Additional Consent Check.Let the Google tag or GA4 tag load after Consent Initialization with built-in consent checks and no analytics_storage Additional Consent Check.
Third-party tagsKeep blocked until the matching OptinStack category is granted.Keep blocked until the matching OptinStack category is granted. Advanced mode is for consent-aware Google tags, not general third-party pixels.
Best fitSites that need strict pre-consent blocking and do not want pre-consent Google pings.Sites that have legal approval and need better Google Ads or GA4 modeling when analytics or marketing consent is denied.

Basic Consent Mode

In Basic Consent Mode, your measurement and advertising Google tags do not load until the visitor grants the relevant consent. If you use GTM, the GTM container itself can still load and the OptinStack consent tag still runs on Consent Initialization, but GA4, Google Ads, Floodlight, and similar measurement tags stay blocked until consent. If the visitor rejects analytics or marketing, the related Google tags remain blocked.

With OptinStack and GTM, Basic mode means the OptinStack consent tag still runs on Consent Initialization to set defaults, but GA4, Google Ads, and other measurement tags wait for the consent category they need before firing.

  • Install the OptinStack runtime as early as possible in the page head so direct trackers can be blocked before they run.
  • Fire the OptinStack GTM template on Consent Initialization - All Pages so consent defaults are available before other GTM tags.
  • For GA4 in Basic mode, use an OptinStack analytics consent trigger such as optinstack_analytics_accepted and require analytics_storage in Additional Consent Checks.
  • For marketing tags, use optinstack_marketing_accepted and require ad_storage, ad_user_data, and ad_personalization as appropriate.

Advanced Consent Mode

In Advanced Consent Mode, consent-aware Google tags can load when the page opens, after the OptinStack consent tag has set denied defaults. While consent is denied, Google tags adjust their behavior and send cookieless pings instead of full measurement data. When consent is granted, Google tags can write storage and send full measurement data.

Advanced mode is mainly useful for native Google tags such as the Google tag, GA4, Google Ads, Floodlight, and Conversion Linker. It should not be used as a reason to let non-Google analytics, advertising, heatmap, or personalization tags run before consent.

Recommended GTM settings by mode
Tag typeBasic modeAdvanced mode
OptinStack consent tagConsent Initialization - All Pages. Set conservative denied defaults for optional categories where consent is required.Consent Initialization - All Pages. Set conservative denied defaults before Google tags can evaluate consent.
Google tag or GA4Trigger only after analytics consent and require analytics_storage in Additional Consent Checks.Trigger on Initialization or All Pages after Consent Initialization. Keep built-in consent checks and do not add analytics_storage as an Additional Consent Check.
Google Ads or FloodlightTrigger only after the conversion event and marketing consent, then require the relevant advertising consent types.Use built-in consent checks for supported Google tags. Add extra checks only if your policy requires Basic behavior.
Non-Google analytics or advertising tagsUse OptinStack custom event triggers and matching Additional Consent Checks.Use the same Basic-mode gating. These tags do not get a free pre-consent load path just because Google tags use Advanced mode.

Which Mode Should You Choose?

  • Choose Basic mode if your policy is no Google requests before consent, if you are unsure, or if your legal review has not approved cookieless pings.
  • Choose Advanced mode only when your team understands the data flow, needs advertiser-specific modeling, and has reviewed the approach for the regions where your banner appears.
  • Mix modes carefully: Google tags can use Advanced mode while third-party tags remain blocked until the visitor grants the relevant OptinStack category.

How To Verify The Setup

Basic mode checks

Before interacting with the banner, you may still see the GTM container request to googletagmanager.com if GTM is installed. What should stay absent in Basic mode are the gated measurement and ads requests such as google-analytics.com, googleadservices.com, and doubleclick.net until consent is granted.

  • After accepting analytics or marketing, the expected Google requests should appear and Tag Assistant should show a later Consent update with granted values.
  • If a tag does not fire after consent, check whether it only had an All Pages trigger. Add an OptinStack custom event trigger so it can fire after consent changes.

Advanced mode checks

  • In Tag Assistant, check the earliest Consent event and confirm that ad_storage, ad_user_data, ad_personalization, and analytics_storage have the expected default values.
  • Before consent, open DevTools and check Application or Storage > Cookies for your domain. A GA4 tag configured for Advanced mode may send a request, but it should not write _ga or _ga_* cookies while analytics_storage is denied.
  • In the Network panel, filter for google-analytics.com, googletagmanager.com, googleadservices.com, doubleclick.net, or gcs. A denied-state Advanced-mode request often includes a gcs value such as G100 when both ad_storage and analytics_storage are denied.
  • Treat gcs and gcd URL parameters as diagnostic hints, not your primary source of truth. Google can change their internal encoding, so use Tag Assistant to confirm the actual Consent default and update states.
  • After accepting consent, Tag Assistant should show updated granted values, subsequent Google requests should use the new state, and GA storage such as _ga or _ga_* may appear if analytics consent is granted.

If Tag Assistant reports that defaults are set too late, move the OptinStack consent tag to Consent Initialization - All Pages and remove any older Custom HTML consent commands that compete with OptinStack.

Official Google References

Further Reading

Related articles

Configuration

Set up Google Consent Mode v2

Map OptinStack's four consent categories onto Google Consent Mode v2 and keep them in sync as visitors choose.

OptinStack Team · 2 min read

Implementation

Integrate OptinStack with Google Tag Manager

Configure OptinStack with Google Tag Manager from start to finish, including the GTM template, Consent Mode v2 signals, defaults, triggers, consent settings, and testing.

OptinStack Team · 7 min read

Consent management

The four consent categories explained

The four fixed consent categories: necessary, analytics, marketing, and preferences, and how their defaults behave.

OptinStack Team · 2 min read

Implementation

Block trackers before they load

How OptinStack blocks trackers before they load, how scripts are tagged to consent categories, and how to allowlist essential scripts.

OptinStack Team · 2 min read

How helpful was this article?