Self-Hosted OSS Analytics
Matomo On-Premise
Feature-packed GPL-3.0 self-hosted Google Analytics replacement running on PHP + MariaDB.
Self-Hosted Blueprint
matomo-org/matomo ↗- Min RAM / CPU
- 1 GB · 1 vCPU
- License
- GPL-3.0
- GitHub Stars
- 22k
- Maintenance
- Medium
One-click templates on: coolify dokploy
Quickstart / Docker Compose
docker-compose.yml
services:
matomo:
image: matomo:latest
restart: unless-stopped
ports:
- "8080:80"
volumes:
- matomo_data:/var/www/html
volumes:
matomo_data:Gotchas & Hidden Limits
- PHP + MariaDB reports slow down above ~100k–500k monthly hits unless scheduled `core:archive` CLI cron archiving is configured.
- Heatmaps, session recordings, and advanced funnels require paid annual marketplace plugins even when self-hosting.
Best For: Marketing teams wanting granular GA-style campaign reports under strict self-hosted GDPR control.
Crossover Point: Good fit for GA4 feature parity on classic LAMP/Docker servers, whereas Umami or GoatCounter run at a fraction of the RAM.
Related Comparisons & Alternatives
Alternative To
Spot an outdated limit or pricing change?