News for hackers. Stuff that matters.
Re:An alternative to using Google Analytics on your website by jefftk on Wednesday April 08, 2020 @12:44PM (#22814586)
In general, you should be very careful about what third parties you allow on your page because you're delegating to them the ability to do anything that can be done from JS. I trust Google to take this seriously and not open me up to XSS, but I would be much more skeptical about Scroogle Analoytics.

(Disclosure: I work for Google, and have run Google Analytics on my site since before I joined)

Re:An alternative to using Google Analytics on your website by Carpetsmoker on Thursday April 09, 2020 @12:07AM (#22819679)
As someone who runs one of those 3rd-party analytics: the JS you add to your site is small, readable, and can be downloaded and included from your own CDN. Hell, you don't even need the script, you can just write your own (not very hard actually). I took a look at Plausible a while ago, and I think the same applies here as well.

With GA, I can do none of that; it's just a massive unreadable blob I can only load from the GA servers. I just have to trust Google doesn't do anything I don't want (including XSS, but also other issues). It's not even easy to figure out what information exactly it collects last time. It's very untransparent and un-auditable and the website equivalent of loading binary kernel blobs.

Re:An alternative to using Google Analytics on your website by wolco on Wednesday April 08, 2020 @03:40PM (#22816257)
The concern over xss is important. But the data you send to google opens your users up to a different type of risk.