> 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-update-tardif.md).

# Signal \`update\` tardif

#### Description

Le signal `update` du Google Consent Mode est envoyé **trop tard**, c’est-à-dire **après le délai maximal défini par les balises Google** (généralement 500 ms). Dans ce cas, les balises peuvent se déclencher sans tenir compte du choix de l’utilisateur, ce qui limite l’efficacité du Consent Mode.

#### Causes possibles

1. Si le Consent Mode est intégré **en dur dans le code** :
   * Le script est chargé avec l’attribut `defer`, ce qui **retarde son exécution** ;
   * Le script est **modifié, mis en cache ou retardé** par un système d’optimisation comme **Rocket Loader** (Cloudflare), un CDN, ou un module de performance.
2. Si le Consent Mode est géré via **Google Tag Manager** :
   * Le paramètre **“Wait for update”** (ou `waitForUpdate`) est défini avec une durée **trop courte**, ce qui fait expirer l’attente avant que le signal `update` ne soit reçu.

#### Que faire

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

* Vérifiez que le script est **chargé sans l’attribut `defer`** ;
* Désactivez ou ajustez tout système tiers (comme Rocket Loader) qui pourrait retarder ou modifier le chargement du script.

**Si vous utilisez Google Tag Manager :**

* Ouvrez la balise concernée (ex. : balise Analytics ou Ads) ;
* Activez l’option **“Attendre le signal de mise à jour”** (Wait for update) ;
* Allongez la durée maximale d’attente, par exemple à **800 ms ou 1000 ms**, dans le champ dédié.

<figure><img src="https://2240931758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-2584506019%2Fuploads%2FcDqlLUcbKeeQAM3cXoOc%2Fimage.png?alt=media&amp;token=d16f9b17-13ac-42d4-ad97-967c2d89b875" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
