News for hackers. Stuff that matters.
Re:80% of my traffic is excluded from Google Analytics by dustinmoris on Saturday July 10, 2021 @03:28AM (#27791774)
I think increasingly more browsers (except Chrome and Edge) come with strong privacy centred defaults nowadays so it doesn’t require a tech savvy person to stay private or anonymous.

I wish Google Analytics had an option to run a small proxy in a Docker container so I could run it on my server and collect all traffic without being blocked.

Re:80% of my traffic is excluded from Google Analytics by Matheus28 on Saturday July 10, 2021 @03:35AM (#27791812)
You can exfiltrate the data via an http request or websocket and have your server submit the pageview hit directly to GA's servers. For me, this makes GA unique visitors numbers about 89% of Cloudflare's.

For this specific application, it's a game (digdig.io), so these 11% might likely be browsers that didn't fully connect to the game, or bots that don't fully support the apis I'm using.

Re:80% of my traffic is excluded from Google Analytics by dkshdkjshdk on Saturday July 10, 2021 @04:46AM (#27792072)
> For this specific application, it's a game (digdig.io), so these 11% might likely be browsers that didn't fully connect to the game, or bots that don't fully support the apis I'm using.

...or people that simply refuse to correctly resolve google analytics' domains, or people who simply block google analytics' IP addresses at the firewall level...

And you know why people do that? Probably because there are developers out there that think it is a good idea to "exfiltrate the data via an http request or websocket and have your server submit the pageview hit directly to GA's servers".

Re:80% of my traffic is excluded from Google Analytics by Matheus28 on Saturday July 10, 2021 @02:34PM (#27795436)
I don't think you read properly. Simply blocking GA domains won't do anything. Open the website, there isn't a single request to GA. The data is collected when the game starts and sent to the game server which sends it to GA. The 11% is not caused by client side blocking.

Also, I don't care if you don't want some VERY basic info about your browser collected. If you're connecting to my servers, you already gave it to me through the headers, I'm giving it to GA too.

Re:80% of my traffic is excluded from Google Analytics by rognjen on Saturday July 10, 2021 @05:09AM (#27792162)
I think it's about developing better log analysis tools. GoAccess does a pretty good job but it's missing a couple of features that would make me entirely stop using GA. Namely: stats over time, and better source grouping.

Even events can be replaced by triggering calls to your own endpoints.