Comment by tschwimmer
17 hours ago
Does anyone know how he is implementing country detection? I'm certain it's not GeoIP since my current IP address (and physical location) is different than the country it's showing me from.
17 hours ago
Does anyone know how he is implementing country detection? I'm certain it's not GeoIP since my current IP address (and physical location) is different than the country it's showing me from.
IP location, browser's locale, or combination of both: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
GeoIP services can sometimes be wrong, they are essentially just lookup tables for IP subnets. I have a VPS in the Netherlands which most GeoIP providers detect as being in Czechia, for example. I assume whichever one the site is using just has the wrong country listed for your IP.
It's the same for me. I'm in Australia and on my work laptop I'm connected to an American VPN. It's showing my location as USA. I was wondering how it's detecting the country.