Opened 4 years ago

Closed 4 years ago

#1726 closed Task (fixed)

Countries and Continents

Reported by: vipsoft Owned by:
Priority: normal Milestone: Piwik 1.1
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by vipsoft)

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

  • "A1", "A2", "O1", and "AP" (

At the same time, we should re-align the country-to-continent mapping using 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_.

Change History (2)

comment:1 Changed 4 years ago by vipsoft (robocoder)

  • Description modified (diff)

comment:2 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(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).

Note: See TracTickets for help on using tickets.