News for hackers. Stuff that matters.
Re:Preparing for the end of third-party cookies by hn_throwaway_99 on Saturday November 25, 2023 @09:18PM (#38418624)
> But is there anything that prevents third-party analytics and similar services from creating libraries or services that are deployed under their clients' domain, and then transmit the collected data from client site to third-party service's own database?

No, because to do this unambiguously is simply impossible. It is fundamentally always technically possible for your own site to track user behavior of people on your site (what's to say what's "tracking" versus simply serving site page data), and there is no technical way to prevent a site owner from simply sharing their own tracking data with data aggregators. There are of course some heuristics that tracking blockers could use (e.g. "Even though this script is served from somesite.com, it looks like the Facebook tracking code"), but that just becomes a cat-and-mouse game to obfuscate the script.

That's a big reason I feel this "third party cookie blocking" was just oversold. Adding third party cookies was just technically easy because it just involved adding a simple JS snippet to a page, but serving that snippet from one's own domain is still pretty trivial, and indeed what most of the big ad brokers are moving toward.

Re:Preparing for the end of third-party cookies by amf12 on Saturday November 25, 2023 @10:11PM (#38418831)
> serving that snippet from one's own domain is still pretty trivial, and indeed what most of the big ad brokers are moving toward

But in this case it's not as trivial to link usage across two domains. Sure, each domain can serve the snippet from its own domain, but the analytics snippet can't cross reference data from other sites which use the same script (unless of course the domain builds some data sharing mechanism - not trivial for non tech companies).

In which case why even serve the snippet form your domain when you can use the container mechanism.