From eb7dfb5a28a27a61c96a06ac96b5f578dde2f20f Mon Sep 17 00:00:00 2001 From: jeromew Date: Thu, 21 Oct 2021 11:44:27 +0200 Subject: [PATCH] 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. --- tarteaucitron.services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index e48ba04..950f55d 100644 --- a/tarteaucitron.services.js +++ b/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');