Bot-free self-hosted analytics with GoatCounter on NixOS Vincent Bernat replaced GoAccess with GoatCounter, an open-source, privacy-friendly web analytics platform, on his NixOS-hosted blog after AI scrapers inflated GoAccess's visitor counts to around 2,000 per day. Bernat wrote a custom JavaScript client that requires a user interaction before registering a hit and added a CSS image fallback for readers with JavaScript disabled, which he says covers about 2% of his visitors. He also deployed a local proxy on each of the five web servers serving the blog to improve reliability. Bot-free self-hosted analytics with GoatCounter on NixOS Vincent Bernat 21-minute read Also available in Filed under Attachment: In 2016, I removed Google Analytics https://github.com/vincentbernat/vincent.bernat.ch/commit/4c3be65404031bf6638c1ea3d891a3ea58e0a0fc from this blog to avoid being complicit in feeding the biggest machine for harvesting personal data. Instead, I relied on GoAccess https://goaccess.io/ to analyze my server logs.