amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Collecting Google consents with `amp-consent` before TCF V2 adoption

Open tla-sirdata opened this issue 6 years ago • 1 comments

As Google is not participating in the TCF V1, IAB TCF CMPs must collect consents separately from the regular consent string (i.e. another consent string).

Here's an example of how we collect consents for Google : https://cmp.sirdata.com/v1/demo.html And here is an example of the generated consent string : OwhKLyOwhKLyUAAAAA

I haven't found any documentation about how Google handle signals in AMP so we're developing our own solution.

Through the amp-consent response we transmit the regular consent string as well as sharedData for vendors to read consents:

{
	"type": "consent-response",
	"action": "reject",
	"info": "BOwkQoAOwz0bPBcArCFRDCkAAAAuiAQAAEABUADIAIAAWgA1ACTAGEAYgB6AEIAI6AXUAwIBhADRAG0A",
	"sharedData": {
		"vendors": {
			"purposeConsents": {},
			"vendorConsents": {}
		},
		"google": {
			"purposeConsents": {}
		}
	}
}

Google signals can be read by whoever need it but the problem is that data is not persisted by AMP as we can't transmit the related consent string. Consequence is that given consents are lost at next visit.

Is there an existing solution for Google to respect user choices that I've missed ? Otherwise, can you add a way to transmit and store a second consent string ?

As we're not sure about when the TCF V2 will be adopted, we need to find a solution to help publishers meeting GDPR and Google requirements.

Thanks

tla-sirdata avatar Mar 25 '20 09:03 tla-sirdata

@zhouyx can you help me find a solution to this please ?

tla-sirdata avatar Apr 03 '20 15:04 tla-sirdata