You can set up selfhosted instance of Umami Analytics on Railway with one click.

Umami is GDPR friendly, not limited by sites when selfhosted and has a pretty much any feature you may want from analytics.

The free tier on Railway includes 5$ of free usage (which is more than enough for Umami), and pay-as-you-go after that.

Interesting benefit — because your instance of Umami is not hosted on Umami servers it is not cut by adblock.