Cookie Consent Mode v2 & Pre-Consent Tracker Auditor

Scan HTML for GA4, GTM, Meta Pixel, TikTok, LinkedIn, Clarity, Hotjar, and PostHog firing before Google Consent Mode v2 default-denied signals, and copy ready-to-paste head code.

Unlock Pro ($15)
100% browser-local HTML scan · Zero server upload

1. Paste Page <head> / <body> HTML

0
Consent v2 Score
0 / 100
High Risk · Critical Issues Found
5 Leaks0 Safe5 Trackers

2. Consent Mode v2 Default Signals

ad_storage: missing
analytics_storage: missing
ad_user_data: missing
ad_personalization: missing

Missing complete gtag('consent', 'default', ...) v2 default-denied setup before tracking scripts.

3. Detected Tracking Scripts (5)

Pre-Consent Leaks (5)

Google Tag Manager (gtm.js)
Loads before Consent Mode v2 default
googletagmanager.com/gtm.js

Initialize Google Consent Mode v2 default-denied signals BEFORE the GTM container snippet and enable Consent Overview inside GTM.

Google Analytics / Google Ads (gtag.js)
Loads before Consent Mode v2 default
googletagmanager.com/gtag/js

Declare gtag('consent', 'default', { ad_storage: 'denied', analytics_storage: 'denied', ad_user_data: 'denied', ad_personalization: 'denied' }) in <head> BEFORE loading gtag/js.

Meta / Facebook Pixel (fbevents.js)
Ad pixel fires without CMP gate
connect.facebook.net/en_US/fbevents.js

Meta Pixel ignores gtag consent defaults. Call fbq('consent', 'revoke') before fbq('init', ...) or block the script with type="text/plain" data-category="marketing" until user consent.

TikTok Pixel
Ad pixel fires without CMP gate
analytics.tiktok.com/i18n/pixel

Block TikTok Pixel execution behind your Consent Management Platform (type="text/plain" data-category="marketing") or fire it via GTM only after ad_storage is granted.

Microsoft Clarity
Session replay runs before consent
clarity.ms/tag/

Gate Clarity with your CMP (type="text/plain" data-category="analytics") or enable Clarity Consent API (window.clarity('consent', false)) until accepted.

Copy-Ready Consent v2 <head> Snippet

<!-- Place BEFORE Google Tag Manager, gtag.js, or any third-party marketing pixels -->
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('consent', 'default', {
    ad_storage: 'denied',
    analytics_storage: 'denied',
    ad_user_data: 'denied',
    ad_personalization: 'denied',
    wait_for_update: 500
  });
  gtag('set', 'ads_data_redaction', true);
  // Meta Pixel pre-consent guard: revoke until visitor clicks Accept
  if (typeof window.fbq === 'function') { window.fbq('consent', 'revoke'); }
  // Microsoft Clarity pre-consent guard
  if (typeof window.clarity === 'function') { window.clarity('consent', false); }
</script>

Place this block at the top of <head> above GTM, GA4, and marketing pixels. When a visitor clicks Accept in your banner, call gtag('consent', 'update', { ad_storage: 'granted', analytics_storage: 'granted', ad_user_data: 'granted', ad_personalization: 'granted' }).

Free live checks forever · Unlock GMC Suspension Preflight & Cookie Consent v2 Auditor audit report, CSV & config exports for $15 once.

See Pro ($15) →

Cookie Consent Mode v2 & Pre-Consent Tracker Auditor FAQ

Which four signals are required for Google Consent Mode v2?

Google Consent Mode v2 requires ad_storage, analytics_storage, ad_user_data, and ad_personalization to be set to 'denied' by default before GTM or gtag.js executes for EEA/UK traffic.

Does Google Consent Mode v2 automatically block Meta Pixel or TikTok Pixel?

No. Non-Google pixels ignore gtag consent calls unless fired through GTM consent triggers, gated with type="text/plain" by your CMP, or explicitly revoked (such as fbq('consent', 'revoke')).

Where should I paste the generated Consent Mode v2 default-denied snippet?

Paste it at the very top of your <head> tag above Google Tag Manager, gtag.js, and your Cookie Consent Management Platform script so default-denied signals execute first.

About Cookie Consent Mode v2 & Pre-Consent Tracker Auditor

Catch EEA and GDPR cookie banner leaks before Google Ads or regulators flag your domain. Verify that gtag('consent', 'default', ...) sets ad_storage, analytics_storage, ad_user_data, and ad_personalization to denied before tags load, check whether non-Google pixels are gated by your CMP, and download a printable audit checklist.

cookie consent mode v2 checkerpre-consent tracker scannergdpr gtag consent default deniedmeta pixel pre-consent auditeea google ads consent v2