Skip to content

Commit df6b7e4

Browse files
author
Tim Helfensdörfer
committed
Compatible to piwik 3.0.1
1 parent f82d078 commit df6b7e4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Matomo.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4279,6 +4279,16 @@ public function getCountry($segment = '', $optional = [])
42794279
], $optional);
42804280
}
42814281

4282+
/**
4283+
* Get a list of used country codes to country names
4284+
*
4285+
* @return object
4286+
*/
4287+
public function getCountry($segment = '', $optional = [])
4288+
{
4289+
return $this->_request('UserCountry.getCountryCodeMapping');
4290+
}
4291+
42824292
/**
42834293
* Get continents of all visitors
42844294
*

0 commit comments

Comments
 (0)