conv.

All stories
TechQuiet 4d · day 5

Developer filters AI scrapers from blog analytics using GoatCounter

A blogger replaces logging with privacy-friendly analytics to cut false visitor counts from 2,000 to 200 per day.

What to know

  • AI scrapers masquerading as users inflated blog visitor counts 10-fold; GoatCounter with interaction-based filtering reduced false positives from 2,000 to under 200 daily visitors.
  • Bernat implemented a local proxy across five global servers to buffer analytics during downtime, solving reliability without server-side acceptance from GoatCounter maintainers.
  • Privacy-friendly analytics still face ad-blocker blocking; Bernat's workaround of hosting on his own domain raises debate about respecting reader choice vs. tracking necessity.

The dispute Whether evading ad blockers with privacy-friendly analytics respects reader choice or violates it. · positions read across 9 posts and comments

many voices

Analytics are useful and privacy-friendly implementations like GoatCounter are worthwhile.

  • “I like that you have considered the user. I like goatcounter as a project.”

    benoliver999 · Lobsters ↗
some voices

Analytics are unnecessary; running a blog without them is simpler and provides no real loss.

  • “I had a blog for 10 years, with analytics. Now I have a new one that's been running for 12 years without, and I don't miss the numbers.”

    benoliver999 · Lobsters ↗
some voices

Ad-blocker workarounds undermine reader autonomy regardless of analytics privacy claims.

  • “Even if you obfuscate the tracker, the fact that people submit it for inclusion means they don't want it. It will, in other words, get submitted and blocked again.”

    DustyFuzzy · Lobsters ↗

Vincent Bernat Blog author and developer

Developer filters AI scrapers from blog analytics using GoatCounter
privacy,web

How it unfolded 2 developments, newest first · click a bar or a number to jump postscomments

Peak 5 pieces in two hours at Sep 21, 6 AM; 11 pieces over 5 days (2 posts · 9 comments) Sep 20, 6 PM — 1 piece · 1 post — Lobsters 1Sep 20, 8 PM — quietSep 20, 10 PM — quietSep 21, 12 AM — 2 pieces · 1 post · 1 comment — Hacker News 1, Lobsters 1Sep 21, 2 AM — 1 piece · 1 comment — Lobsters 1Sep 21, 4 AM — 1 piece · 1 comment — Lobsters 1Sep 21, 6 AM — 5 pieces · 5 comments — Lobsters 5Sep 21, 8 AM — quietSep 21, 10 AM — quietSep 21, 12 PM — quietSep 21, 2 PM — quietSep 21, 4 PM — quietSep 21, 6 PM — quietSep 21, 8 PM — quietSep 21, 10 PM — 1 piece · 1 comment — Lobsters 1Sep 22, 12 AM — quietSep 22, 2 AM — quietSep 22, 4 AM — quietSep 22, 6 AM — quietSep 22, 8 AM — quietSep 22, 10 AM — quietSep 22, 12 PM — quietSep 22, 2 PM — quietSep 22, 4 PM — quietSep 22, 6 PM — quietSep 22, 8 PM — quietSep 22, 10 PM — quietSep 23, 12 AM — quietSep 23, 2 AM — quietSep 23, 4 AM — quietSep 23, 6 AM — quietSep 23, 8 AM — quietSep 23, 10 AM — quietSep 23, 12 PM — quietSep 23, 2 PM — quietSep 23, 4 PM — quietSep 23, 6 PM — quietSep 23, 8 PM — quietSep 23, 10 PM — quietYesterday, 12 AM — quietYesterday, 2 AM — quietYesterday, 4 AM — quietYesterday, 6 AM — quietYesterday, 8 AM — quietYesterday, 10 AM — quietYesterday, 12 PM — quietYesterday, 2 PM — quietYesterday, 4 PM — quietYesterday, 6 PM — quietYesterday, 8 PM — quietYesterday, 10 PM — quietToday, 12 AM — quietToday, 2 AM — quietToday, 4 AM — quietToday, 6 AM — quietToday, 8 AM — quietToday, 10 AM — quietToday, 12 PM — quiet 1–2
Sep 21Sep 22Sep 23yesterdaynow · 2:12 PM ET
  1. 2

    Community questions value of analytics and discusses alternatives

    Lobsters commenters debated whether analytics are necessary at all, with one noting a 12-year blog without analytics, while others discussed NixOS module details and systemd isolation approaches.

    “I had a blog for 10 years, with analytics. Now I have a new one that's been running for 12 years without, and I don't miss the numbers.”
    — benoliver999
    • Flooded by AI scrapers masquerading as regular users.

      vbernatprivacy,web4d ago7▲view on Lobsters ↗
    2 more of the top 3 · 8 posts in this stretch
    • I like that you have considered the user. I like goatcounter as a project. I would ask, have you considered no analytics at all? I had a blog for 10 years, with analytics. Now I have a new one that's been running for 12 years without, and I don't miss the numbers.

      benoliver999privacy,web4d ago4▲view on Lobsters ↗
    • I didn't have analytics for quite some time after Google Analytics, but when I focused a bit more on writing a couple years after, I tried to get it back with server logs. I was OK with the information I got from that, it's just that today, it does not work anymore.

      vbernatprivacy,web4d ago2▲view on Lobsters ↗
    all of them →
  2. 1

    Bernat addresses ad-blocker circumvention and privacy tradeoffs

    In a Lobsters comment, the author acknowledged that exposing the analytics endpoint on his domain to evade ad blockers may not respect reader choice, but argued GoatCounter's privacy-friendly approach justifies it.

    “I expose the endpoint for the proxy on the domain of this website to evade ad blockers. This sounds like I don't respect the reader's choice, but as GoatCounter is privacy-friendly, I find it acceptable.”
    — Vincent Bernat
    • > I expose the endpoint for the proxy on the domain of this website to evade ad blockers. This sounds like I don’t respect the reader’s choice, but as GoatCounter is privacy-friendly, I find it acceptable. Author here. I am using UBO, but as a user, I don't really care about this kind of privacy-friendly analytics. GoatCounter hosted version is…

      vbernatprivacy,web4d ago2▲view on Lobsters ↗
  3. background

    Bernat documents GoatCounter deployment with bot-filtering strategy — Bernat published detailed blog post explaining his migration to GoatCounter with custom JavaScript replacement, interaction-based bot filtering (requiring user clicks), and a local proxy system across five servers to handle downtime.

  4. background

    AI scrapers degrade server log accuracy — Despite filtering attempts, AI scrapers masquerading as regular users inflated daily visitor counts to around 2,000, making server log analysis unreliable.

  5. background

    Blogger removes Google Analytics from site — Vincent Bernat removed Google Analytics to avoid contributing to data harvesting and switched to analyzing server logs.

What people are saying 5 voices from 1 site · best of 9 · verbatim