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