Matomo (formerly Piwik) is the #1 open-source web analytics platform, used on over 1.4 million websites in over 190 countries. Matomo values privacy protection, 100% data ownership and no data sampling.
It has two different hosting options – cloud and on-premise. Cloud takes the hassle out of installation, whereas on-premise is the free, open-source and self-hosted PHP/MySQL software you can install on your own server, which gives you max. flexibility.