Incorrect `default` signal (`analytics_storage`)
Mis à jour
Ce contenu vous a-t-il été utile ?
Google Consent Mode is active, but the default signal sets an incorrect value for analytics_storage. This parameter controls whether analytics-related cookies are enabled before the user gives consent. If the value is anything other than "denied", Google may begin tracking before consent is obtained, which defeats the purpose of Consent Mode.
If your CMP is not integrated via Google Tag Manager:
A hardcoded gtag command like:
gtag('consent', 'default', {
analytics_storage: 'granted'
});is present somewhere in your code or injected by another script.
If your CMP is integrated via Google Tag Manager:
The analytics_storage field in the Default Consent Mode Settings is not set to "denied" ;
Another tag in GTM may override the value with a different gtag call.
If you are not using Google Tag Manager:
Search your codebase for any gtag('consent', 'default', {...}) command;
Remove or modify any line that sets analytics_storage to "granted" or another incorrect value.
If you are using Google Tag Manager:
Open your CMP tag (e.g., ABconsent – Sirdata CMP) ;
In the "Default Consent Mode Settings" section, make sure Analytics is set this way:

Mis à jour
Ce contenu vous a-t-il été utile ?
Ce contenu vous a-t-il été utile ?
