Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Countries and Continents #1726

Closed
robocoder opened this Issue · 1 comment

1 participant

Anthon Pang
Anthon Pang
Collaborator

The MaxMind GeoIP database contains some extra codes that we should define in core/DataFiles/Countries.php and lang/en.php.

At the same time, we should re-align the country-to-continent mapping using www.maxmind.com/app/country_continent. This shifts the responsibility for "accuracy" to a third-party.

Another issue that arises is that the GeoIP query appears to sometimes return an empty string (instead of 'xx' or 'unk'), resulting in UserCountry_country_ and UserCountry_continent_.

Anthon Pang
Collaborator

(In [3174]) fixes #1726 - add Antarctica and Central America; use MaxMind's country-to-continent mapping (with the exception of Central America which it groups with North America).

Anthon Pang robocoder added this to the Piwik 1.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.