Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
eb7dfb5a28
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');