How Can I Create a "Country Am I In" Feature Using Blocs Without Coding?

I’ve been using Blocs to build websites for a while, and it’s been fantastic for someone like me who doesn’t have a background in coding. Recently, I came across a cool tool called “country am I in” that determines a user’s location using their device’s GPS. The tool essentially uses the device’s geolocation feature to identify the user’s current country and display it on the screen.

I’m curious if it’s possible to replicate something similar within Blocs. Specifically, I’m wondering how I might go about creating a feature on a Blocs-built site where a user’s country is detected and displayed automatically based on their GPS location. I know Blocs is designed to make web development accessible without needing to write code, but I’m struggling to figure out how this can be achieved.

Here’s what I’m envisioning: When someone visits the site, they’re prompted to allow location access. Once they grant permission, the site would display the name of the country they’re in, perhaps in a header or as part of a larger welcome message. I imagine this could be useful for creating a more personalized experience for visitors, especially for sites that might offer country-specific content or services.

Has anyone here tried to implement something similar in Blocs? If so, how did you manage it? Are there specific settings, tools, or third-party integrations that Blocs supports which could help achieve this? I’m particularly interested in any step-by-step guidance on how to set up such a feature in a way that stays true to Blocs’ no-code philosophy.

Additionally, are there any potential challenges I should be aware of when trying to use a location-based tool like this within Blocs? For example, are there privacy concerns, or could there be issues with accuracy depending on the device used? I’ve seen some sites that have trouble accurately pinpointing a user’s location, especially when they’re on mobile. It would be great to know if there are ways to ensure the tool is reliable and user-friendly.

Any insights, suggestions, or examples from your own experiences with Blocs and location-based features would be incredibly helpful!

I do not have a direct no-code solution.

The GPS location functions can often be deactivated or prohibited in the operating system settings. In principle, of course, this works.

I have had very good experience with localization via IP.
If the country is enough for you, then you can also get the country via the IP. When it comes to rough data such as country or city, many of them are free to use. There are also a number of free services. If you want to be more precise, which provider, which city, or VPN, it usually gets a bit expensive and you have to compare the services. If you only have a few queries per day, many have free limits.

Look at the examples for the services, usually these are just a few lines of code that return a JSON data block via Javascript. Or also with PHP. It also depends on what you want to do with the data