# Google Add-ons

Sirdata CMP natively embeds compatibility options with most Google tags.

By activating them, you 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 interact with 95% of tags: some older browsers, for example, are not compatible. Thus, if you have errors in Google reports, they will decrease drastically but will not disappear completely.

{% hint style="info" %}
Warning: these options will only work correctly if the CMP is the first script integrated into your page, within the `<head/>`.

The "Google Consent Mode" add-on must be deactivated if you have deployed the Sirdata CMP | Google Consent Mode tag in your GTM.
{% endhint %}

The specific conditioning option for Ad Manager uses the `googletag.pubads().refresh()` function.

If you use it in your scripts, do not activate this option. It is not used in the basic GPT script, so if you or your partners have not specifically activated it, you can use this option.

{% hint style="danger" %}
WARNING: for Google AdSense and Google Ad Manager, check if the first Google script called in the `<head>` section of the page uses the cookie-less domain [https://pagead2.googlesyndication.com ](https://pagead2.googlesyndication.com)(or any subdomain of `googlesyndication.com`).

If the domain <https://googleads.g.doubleclick.net> (or any subdomain of `doubleclick.net`) is used, it is strictly necessary to condition the script and only load it after user 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/google-add-ons.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.
