amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

[Master Feature] Support IAB Consent Framework using amp-consent

Open jasti opened this issue 8 years ago • 50 comments

At the moment, consent within amp-consent is binary. Either the user can accept consent for all vendors on the page or reject consent for all vendors on the page. This feature provides the ability for a user to accept or reject consent on a per vendor basis. Further, this could also be enhanced to support consent on a per vendor and per purpose basis. for e.g. a user should be able to give consent at a granular level to Vendor A for the purpose of analytics but reject consent to Vendor A for the purpose of ads. Master issue is #15651

AMP will provide the generic framework for any 3rd party CMP to directly integrate with amp-consent to manage consent workflows.

If you are a CMP, please get in touch with us on this issue.

jasti avatar May 29 '18 22:05 jasti

@jasti what's the status of this task? Was there any progress?

Facens avatar May 02 '19 14:05 Facens

The support is already in prod. Please refer to the doc here for integration guidelines. Closing the issue.

zhouyx avatar Jun 26 '19 22:06 zhouyx

This is still in experimental status?

mgriego avatar Jun 26 '19 23:06 mgriego

No it's not. Good point, I'll update the doc. Thank you. #23049

zhouyx avatar Jun 26 '19 23:06 zhouyx

I don't see why this is closed? @zhangsu the document you're referring to simply shows how to delegate the ternary 'google only personalised ads' consent to a publisher's own interface (via the iFrame). It doesn't help implementing AIB's TCF's granularity of Purpose and Vendors choices, nor the page level API compatible vendors would look for.

Am I wrong?

jeteve avatar Jun 27 '19 09:06 jeteve

Hello @jeteve Thank you for your question.

AMP only provides a tool for publisher along with consent management platform and vendors to collect and maintain their user consent. As you mentioned, the support is provided via iframe. AMP helps store and pass consent information from the iframe. But it's up to the publisher or the CMP to provide IAB's granular support within the iframe.

We do have API for vendors to retrieve the stored consent information. However because AMP decides to not enforce any format on the stored consent information. The API we provide couldn't handle more granular information, and that's by design. It's up to the CMP and vendor to agree on a standard, which could be IAB standard or any other format.

The AMP's support works when the CMP decides to collect granular consent information from user. AMP will pass and stored the information to vendor, where they can interpret the info. Does this make sense.

Thanks.

zhouyx avatar Jun 27 '19 18:06 zhouyx

I also don't understand how this FR has been addressed. According to the docs, it's still not possible to enable ads or analytics on a granular basis. Both can only use data-block-on-consent and it's an all or nothing toggle. Collecting granular consent data is only half the requirement and it's not only useful if you can apply the user's decisions to the current page. From interactions with potential AMP developers, a way to set and retrieve key-values with amp-consent and then use them with data-block-on-consent to selectively allow amp-analytics components is the missing part of this FR.

adamread avatar Feb 19 '20 09:02 adamread

+1 we still hear many requests for a better integration here.

martinschierle avatar Feb 19 '20 09:02 martinschierle

@adamread @martinschierle, you're right data-block-on-consent only supports the a global decision. Granular decision is passed via the consent string, and then AMP assumes that it's the 3rd party vendor's responsibility to interpret the consent string and behave accordingly.

Can I ask if you're working with a CMP or you're customizing the page behavior as a publisher. Thank you

zhouyx avatar Feb 20 '20 22:02 zhouyx

Saw #26735, let's move the conversation there. Thank you

zhouyx avatar Feb 20 '20 22:02 zhouyx