Skip to content

Commit 36d0e0b

Browse files
committed
Set SameSite attribute for gtag
Cookie “_ga” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
1 parent 914c5bb commit 36d0e0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

book.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
},
1111
"ga4": {
1212
"tag": "G-T5QD1R7FZW",
13-
"anonymize_ip": true
13+
"anonymize_ip": true,
14+
"cookie_domain": "serde.rs"
1415
},
1516
"bulk-redirect": {
1617
"redirectsFile": "redirects.json"

0 commit comments

Comments
 (0)