Web Analyticsdocker-ready1-click-deploy
GoatCounter: the best Open Source alternative to Google Analytics in 2026
GoatCounter is extremely lightweight web analytics (a single Go binary) focused on privacy, built for blogs and personal sites that don't need a full GA4.
Technical profile
- License
- EUPL-1.2
- Category
- Web Analytics
- Replaces
- Google Analytics
- Tech stack
- GoSQLite
Key features
- Single binary, no external dependencies
- Simple visits and referrers dashboard
- No cookies or fingerprinting
GoatCounter vs. Google Analytics
Pros
- The lightest deployment in the whole category
Things to consider
- Not built for complex product analytics
Quick Docker installation guide
Copy this docker-compose.yml, adjust the example passwords and run docker compose up -d on your server. See the full step-by-step guide →
docker-compose.yml
version: "3.9"
services:
goatcounter:
image: ghcr.io/arp242/goatcounter:latest
restart: unless-stopped
ports:
- "8080:8080"
command: ["serve", "-listen", ":8080", "-tls", "none"]
volumes:
- goatcounter_data:/home/goatcounter/db
volumes:
goatcounter_data: