One of the most popular web analysis tools, trusted on over 1 million websites in over 190 countries.
Easy to use, you can check their online demo at demo.matomo.cloud.
The code is hosted on github and you can easily get it. Just prepare the PHP and MySQL environment, download and run matomo, and then put the code on your web page.
You can also deploy quickly using docker directly.
docker pull matomo