I\ve used Matomo too and found it to be quite useful, especially if you want to keep data in house for GDPR type reasons. It is limited in what it can do in comparison to GA though.We use Matomo self hosted, has a decent API we use for pulling out top level data for clients, also has an event tracker which we use for CTA click tracking.