I have a personal website (I work in academia) and I want to know how many people visited my website. Secondary, if possible, also for how long, and what pages they navigated to.
However, I don't want to know their location, language, screen size, ISP, etc. Moreover, I don't want Google or anyone else to get all this information from people visiting my website.
Is there any alternative to GA I can use? If possible, something barebone, self-hosted, and privacy oriented.
At the moment I use gohugo, netlify, and github to host my website and I have GA to monitor the traffic.
You can try open source analytics, but can or will be limited in support. Some of them that have considerable user base are -