# 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](https://developers.didomi.io/cmp/amp/blocking-behaviors/tag-loaded-immediately-on-page-load)
* [Load only after consent (positive or negative)](https://developers.didomi.io/cmp/amp/blocking-behaviors/tag-loaded-only-after-consent-positive-or-negative)
* [Load only after positive consent](https://developers.didomi.io/cmp/amp/blocking-behaviors/tag-loaded-only-after-positive-consent)

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](https://developers.didomi.io/cmp/amp/tag-loaded-immediately-on-page-load#vendors-that-block-the-tag-by-default)                                                  | [Link](https://developers.didomi.io/cmp/amp/tag-loaded-only-after-consent-positive-or-negative#vendors-that-block-the-tag-by-default) | [Link](https://developers.didomi.io/cmp/amp/tag-loaded-only-after-positive-consent#vendors-that-block-the-tag-by-default) |
| `DoubleClick` with RTC config on `amp-ad` (Ex: `Amazon APS`, `AppNexus`, `Criteo`) | [Link](https://developers.didomi.io/cmp/amp/tag-loaded-immediately-on-page-load#vendors-sharing-consent-but-do-not-block-the-tag-by-default-ex-amp-ad-with-doubleclick) | [Link](https://developers.didomi.io/cmp/amp/tag-loaded-only-after-consent-positive-or-negative#amp-ad-with-a-rtc-config)              | [Link](https://developers.didomi.io/cmp/amp/tag-loaded-only-after-positive-consent#amp-ad-with-a-rtc-config)              |
| `DoubleClick` without RTC config on `amp-ad`                                       | [Link](https://developers.didomi.io/cmp/amp/tag-loaded-immediately-on-page-load#vendors-sharing-consent-but-do-not-block-the-tag-by-default-ex-amp-ad-with-doubleclick) | [Link](https://developers.didomi.io/cmp/amp/tag-loaded-only-after-consent-positive-or-negative#amp-ad-without-a-rtc-config)           | [Link](https://developers.didomi.io/cmp/amp/tag-loaded-only-after-positive-consent#amp-ad-without-a-rtc-config)           |
| Other tags/vendors                                                                 | [Link](https://developers.didomi.io/cmp/amp/tag-loaded-immediately-on-page-load#other-tags-vendors)                                                                     | [Link](https://developers.didomi.io/cmp/amp/tag-loaded-only-after-consent-positive-or-negative#other-tags)                            | [Link](https://developers.didomi.io/cmp/amp/tag-loaded-only-after-positive-consent#other-tags)                            |
