# Web & Mobile web

**1) Add the installation tag on your page, before the \</head> tag**&#x20;

```
<script data-cfasync="false" src="https://cache.consentframework.com/js/pa/PARTNER_ID/c/CONFIG_ID/stub" referrerpolicy="unsafe-url" charset="utf-8" type="text/javascript"></script>
<script data-cfasync="false" src="https://choices.consentframework.com/js/pa/PARTNER_ID/c/CONFIG_ID/cmp" referrerpolicy="unsafe-url" charset="utf-8" type="text/javascript" async></script>
```

{% hint style="warning" %}
Don't forget to replace *PARTNER\_ID* et *CONFIG\_ID with your credentials. Please find them in* [*your account*](https://cmp.sirdata.io)*.*
{% endhint %}

{% hint style="warning" %}
Attention : Do not change the synchronous logic of the first script (no async or defer attribute on the script), otherwise vital signals such as the TCF queue or default signals from Google Consent Mode will be ineffective, and cookies as well as personal data processing might occur without consent.
{% endhint %}

{% hint style="info" %}
If you wish to work entirely with asynchronous logic, you can do so using our dedicated [GTM ](https://cmp.docs.sirdata.net/v/en/install/via-a-tag-manager/loading-via-google-tag-manager)template.
{% endhint %}

**2) Add the following text in your privacy policy, with the link allowing users to re-surface the CMP so they can revisit/modify their choices** :

```
[Company Name] obtains your consent in accordance with the policies and technical specifications of the IAB Europe Transparency & Consent Framework. It uses the Consent Management Platform n°92.

You can change your choices at any time by <a href='javascript:Sddan.cmp.displayUI()'>clicking here</a>.
```


---

# 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/install/web-and-mobile-web.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.
