Is it possible to see the total number of countries from which people have visited your site? Currently, Analytics only shows the top 10 countries.
I understand you can sometimes reverse-engineer the API, but the country-related API endpoint only provides a ranked list of 10. Is there an alternative method to access this information?
Hiya thanks for reaching out what a great question! Long story short (no! :/)
However, I can provide some relevant information about Netlify’s Site Analytics feature:
The Site Analytics documentation mentions that the “Top locations” chart tracks the total number of pageviews served for your site in each location. The table provides a summary of the locations that have had the most pageviews, while the map highlights all locations that have had at least one pageview.
If you need more detailed information about visitor countries, you might want to consider:
Exploring the Log Drains feature if available on your plan, which could provide raw data including all country codes.
Considering alternative analytics solutions that provide more granular country data which in my opinion would be the easiest solution.