> 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/prealable-obligatoire.md).

# Préalable Obligatoire

Pour activer une version de la CMP Sirdata compatible avec le Google Consent Mode, voici les prérequis à mettre en place :

## 1) Activation du partenaire "Google Advertising Products"

Assurez-vous que le partenaire Google Advertising Products (ID : 755) est bien activé dans votre liste de partenaire :

<figure><img src="/files/4ImAlkjsP7d7AXQ1qtgT" alt=""><figcaption><p>Partenaire "Google Advertising Products" (ID : 755)</p></figcaption></figure>

## 2) Activation du partenaire "Google Analytics"

Assurez-vous que le partenaire Google Analytics (ID : 8) est bien activé dans votre liste de partenaire :

<figure><img src="/files/uD6Cgk0UwmqMJN3OyCTJ" alt=""><figcaption><p>Partenaire "Google Analytics" (ID : 8)</p></figcaption></figure>

## 3) Activation du Google Consent Mode

### a) Vous n'avez pas désactivé l'option du Google Consent Mode (Implémentation de la CMP en dur ou via un CMS)

L'option du Google Consent Mode est activée par défaut avec la CMP Sirdata :

<figure><img src="/files/2obZzbUZrf5g9R0WZU0D" alt=""><figcaption><p>Option "Google Consent Mode"</p></figcaption></figure>

Cette option permet d'activer le Google Consent Mode via la CMP Sirdata lorsque l'implémentation de la CMP Sirdata est en dur ou via un CMS.

### b) Vous avez désactivé l'option du Google Consent Mode (Implémentation de la CMP via Google Tag Manager)

Si vous souhaitez implémenter la CMP Sirdata via GTM, il faut désactiver cette option et utiliser le template "Sirdata CMP | Google Consent Mode" disponible dans la Galerie de Google Tag Manager :

<figure><img src="/files/wAu3geU4Dn8IYR7d0hNH" alt=""><figcaption><p>Modèle de balise "Sirdata CMP | Google Consent Mode"</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 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/prealable-obligatoire.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.
