PluginProbe ʕ •ᴥ•ʔ
Matomo Analytics – Powerful, Privacy-First Insights for WordPress / 5.8.2
Matomo Analytics – Powerful, Privacy-First Insights for WordPress v5.8.2
5.11.1 5.11.0 5.10.2 5.10.1 trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.3.0 1.3.1 1.3.2 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.1.0 4.1.1 4.1.2 4.1.3 4.10.0 4.11.0 4.12.0 4.13.0 4.13.2 4.13.3 4.13.4 4.13.5 4.14.0 4.14.1 4.14.2 4.15.0 4.15.1 4.15.2 4.15.3 4.2.0 4.3.0 4.3.1 4.4.1 4.4.2 4.5.0 4.6.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.10.0 5.2.0 5.2.1 5.2.2 5.3.0 5.3.1 5.3.2 5.3.3 5.6.0 5.6.1 5.7.0 5.7.1 5.8.0 5.8.1 5.8.2
matomo / app / core / Intl / Data / Resources / countries-extra.php
matomo / app / core / Intl / Data / Resources Last commit date
continents.php 2 years ago countries-extra.php 2 years ago countries.php 2 years ago currencies.php 1 year ago languages-to-countries.php 2 years ago languages.php 2 years ago
countries-extra.php
60 lines
1 <?php
2
3 namespace {
4 /**
5 * Matomo - free/libre analytics platform
6 *
7 * @link https://matomo.org
8 * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
9 */
10 /**
11 * Country codes database.
12 *
13 * The mapping of countries to continents is from MaxMind with the exception
14 * of Central America. MaxMind groups Central American countries with
15 * North America. Piwik previously grouped Central American countries with
16 * South America. Given this conflict and the fact that most of Central
17 * America lies on its own continental plate (i.e., the Caribbean Plate), we
18 * currently use a separate continent code (amc).
19 */
20 return array(
21 // unknown
22 'xx' => 'unk',
23 // exceptionally reserved
24 'ac' => 'afr',
25 // .ac TLD
26 'cp' => 'amc',
27 'dg' => 'asi',
28 'ea' => 'afr',
29 'eu' => 'eur',
30 // .eu TLD
31 'fx' => 'eur',
32 'ic' => 'afr',
33 'su' => 'eur',
34 // .su TLD
35 'ta' => 'afr',
36 'uk' => 'eur',
37 // .uk TLD
38 // transitionally reserved
39 'an' => 'amc',
40 // former Netherlands Antilles
41 'bu' => 'asi',
42 'cs' => 'eur',
43 // former Serbia and Montenegro
44 'nt' => 'asi',
45 'sf' => 'eur',
46 'tp' => 'oce',
47 // .tp TLD
48 'yu' => 'eur',
49 // .yu TLD
50 'zr' => 'afr',
51 // MaxMind GeoIP specific
52 'a1' => 'unk',
53 'a2' => 'unk',
54 'ap' => 'asi',
55 'o1' => 'unk',
56 // Catalonia (Spain)
57 'cat' => 'eur',
58 );
59 }
60