Severitate: RidicatăResponsabil: Admin CMPTimp de remediere: 1-2 h
Nepotrivire Google Consent Mode
Corectați situațiile în care tag-urile Google se comportă ca și cum ar exista consimțământ, deși starea runtime indică denied.
Acoperă: consent_mode_mismatch, consent_mode_default_granted, consent_mode_runtime_conflict
De ce contează
Dacă Consent Mode semnalează denied dar cererile Analytics sau Ads tot pornesc, site-ul doar creează o aparență falsă de conformitate. De obicei defaults, tag-urile sau actualizările runtime sunt configurate inconsistent.
Cum verificați manual
- Open the site in a fresh session and inspect Google requests before any banner interaction.
- Check whether Consent Mode defaults are set to denied before Google tags initialize.
- Compare runtime consent state against actual network behavior after Accept and Reject.
Cauze tipice
- Consent defaults are set too late, after Google tags already loaded.
- GTM tags ignore consent checks even though Consent Mode is enabled.
- Banner updates UI state but does not send a matching consent update to Google.
Remediere în GTM
- Use Consent Initialization for your default denied state before any analytics or ads tags run.
- Require consent checks on GA4, Google Ads, Floodlight, and remarketing tags.
- Audit custom HTML tags that may load Google scripts outside GTM consent controls.
Remediere în WordPress sau pluginuri CMP
- Enable Consent Mode integration in your CMP plugin if available.
- Verify that plugin-generated consent events fire before GA4 or Ads plugins load.
- Disable duplicate analytics plugins that bypass the CMP integration.
Remediere generică pentru dezvoltatori
- Initialize Google tags only after a denied-by-default consent state is established.
- Send explicit consent updates on accept and reject actions.
- Ensure fallback defaults are denied whenever consent state is unknown.
Cum confirmați că remedierea funcționează
- Reject optional consent and confirm that Google analytics or ads requests do not fire.
- Accept consent and confirm requests start only after the consent update.
- Run a fresh scan and verify the mismatch finding disappears.
Pasul următor
Rulați o nouă scanare după deploy pentru a confirma că s-a schimbat comportamentul real în runtime, nu doar textul bannerului.