# Blocking Behaviors

In AMP, [blocking behaviors](https://amp.dev/documentation/components/amp-consent/#blocking-behaviors) define when an element (ad, analytics, etc.) on the page can be loaded based on the user consent status collected by the CMP.

You have three possible scenarios for implementing blocking behaviors in AMP with a CMP:

* [Load immediately on page load](/cmp/amp/blocking-behaviors/tag-loaded-immediately-on-page-load.md)
* [Load only after consent (positive or negative)](/cmp/amp/blocking-behaviors/tag-loaded-only-after-consent-positive-or-negative.md)
* [Load only after positive consent](/cmp/amp/blocking-behaviors/tag-loaded-only-after-positive-consent.md)

Please read the detailed documentation associated with your scenario(s) as getting blocking behaviors correctly configured is a complicated topic in AMP.

## Common vendors

Main configurations available for the most common vendors:

| Vendor & tag                                                                       | Load immediately                                                                                                                                                  | Load after consent (+/-)                                                                                                        | Load after positive consent                                                                                         |
| ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `comScore` and `amp-analytics`                                                     | [Link](/cmp/amp/blocking-behaviors/tag-loaded-immediately-on-page-load.md#vendors-that-block-the-tag-by-default)                                                  | [Link](/cmp/amp/blocking-behaviors/tag-loaded-only-after-consent-positive-or-negative.md#vendors-that-block-the-tag-by-default) | [Link](/cmp/amp/blocking-behaviors/tag-loaded-only-after-positive-consent.md#vendors-that-block-the-tag-by-default) |
| `DoubleClick` with RTC config on `amp-ad` (Ex: `Amazon APS`, `AppNexus`, `Criteo`) | [Link](/cmp/amp/blocking-behaviors/tag-loaded-immediately-on-page-load.md#vendors-sharing-consent-but-do-not-block-the-tag-by-default-ex-amp-ad-with-doubleclick) | [Link](/cmp/amp/blocking-behaviors/tag-loaded-only-after-consent-positive-or-negative.md#amp-ad-with-a-rtc-config)              | [Link](/cmp/amp/blocking-behaviors/tag-loaded-only-after-positive-consent.md#amp-ad-with-a-rtc-config)              |
| `DoubleClick` without RTC config on `amp-ad`                                       | [Link](/cmp/amp/blocking-behaviors/tag-loaded-immediately-on-page-load.md#vendors-sharing-consent-but-do-not-block-the-tag-by-default-ex-amp-ad-with-doubleclick) | [Link](/cmp/amp/blocking-behaviors/tag-loaded-only-after-consent-positive-or-negative.md#amp-ad-without-a-rtc-config)           | [Link](/cmp/amp/blocking-behaviors/tag-loaded-only-after-positive-consent.md#amp-ad-without-a-rtc-config)           |
| Other tags/vendors                                                                 | [Link](/cmp/amp/blocking-behaviors/tag-loaded-immediately-on-page-load.md#other-tags-vendors)                                                                     | [Link](/cmp/amp/blocking-behaviors/tag-loaded-only-after-consent-positive-or-negative.md#other-tags)                            | [Link](/cmp/amp/blocking-behaviors/tag-loaded-only-after-positive-consent.md#other-tags)                            |


---

# 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://developers.didomi.io/cmp/amp/blocking-behaviors.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.
