Favicon of GoatCounter

GoatCounter

Get meaningful website insights without tracking personal data. This lightweight, open-source platform is simple to use and respects visitor privacy.

Gain essential insights into your website's performance without compromising visitor privacy. This tool offers a straightforward and meaningful alternative to complex platforms like Google Analytics. It is designed to be easy to use, providing clear statistics without overwhelming you with unnecessary options.

The platform is built with a privacy-first approach, meaning it does not track users with unique identifiers or cookies, so you don't need a GDPR consent banner. Other key benefits include:

  • Lightweight Performance: Adds only a tiny ~3.5KB script to your site, ensuring your pages load quickly.
  • Flexible Integration: Use a simple script tag, a JavaScript-free tracking pixel, backend middleware, or even import data directly from server log files.
  • Useful Statistics: Keep track of essential data like referring sites, campaigns, browser information, location, and screen sizes.
  • Open Source & Self-Hostable: The code is 100% open source for complete transparency, and you have the option to host it on your own servers.
  • Full Data Ownership: You can export all of your data at any time.

Directory Structure

goatcounter
app-data
db-data
.env
docker-compose.yml

docker-compose.yml

services:
  db:
    image: postgres:15-alpine
    restart: unless-stopped
    environment:
      POSTGRES_USER: goatcounter
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_DB: goatcounter
    volumes:
      - ./db-data:/var/lib/postgresql/data

  goatcounter:
    image: goatcounter/goatcounter:latest
    restart: unless-stopped
    depends_on:
      - db
    ports:
      - "8080:8080"
    environment:
      GOATCOUNTER_DB: "postgresql://goatcounter:${DB_PASSWORD}@db/goatcounter?sslmode=disable"
      GOATCOUNTER_LISTEN: ":8080"
      GOATCOUNTER_TLS: "http"
    volumes:
      - ./app-data:/data
    command: serve

.env

DB_PASSWORD=your_secure_database_password
Categories:

Share:

Ad
Favicon

 

  
 

Similar to GoatCounter

Favicon

 

  
  
Favicon

 

  
  
Favicon