PHPCounter Countries Plugin
Back to the plugins help index page.
Countries Core Plugin
Countries analyses the PHPCounter files to find out which countries the visitors come from. It displays the list of countries, in descending order, in a table.
Countries (Graphical) Core Plugin
The graphical version of Countries displays a pie chart showing the countries data.
How it Works
The way the Countries plugins detect the countries is by finding the Top Level Domain, or TLD, of each visitors domain. Each country has a sepcific TLD, and thus PHPCounter is able to figure out which country the visitor comes from.
The TLDs that are not counted as countries (because they do not point to a particular country) are: .com, .net, .org, .info, and some others. Please see the IANA links below for more information.
The TLDs .mil, .edu, and .gov are counted as USA domains.
The TLD to Country database is derived from the list found at the IANA ccTLD List. The generic TLD database is derived from the IANA gTLD List.
