Open gspr opened 3 years ago
I think the database provider has this flag so online stores can use it for VAT calculations or something. It is not something that echoip has control over.
The "country_eu": false
you have seen for Norway is derived from the is_in_european_union flag that Maxmind ship with their database. It is not intended to discern EEA countries.
Ref:
1) https://dev.maxmind.com/release-note/united-kingdom-will-no-longer-be-flagged-is_in_european_union/ 2) https://dev.maxmind.com/release-note/eu-country-outputs-added-to-to-geoip2-country-city-enterprise-dbs-and-precision-service/ 3) https://dev.maxmind.com/geoip/geoip2/whats-new-in-geoip2/
I do not know what the intended purpose of the
country_eu
flag is. If it's actually meant as a flag to determine whether the user is in the EU or not, then please close and ignore this issue. If, however, it is meant to determine whether the user is likely governed by EU laws – in particular, I would guess, the GDPR – then you may want to consider including all of the EEA.As a particular example, Norway returns
"country_eu": false
, but is, as an EEA country, subject to the e.g. the GDPR.