amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

<amp-consent> still adding cookie after blocked

Open ghanley opened this issue 8 years ago • 9 comments

Publisher implemented geo-blocking of AMI sites using / tags combo. They tried it on Muscle and Fitness, but unfortunately they came across an instance when AMP page continues to send a request that sometimes results in the cookie to be added to the user’s machine. Below are more details on what was uncovered. -----

Even if the "data-block-on-consent" attribute is present and the user has declined to give a consent, tag was making remote requests to https://adservice.google.com/adsid/integrator.json?domain=www.muscleandfitness.com

That means if the same user has visited any site in the past that would set a cookie for the adservice.google.com or *.google.comdomain, the cookie will be sent along with thehttps://adservice.google.com/adsid/integrator.json?domain=www.muscleandfitness.com request from tag which could mean a non-compliance with GDPR.

Publisher is concerned that tag keeps sending that remote request when the user has declined to give consent. Do you have any recommendations for them on how to prevent any requests being sent from the AMP page if no user consent was given?

ghanley avatar Aug 15 '18 23:08 ghanley

/cc @rudygalfi @zhouyx

aghassemi avatar Aug 16 '18 18:08 aghassemi

@ghanley Thank you for the filing the issue One question I have is could you let me know what AMP component the data-block-on-consent is applied to. I suppose it's the <amp-ad> if so, could you please also let me know the type of the ad? Thanks

zhouyx avatar Aug 16 '18 18:08 zhouyx

cc @jasti

zhouyx avatar Aug 16 '18 18:08 zhouyx

@ghanley could you please link to a test page? I believe this is amp-ad type = adsense. @keithwrightbos could you take a look please?

jasti avatar Aug 16 '18 20:08 jasti

FYI: according to adsense the ad request will still be sent out on reject, but a npa will be served. adsense treat dismiss to not send an ad request.

zhouyx avatar Aug 16 '18 21:08 zhouyx

This is a Google Ad Manager publisher. I will look into @zhouyx question

ghanley avatar Aug 16 '18 21:08 ghanley

These are the steps to reproduce the issue:

  1. Visit the URL from a EU IP
  2. Open Network panel in Chrome. Filter by "integrator".
  3. Visit https://dev.radaronline.com/gdpr-blank.html (user/pass: ami_dev/ami_dev)
  4. Check request headers for https://adservice.google.com/adsid/integrator.json?domain=dev.radaronline.com request.

ghanley avatar Aug 24 '18 21:08 ghanley

Any updates on this?

ghanley avatar Aug 29 '18 16:08 ghanley

See #17967 which delays the request in question depending on consent state. Note that the request in call only reads cookies.

keithwrightbos avatar Sep 11 '18 12:09 keithwrightbos