I self-host Plausible Analytics, an open-source, privacy-respecting, and lightweight website analytics tool. I use Terraform and Azure Kubernetes Service (AKS) to host it. Check my Terraform configuration for Plausible on GitHub if you want to learn how.
Plausible doesn’t collect personal data. It doesn’t require cookies and is fully compliant with the GDPR, CCPA, and PECR.