A lightweight and privacy-focused analytics solution. Plausible offers a paid cloud solution and self-hosting. My primary analytics technology for my work.
I wrote 2 posts about Plausible Analytics.
Working with a simple and privacy-friendly alternative to Google Analytics in your Next.js app and dodging a few caveats.
Creating a view counter can be difficult to do. You might need to set up a database and an API. If you're using Plausible Analytics, you already got those.