> 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/en/advanced-features/passive-mode.md).

# Passive mode

If you don't want the CMP to automatically surface the UI on some pages of your site, you can enable the passive mode on a per-page basis by adding the script below between the 2 parts of your tag:

{% tabs %}
{% tab title="Command" %}

```javascript
<script>window.Sddan = {"cmp": {"options": {"passive": true}}};</script>
```

{% endtab %}

{% tab title="Example" %}

```javascript
<script type="text/javascript" src="https://cache.consentframework.com/js/pa/12345/c/abCdE/stub" charset="utf-8"></script>
<script>window.Sddan = {"cmp": {"options": {"passive": true}}};</script>
<script type="text/javascript" src="https://choices.consentframework.com/js/pa/12345/c/abCdE/cmp" charset="utf-8" async></script>

```

{% endtab %}
{% endtabs %}

By enabling the passive mode, the UI will only be surfaced on manual action from the user, either by clicking on the "Cookies settings" button (if enabled) or by clicking on the link added to your site.

{% hint style="danger" %}
This does not pause the operation of the CMP, API commands remain available and consent signals are sent in the same way.
{% endhint %}


---

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

```
GET https://cmp.docs.sirdata.net/en/advanced-features/passive-mode.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.
