浏览代码

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 年之前
父节点
当前提交
eb7dfb5a28
共有 1 个文件被更改,包括 1 次插入1 次删除
  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');