AMP Pages Now Support Granular Consent
https://blog.amp.devWebsite consent lets users specify how their data can be collected and shared. Such consent comes in two main forms. Global consent allows users to make a single consent decision for a website. For example, they could either agree to allow certain categories of cookies or request that they be blocked. AMP has supported global consent for some time via its <amp-consent> component.
In contrast, granular consent allows users to make a set of consent choices for a website. For example, a user might permit a site to use analytics and to collect performance data, but they might disallow marketing cookies.
Now, <amp-consent> supports both granular and global consent! To learn more, check out the documentation.