Is this [1] relevant here?
Edit: I am asking because I know that there are better alternatives than matomo. But there still needs to be some alternative for 'oldschool' hostings with LAMP stack.
[1]: https://matomo.org/faq/new-to-piwik/how-do-i-use-matomo-anal...
There is one point from the Google announcement that I fully agree with and that is that the future of analytics is cookieless by design (only google won't be a part of this)