Comment on Why do websites now prefer IP-based geolocation rather than the `Accept-Language` HTTP header?
scottmeme@sh.itjust.works 6 days ago
Accept-Language
is usually used for localizations. The 2 main ways that are used to gather location information are the location permissions and IP’s.
The reason IPs are used primarily is they don’t need user consent since it’s being sent to the server. It allows an easy way to determine a close enough location for search results since it can get down to a metroplex or city.
undefined@lemmy.hogru.ch 6 days ago
Is user consent needed for the
Accept-Language
header? That would be kind of insane. I realize that it could be considered identifiable but that still feels strange to me.I’m thinking mostly of localization, primarily language.
scottmeme@sh.itjust.works 6 days ago
Localizations are used to convert between different languages. Just having a country code inside a header doesn’t give enough context where you are. For example states/provinces and their respective cities. Most of that is easily collected from the GeoIP information to give you local results for your area.