Post #1527732
2026-04-15 01:09 UTC
@prushforth @AmeliaBR on my phone so looking for a good explainer. This is pretty good. https://stackoverflow.com/questions/77379432/why-does-google-analytics-set-a-1st-party-cookie-even-when-its-script-is-sourced
Third-party cookies are worse because they can be sent back to the third-party on multiple sites as a person browses, but first party cookies also present privacy concerns. A lot of third-party services set first-party cookies.
Replies (1)
-
@prushforth@mastodon.social 2026-04-15 01:24
@grigs I see. That's pretty sneaky, I'm a bit surprised it's permitted (even has a platform API - document.cookie) but once it sets a first party cookie, it could not be read by by the script origin that used document.cookie, if I understand correctly (not a given). Maybe that's where inter-origin data sharing comes in, on the server. Anyway, thanks for the link! @AmeliaBR