Re:Google penalizes you for using Google Analytics
by a13n on Monday May 03, 2021 @12:50PM
(#27027408)
Yes it can. It blocks the request to your first-party domain based on path/query.
[ Parent
| on HN ]
Re:Google penalizes you for using Google Analytics
by throwaway3699 on Monday May 03, 2021 @01:50PM
(#27028296)
... and there are half a dozen ways to get around that too. You could proxy everything through a function that base64 encodes everything. It's an arms race.
Besides, I was talking about my server directly sending data to Google Analytics without JavaScript on the client side. GA has strong adherence to GDPR so there's no legal or privacy issues I can see with that.
Re:Google penalizes you for using Google Analytics
by rendall on Monday May 03, 2021 @08:45PM
(#27032807)
You're not thinking this through. Any request can be proxied. Ublock won't block GET requests for `index.html` or other assets, nor even random POSTs to `/detail` from button clicks and such
Re:Google penalizes you for using Google Analytics
by a13n on Tuesday May 04, 2021 @12:28PM
(#27039384)
Just speaking from first-hand experience.
Re:Google penalizes you for using Google Analytics
by jayd16 on Monday May 03, 2021 @01:55PM
(#27028384)
This isn't detected automatically though, right? Someone would have to reverse engineer your setup and add it to the lists?
Re:Google penalizes you for using Google Analytics
by a13n on Tuesday May 04, 2021 @12:25PM
(#27039366)
uBlock does detect this automatically, without reverse engineering your setup and adding it to their lists.
This assumes you self-host analytics.js and proxy GA API requests through your domain without changing path/query. If you manage to reverse engineer analytics.js and change the path/query AND proxy through your own domain, then this likely wouldn't be detected. But there's a chance that Google will make changes to analytics.js that aren't compatible with your reverse engineering it, and your setup breaks.