Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 948 Bytes

File metadata and controls

36 lines (28 loc) · 948 Bytes

Usercentrics

Collect user consent with Usercentrics CMP.

Example

<amp-consent id="consent" layout="nodisplay" type="Usercentrics">
  <script type="application/json">
    {
      "postPromptUI": "postPromptUI",
      "clientConfig": {
        "id": "i3_E5TN2b"
      }
    }
  </script>
  <div id="postPromptUI">
    Post Prompt UI
    <button on="tap:consent.prompt(consent=Usercentrics)">
      Manage
    </button>
  </div>
</amp-consent>

Configuration

Attribute Type Mandatory Description
id String yes Settings id, provided via Admin Interface

In order to retrieve your settings id, please use the Usercentrics Admin Interface.

Support

Please get in contact with Usercentrics if you need further support.