> 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/faq/google/conditionnement-de-google-analytics.md).

# Conditionnement de Google Analytics

Dois-je conditionner Google Analytics ?

Les cookies Google Analytics ne sont pas [exemptés](https://www.cnil.fr/fr/cookies-et-autres-traceurs/regles/cookies-solutions-pour-les-outils-de-mesure-daudience). Un consentement est donc nécessaire.

Si vous avez conditionné l'appel GA ou si vous avez activé le Google Consent Mode (extension Google Analytics dans les paramètres avancés de la CMP), les cookies seront bloqués automatiquement tant que l'utilisateur n'aura pas donné son consentement.

Sachez qu'une fois ce paramétrage effectué, il est normal d'observer une perte de statistiques car l'audience qui n'a pas donné son consentement ne peut pas être trackée.

Si vous souhaitez allier conformité et performances, vous pouvez utiliser le [Sirdata Analytics Helper](https://www.sirdata.com/fr/Analytics-Helper). Il permet à la fois de bloquer les cookies sans consentement mais aussi de maintenir les statistiques à travers une technologie cookieless.

Plus d'informations :

<figure><img src="https://2240931758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUspPnkTFMlMDdGxvAb-2584506019%2Fuploads%2FUnDIUlRLTXLtVvPzVOB9%2Fimage.png?alt=media&amp;token=a179fb65-ccf4-4b67-8ca0-ff39275e0d19" alt=""><figcaption><p><strong>Comparaison des 4 scenarii</strong><br><strong>d'utilisation de Google Analytics</strong></p></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/faq/google/conditionnement-de-google-analytics.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.
