I read this great article which explains how Cloudflare makes it easy to get the country code:
https://support.cloudflare.com/hc/en-us/articles/200168236-What-does-Cloudflare-IP-Geolocation-do-
The article doesn’t explains the internals of how it works behind the scenes though. I would like to know about how it determines the geolocation of a user & how accurate & reliable it is.
i.e Is there a chance that for a user visiting my website through India can have cf-ipcountry of something other than ‘IN’ ?
Thank you