Load immediately on page load
Vendors that block the tag by default
<amp-analytics type="comscore">
<script type="application/json">{ "vars": { "c2": "1234"}} </script>
</amp-analytics>
...
<amp-consent layout="nodisplay" id="didomi" type="didomi">
<script type="application/json">
{
"clientConfig": {...},
"policy": {
"default": {
"waitFor": {
"didomi": []
},
"timeout": {
"seconds": 0, // Tell AMP to load the tag immediately
"fallbackAction": "reject" // Reject OR dismiss
}
}
}
}
</script>
...
</amp-consent>Vendors
Policy config
Summary
Configuration
When is the tag loaded
Vendors sharing consent but do not block the tag by default (Ex: amp-ad with DoubleClick)
amp-ad with DoubleClick)Vendors
Send RTC call regardless of consent state
Policy config
Summary
Configuration
When is the tag loaded
Other tags/vendors
Summary
Configuration
When is the tag loaded
Last updated