> Unless I'm missing something, this seems like an incredibly long winded way to check the users IP location?
It's less accurate than that. IP Geocoding can be down to the city level in many cases. This is _maybe_ nearest cloudflare data center