Favicon of Plausible

Plausible

Get simple, useful website insights without complexity. Track key metrics, funnels, and SEO performance with a fast, privacy-first, cookie-free analytics tool.

Understand your website's performance without the complexity of traditional analytics. This tool provides clear, actionable insights on a single, easy-to-read dashboard. It's built to be lightweight and fast, with a script that is significantly smaller than Google Analytics, ensuring your website loads quickly for a better user experience.

Privacy is a core principle. The platform does not use cookies and collects no personal data, meaning you don't need an annoying cookie banner and can fully respect your visitors' privacy. All data is processed on EU-owned infrastructure, ensuring compliance with GDPR.

Key features include:

  • Simple, codeless goal tracking for conversions, file downloads, and external link clicks.
  • Conversion funnels to identify where visitors drop off in key user journeys.
  • SEO performance analysis by integrating with Google Search Console to see search queries.
  • Automatic tracking for scroll depth and traffic from AI tools like ChatGPT.
  • Built-in bot filtering to ensure your stats reflect real human activity.

Directory Structure

plausible
db-data
event-data
event-logs
geoip
.env
docker-compose.yml

docker-compose.yml

services:
  plausible_db:
    image: postgres:14-alpine
    restart: always
    volumes:
      - ./db-data:/var/lib/postgresql/data
    environment:
      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
      - POSTGRES_USER=plausible
      - POSTGRES_DB=plausible

  plausible_events_db:
    image: clickhouse/clickhouse-server:24.3.3.102-alpine
    restart: always
    volumes:
      - ./event-data:/var/lib/clickhouse
      - ./event-logs:/var/log/clickhouse-server
    ulimits:
      nofile:
        soft: 262144
        hard: 262144

  plausible:
    image: plausible/analytics:v2.1.4
    restart: always
    command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
    depends_on:
      - plausible_db
      - plausible_events_db
    ports:
      - "8000:8000"
    volumes:
      - ./geoip:/geoip
    environment:
      - BASE_URL=${BASE_URL}
      - SECRET_KEY_BASE=${SECRET_KEY_BASE}
      - TOTP_VAULT_KEY=${TOTP_VAULT_KEY}
      - DATABASE_URL=postgres://plausible:${POSTGRES_PASSWORD}@plausible_db:5432/plausible
      - CLICKHOUSE_DATABASE_URL=http://plausible_events_db:8123/plausible_events_db
      - DISABLE_REGISTRATION=${DISABLE_REGISTRATION}
      - MAXMIND_LICENSE_KEY=${MAXMIND_LICENSE_KEY}
      - MAXMIND_EDITION=${MAXMIND_EDITION}
      - MAIL_EMAIL=${MAIL_EMAIL}
      - SMTP_HOST_ADDR=${SMTP_HOST_ADDR}
      - SMTP_HOST_PORT=${SMTP_HOST_PORT}
      - SMTP_USER_NAME=${SMTP_USER_NAME}
      - SMTP_USER_PWD=${SMTP_USER_PWD}
      - SMTP_HOST_SSL_ENABLED=${SMTP_HOST_SSL_ENABLED}

.env

BASE_URL=https://analytics.example.com
SECRET_KEY_BASE=replace_with_a_random_string_of_at_least_64_characters
TOTP_VAULT_KEY=replace_with_a_random_string_of_at_least_32_characters
POSTGRES_PASSWORD=your_secure_postgres_password
DISABLE_REGISTRATION=invite_only

# MaxMind GeoIP Configuration (Optional but recommended for Geo data)
MAXMIND_LICENSE_KEY=your_maxmind_license_key
MAXMIND_EDITION=GeoLite2-City

# SMTP Configuration (Optional)
MAIL_EMAIL=admin@example.com
SMTP_HOST_ADDR=smtp.example.com
SMTP_HOST_PORT=587
SMTP_USER_NAME=smtp_user
SMTP_USER_PWD=smtp_password
SMTP_HOST_SSL_ENABLED=true
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Plausible

Favicon

 

  
  
Favicon

 

  
  
Favicon