Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.48 KB

appconsent.md

File metadata and controls

48 lines (38 loc) · 1.48 KB

AppConsent

CMP used through AppConsent platform in order to handle and enforce user consent.

Example

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

Configuration

Attribute Type Mandatory Description
id String yes AppConsent Notice identifier, provided upon registering

Please contact AppConsent for further details regarding the configuration of this CMP.