About GoatCounter
GoatCounter counts pageviews and unique visits without cookies, using a non-identifiable hash instead of tracking IDs. Its dashboard covers pages, referrers, browsers, systems, screen sizes and locations, and data leaves through CSV exports or the API. It is licensed under EUPL-1.2.
Self-hosted, the visit data never leaves your server, which keeps privacy notices short. One Go binary with SQLite fits on the smallest plan, and its README recommends PostgreSQL for larger sites.
After deploy, GoatCounter answers on port 8080, where a setup wizard can create the first site.
What you get with GoatCounter
- Cookie-free counting with no personal identifiers
- Pages, referrers, browsers, screen sizes and locations
- A tracking script of about 3.5 KB
- CSV export and an API
- Built-in ACME for automatic TLS
GoatCounter use cases
- Analytics for sites that want a short privacy notice
- Personal blogs and project pages
- Several client sites, each on its own vhost
After you deploy GoatCounter
- When the server is Running, open
http://<server IP>:8080for the setup wizard, or create a site over SSH withgoatcounter db create site -vhost=stats.example.com -user.email=you@example.com. - Point the vhost's DNS at the server; for TLS without a proxy, serve with
-listen=:443 -tls=tls,rdr,acme, which also listens on port 80 to redirect visitors. - Paste the
count.jsscript tag shown in the site settings into your pages. - Move to PostgreSQL with the
-dbflag before traffic grows large.
GoatCounter ports
Open these in your firewall if you use one: 8080/tcp GoatCounter, 443/tcp HTTPS (built-in ACME), 80/tcp HTTP redirect.
GoatCounter FAQ
Does GoatCounter track individual visitors?
No. It identifies unique visits with a non-identifiable hash and sets no cookies or persistent user IDs, so it does not build profiles of people.
Can one GoatCounter server handle several sites?
Yes. Create one site per vhost with goatcounter db create site, point each domain at the server, and every site gets its own dashboard and tracking code.
Disclaimer. The GoatCounter project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.