Search code examples
amp-html

AMP - Consent categories


I have a lot of demands from client who would like to use amp and the consent form. But all of them would like to keep the behaviour we offer on our web product which is being able to consent to only part of the data usage.

For example allowing to collect data for analytics purpose but not for personalised ads. Or sometimes even going down to the vendor level in each categories.

From the tests I've done until now, I can display details, but I understood that we can only have 1 Consent instance and that you can only accept/refuse/dismiss it. Thus I can't have granularity this way.

My main job is not web dev, so I might have missed something obvious somewhere :) Is there a way to allow a user to consent to only part of the data collection ? Also keeping in mind that we have to be able to have access to what was authorised so we can use it in our custom amp-analytics component.

Thanks a lot.


Solution

  • This is currently not supported by amp-consent. The AMP team is working on expanding the functionality to include a per-purpose, per-vendor collection of consent in support of the IAB’s Transparency and Consent Framework. If you are interested in this work, please join the discussion on this Github issue (or subscribe to notified once it's implemented).