# Google extensions

Sirdata CMP natively embeds compatibility options with most Google tags. By enabling them, you will allow the CMP to attempt to interact with Google scripts to add consent information or block them when necessary. These options will optimize your integrations and will interact with 95% of the tags: some older browsers for example are not compatible. So, if you have any errors in Google reports, they will go down drastically but not go away completely. It is necessary to refer to the "Third Party Scripts" section to condition the Google tags.

Warning: these options will only work well if the CMP is the first script integrated on your page, in the `<header>` . It should not be called via a tag manager.

Warning: the packaging option specific to Ad Manager uses the `googletag.pubads().refresh()`. If you are using it in your scripts, do not enable this option. It is not used in the basic GPT script so if you or your partners have not specifically enabled it, you can use this option.

{% hint style="danger" %}
WARNING: for Google Adsense and Google Ad Manager, please check if the first Google script that is called in the \<head> section of the page is using the cookieless domain <https://pagead2.googlesyndication.com> (or any subdomain from googlesyndication.com). If the domain <https://googleads.g.doubleclick.net> (or any subdomain of doubleclick.net) is used, it is strictly necessary to manage the script and only load it after the user has given consent.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://cmp.docs.sirdata.net/en/faq/google/extensions-google.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
