extensions/amp-consent/cmps/quantcast.md
<amp-consent id="quantcast" layout="nodisplay" type="quantcast">
<script type="application/json">
{
"postPromptUI": "quantcast-post-prompt",
"clientConfig": {
"coreConfig": {
"googleEnabled": true
}
}
}
</script>
<div id="quantcast-post-prompt">
<button on="tap:consent.prompt(consent=quantcast)">Privacy settings</button>
</div>
</amp-consent>
postPromptUIThe value of postPromptUI should be the id of the html tag in which the consent ui will be attached to. In our example above, the value of postPromptUI is quantcast-post-prompt since we have a div with that id.
Visit the Privacy Portal to get a tag with your latest configuration.
For more information on how to integrate AMP to your page please visit our help portal or contact your account manager directly.