> For the complete documentation index, see [llms.txt](https://cmp.docs.sirdata.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cmp.docs.sirdata.net/standards-de-transmission-du-consentement/google-consent-mode/corriger-les-erreurs-dimplementation/signal-default-ad_storage-incorrect.md).

# Signal \`default\` (\`ad\_storage\`) incorrect

#### escription

Le Google Consent Mode est bien actif, mais le signal `default` indique un statut incorrect pour `ad_storage`. Ce paramètre contrôle le comportement des cookies publicitaires avant toute interaction de l’utilisateur. Si sa valeur est différente de `"denied"`, Google peut activer des fonctionnalités de mesure **avant le recueil explicite du consentement**, ce qui **contredit le fonctionnement attendu du Consent Mode**.

#### Causes possibles

1. Si votre CMP **n’est pas intégrée via Google Tag Manager** :
   * Une **commande gtag** de type :

     ```js
     gtag('consent', 'default', {
       ad_storage: 'granted'
     });
     ```

     est présente dans le code, en dur, ou injectée par un autre script.
2. Si votre CMP **est chargée via Google Tag Manager** :
   * Le champ `ad_storage`dans les **paramètres de consentement par défaut** n’est pas défini à `"denied"` ;
   * Un autre tag dans GTM écrase cette valeur via une autre commande `gtag`.

#### Que faire

**Si vous n’utilisez pas Google Tag Manager :**

* **Recherchez** dans votre code toute commande `gtag('consent', 'default', {...})` ;
* Supprimez toute ligne où `ad_storage` est défini à `"granted"` ou à une valeur autre que `"denied"` et laissez la CMP gérer les signaux

**Si vous utilisez Google Tag Manager :**

* Ouvrez la balise CMP (par ex. : **ABconsent (Sirdata CMP)**) ;
* Vérifiez dans la section **"Default Consent Mode Settings"** que le champ `Advertising` est bien défini ainsi :

<figure><img src="/files/hTdzxIVy1M1XIUA2xEHc" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cmp.docs.sirdata.net/standards-de-transmission-du-consentement/google-consent-mode/corriger-les-erreurs-dimplementation/signal-default-ad_storage-incorrect.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
