Hot take: most sites on the web don't need analytics. You should open your Google Search Console and look at your search insights. That's it and it's plenty. Everything else is just rubbish anyway. Unless you're running an ecommerce site, then you might want to have a bit more. For most other sites it's really not something that you need to help you make better decisions. If you do need something that's not Google Analytics, then Matomo, (which used to be Piwik), and Fathom Analytics are leading the pack for alternatives.