Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to get the client Country from Cloudflare Pages ? - Cloudflare Developers
CD
Cloudflare Developers
•
2y ago
•
3 replies
Tristan
How to get the client Country from Cloudflare Pages ?
https://developers.cloudflare.com/network/ip-geolocation/
How to get the equivalent inside the Cloudflare Pages context
?
(We
're using Astro for a framework
)
Cloudflare Docs
IP geolocation · Cloudflare Network settings docs
IP geolocation adds the CF
-IPCountry header to all requests to your origin server
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
cloudflare connecting from different country
CD
Cloudflare Developers / pages-help
3y ago
Migrating from Amplify to Cloudflare Pages
CD
Cloudflare Developers / pages-help
2y ago
Switching from Netlify to Cloudflare Pages
CD
Cloudflare Developers / pages-help
3y ago
How do I get cloudflare pages to not install python?
CD
Cloudflare Developers / pages-help
10mo ago