GoatCounter
Simple, privacy-friendly web analytics without tracking or cookies.
Why consider GoatCounter?
GoatCounter is an open-source web analytics platform written in Go. It delivers meaningful pageview and referral statistics without tracking users or requiring GDPR consent banners.
Learn GoatCounter by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide3 sections
Overview of GoatCounter
GoatCounter is a lightweight analytics tool that can be self-hosted with a single compiled binary and an SQLite or PostgreSQL database. It tracks page visits, referrers, screen sizes, and browser versions without persistent cookies or personal data collection.
Running GoatCounter
# Create database and usergoatcounter db create site:http://localhost:8080 user@example.com# Start servergoatcounter serve -listen :8080 -tls noneAdding the Tracking Code
<script data-goatcounter="http://localhost:8080/count" async src="//gc.zgo.at/count.js"></script>GoatCounter is licensed under the European Union Public License Version 1.2 (EUPL-1.2).
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.