News for hackers. Stuff that matters.
Re:Firefox replaces Google Analytics with fake no-op in stri... by cosmie on Friday February 26, 2021 @07:36PM (#26281529)
They already have a counter move, to an extent. One of the deployment models for GA is via Google Tag Manager. One of the deployment models for GTM is this[1] server-side mode deployed to an App Engine container in Google Cloud. The only browser-visible communication happens between your browser and the App Engine instance, and then you send server side calls from that to the downstream systems based on those events (GA, Facebook Conversion API, etc).

It can also be used like the traditional GTM model, where it loads the primary GTM script browser-side, then that loads additional browser-side scripts based on the tags you implement (GA, Facebook, chat systems, map widgets, whatever). But the default GA support built into it avoids loading anything from Google's domains directly by the browser. And it's not even subject to the CNAME cloaking protections[2] that ITP have implemented, since it's not using the "CNAME to third party" technique that's typically common for these sorts of things to get first party access/privileges and is instead actually running on your infrastructure.

[1] https://developers.google.com/tag-manager/serverside

[2] https://webkit.org/blog/11338/cname-cloaking-and-bounce-trac...

Re:Firefox replaces Google Analytics with fake no-op in stri... by smadge on Friday February 26, 2021 @08:15PM (#26281764)
Integrating with Google Analytics on the server-side as opposed to the client-side has always been available. Developers just rarely do it because it is easier to add a JavaScript snippet to the page.
Re:Firefox replaces Google Analytics with fake no-op in stri... by sp332 on Friday February 26, 2021 @08:27PM (#26281828)
It gives much more detailed data like how long a user keeps a page open, and browser fingerprinting data that's not available server-side like querying fonts or viewport size.
Re:Firefox replaces Google Analytics with fake no-op in stri... by bigiain on Friday February 26, 2021 @09:44PM (#26282153)
All of that stuff can still run as 1st party js on your site, then use your own server to proxy it all back to GA if you want to.
Re:Firefox replaces Google Analytics with fake no-op in stri... by bradleykingz on Saturday February 27, 2021 @01:31AM (#26283148)
Yeah. But it's much easier to copy paste a script.
Re:Firefox replaces Google Analytics with fake no-op in stri... by tinus_hn on Saturday February 27, 2021 @06:22AM (#26284122)
How do they provide that? Doesn’t that require you to use a proscribed server stack?
Re:Firefox replaces Google Analytics with fake no-op in stri... by grishka on Saturday February 27, 2021 @04:34AM (#26283723)
Does the server-side integration allow cross-site tracking? I don't see how it possibly could.
Re:Firefox replaces Google Analytics with fake no-op in stri... by npteljes on Sunday February 28, 2021 @05:05AM (#26292160)
Not familiar with the particulars, but server-side GA, has the same theoretical ability as the current Javascript-based GA. The only difference is that the client code is served by the first party, and not the Google servers.
Re:Firefox replaces Google Analytics with fake no-op in stri... by marvinblum on Saturday February 27, 2021 @06:26AM (#26284142)
GA can compare fingerprints from different websites, so that should work.