Browse Source

Add __gads cookie in adsense service

Adsense service, when activated, currently pretends to set 0 cookies. This is obviously wrong.
Adsense sets a "__gads" cookie (first party cookie)
After this PR, the Adsense service, when activated, states that it sets 1 cookie.
This PR does not solve the fact that tac does not mention the potential third party cookies that can be set after activation of the adsense service.
jeromew 3 năm trước cách đây
mục cha
commit
eb7dfb5a28
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tarteaucitron.services.js

+ 1 - 1
tarteaucitron.services.js

@@ -1617,7 +1617,7 @@ tarteaucitron.services.adsense = {
     "uri": "https://adssettings.google.com/",
     "needConsent": true,
     "readmoreLink": "https://policies.google.com/technologies/partner-sites",
-    "cookies": [],
+    "cookies": ['__gads'],
     "js": function () {
         "use strict";
         tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js');