Web Analyticsdocker-ready1-click-deploy
Matomo: the best Open Source alternative to Google Analytics in 2026
Matomo is the most complete open source web analytics tool, with heatmaps, session recordings, funnels and the level of detail of GA4, but with your data 100% under your control.
Technical profile
- License
- GPL-3.0
- Category
- Web Analytics
- Replaces
- Google Analytics
- Tech stack
- PHPMySQL/MariaDB
Preview

Public image provided by Matomo on its own website.
Key features
- Heatmaps and session recording (official plugin)
- Advanced funnels and segments
- 100% of the data, no sampling
Matomo vs. Google Analytics
Pros
- The most complete open source alternative to GA4
Things to consider
- Heavier interface, needs more resources than Plausible or Umami
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:
matomo:
image: matomo:latest
restart: unless-stopped
ports:
- "8080:80"
environment:
- MATOMO_DATABASE_HOST=matomo-db
- MATOMO_DATABASE_USERNAME=matomo
- MATOMO_DATABASE_PASSWORD=matomo
- MATOMO_DATABASE_DBNAME=matomo
volumes:
- matomo_data:/var/www/html
depends_on:
- matomo-db
matomo-db:
image: mariadb:11
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_USER=matomo
- MYSQL_PASSWORD=matomo
- MYSQL_DATABASE=matomo
volumes:
- matomo_db_data:/var/lib/mysql
volumes:
matomo_data:
matomo_db_data: