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.
This commit is contained in:
jeromew 2021-10-21 11:44:27 +02:00 committed by GitHub
parent 88fd72b983
commit eb7dfb5a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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