# Share end-user consent with sub-domains

When the Didomi web SDK is installed on a domain (e.g. `domain.com`), an end-user's consent (stored in a cookie) is automatically shared with that domain's sub-domains (e.g. `auto.domain.com`, `shop.domain.com`).&#x20;

{% hint style="info" %}
[Click here](/consent-management-platform-cmp/introduction/share-end-user-consent-across-multiple-domains.md) for more information if your organization needs to share end-user consent across different domains (e.g. `otherdomain.com`).
{% 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://docs.didomi.io/consent-management-platform-cmp/introduction/share-end-user-consent-with-sub-domains.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.
