I've created a static website that's hosted on Render and it has many pages. I want to track which pages get the most visits, ideally creating a top 10 list. However, I want to avoid adding tracking scripts on every page or going through any complicated setups. I've already spent too much time trying to figure this out with some AI tools but haven't found a solution. Is it possible to track visits simply and efficiently?
5 Answers
Fathom Analytics offers a free tier and could be a good fit for you. It's designed to be really easy to use without heavy setups.
Since you're hosted on Render, you can analyze their Log Streams or use a tool like GoAccess to review your access logs. This way, you don’t need tracking scripts since the server logs every page request. I had a similar issue with my app, and going server-side was a cleaner solution.
If you use Cloudflare Pages to host your site, you can access their free analytics feature without needing to add any scripts to your pages.
You might consider using a tracking script like Google Analytics. But if you want to avoid cookies, check out Umami. Some hosting providers give access logs, but be cautious since they might not always be reliable.
A classic method to track visits is using a 1x1 pixel image as a tracking method. Just set the image's source to URLs that register hits on your server. Capture the requests on your server to list your page visits.

Related Questions
How to Build a Custom GPT Journalist That Posts Directly to WordPress
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads