Geo region test
The card below asks a Cloudflare Worker for the visitor country, read from the real IP address at Cloudflare’s edge. Point the Geo API field on the card at your Worker URL.
How to test both versions
1. Deploy the Worker, then paste its URL into the Geo API field on the card.
2. Load this page normally. The debug block shows the country the Worker returned.
3. Turn on a VPN with a US exit node and reload. The card switches to the US version. Because this reads the IP address rather than the device clock, a VPN is all it takes.
If the debug block reports a failure, it is almost always CORS: the Worker has to allow the exact origin this page is served from, which is a framer.website address on previews and talktomedi.com in production.





