Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Countries and Continents #1726

Closed
robocoder opened this Issue · 1 comment

1 participant

@robocoder
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_.

@robocoder
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).

@robocoder 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.