Preserving user privacy with granular consent in AMP

Preserving user privacy is of vital importance to AMP. Thus, we strive to create tools to help site owners do the same. Today, we’re pleased to announce that AMP pages now support granular consent! Website consent lets users specify how their data can be collected and shared. Such consent comes in two main forms. Global […] Read more


This content originally appeared on The AMP Blog and was authored by The AMP Project

Preserving user privacy is of vital importance to AMP. Thus, we strive to create tools to help site owners do the same. Today, we’re pleased to announce that AMP pages now support granular consent!

Website 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 implement granular consent, you define a set of consent purposes – for example, performance cookies, marketing cookies, and analytics. You create an interface that allows users to accept or reject each of these. You can then label any AMP component to be blocked unless the user has granted consent for the purposes you specify.

<amp-consent> allows you to create your own solution. It also allows you to implement consent via a consent management provider (CMP).

You can try this out today! To learn more, check out the documentation. Or you may want to start with this example – or simply to watch the video below.

If you have feedback or feature requests, please let us know.

Posted by Ben Morss, Developer Advocate, the AMP Project


This content originally appeared on The AMP Blog and was authored by The AMP Project


Print Share Comment Cite Upload Translate
APA
The AMP Project | Sciencx (2022-10-02T14:19:09+00:00) » Preserving user privacy with granular consent in AMP. Retrieved from https://www.scien.cx/2021/04/29/preserving-user-privacy-with-granular-consent-in-amp/.
MLA
" » Preserving user privacy with granular consent in AMP." The AMP Project | Sciencx - Thursday April 29, 2021, https://www.scien.cx/2021/04/29/preserving-user-privacy-with-granular-consent-in-amp/
HARVARD
The AMP Project | Sciencx Thursday April 29, 2021 » Preserving user privacy with granular consent in AMP., viewed 2022-10-02T14:19:09+00:00,<https://www.scien.cx/2021/04/29/preserving-user-privacy-with-granular-consent-in-amp/>
VANCOUVER
The AMP Project | Sciencx - » Preserving user privacy with granular consent in AMP. [Internet]. [Accessed 2022-10-02T14:19:09+00:00]. Available from: https://www.scien.cx/2021/04/29/preserving-user-privacy-with-granular-consent-in-amp/
CHICAGO
" » Preserving user privacy with granular consent in AMP." The AMP Project | Sciencx - Accessed 2022-10-02T14:19:09+00:00. https://www.scien.cx/2021/04/29/preserving-user-privacy-with-granular-consent-in-amp/
IEEE
" » Preserving user privacy with granular consent in AMP." The AMP Project | Sciencx [Online]. Available: https://www.scien.cx/2021/04/29/preserving-user-privacy-with-granular-consent-in-amp/. [Accessed: 2022-10-02T14:19:09+00:00]
rf:citation
» Preserving user privacy with granular consent in AMP | The AMP Project | Sciencx | https://www.scien.cx/2021/04/29/preserving-user-privacy-with-granular-consent-in-amp/ | 2022-10-02T14:19:09+00:00
https://github.com/addpipe/simple-recorderjs-demo