Self-host Matomo
Web analyticsdeployed & timed by usprices checked · Jul 2026
The full-featured Google Analytics alternative — funnels, heatmaps, goals, e-commerce, and 100% data ownership. Heavier than Plausible, but the closest like-for-like replacement for GA's depth.
Key facts
CategoryWeb analytics
LicenseGPL-3.0
StackPHP, MariaDB
Min RAM2048 MB
Dockeryes
Difficulty
What you need
- Any VPS with at least 2048 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- About an afternoon — budget time for troubleshooting
Install with Docker Compose
Save this as compose.yml and run docker compose up -d:
# Matomo needs a MariaDB/MySQL database alongside it
# use the official compose example, then:
docker compose up -d # → http://SERVER_IP:8080
# finish setup in the browser installer (DB host = db)An alternative to
More in Web analytics
Web analyticsPlausible
ElixirClickHousePostgreSQL
moderateRead guide →
Web analyticsUmami
Next.jsPostgreSQL
easyRead guide →