Title: Visitor countries
Last modified: April 15, 2020

---

# Visitor countries

 *  Resolved [badr2020](https://wordpress.org/support/users/badr2020/)
 * (@badr2020)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/visitor-countries/)
 * Hello,
    thanks for this great plugin, I had a problem, Visitor countries are 
   not displaying correctly,It is how all visitors from one country [Russia] even
   me!. so what should I do to fix this?
    -  This topic was modified 5 years, 12 months ago by [badr2020](https://wordpress.org/support/users/badr2020/).

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Thomas](https://wordpress.org/support/users/tsteur/)
 * (@tsteur)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/visitor-countries/#post-12675836)
 * Hi [@badr2020](https://wordpress.org/support/users/badr2020/)
 * do you mind letting us know a bit more regarding what exactly you meant with 
   them not displaying correctly? Is it showing the wrong country?
 *  Thread Starter [badr2020](https://wordpress.org/support/users/badr2020/)
 * (@badr2020)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/visitor-countries/#post-12675845)
 * Hi. It is show all visitors from one country [Russia] even me
    -  This reply was modified 5 years, 12 months ago by [badr2020](https://wordpress.org/support/users/badr2020/).
 *  Plugin Author [Thomas](https://wordpress.org/support/users/tsteur/)
 * (@tsteur)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/visitor-countries/#post-12675876)
 * Do you mind letting us know which country it should have detected for you?
 * Could you maybe also send us your Matomo System Report see [https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/](https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/)?
   Either by commenting the report here (it should be anonymised) or sending us 
   an email to wordpress at matomo.org
 *  Thread Starter [badr2020](https://wordpress.org/support/users/badr2020/)
 * (@badr2020)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/visitor-countries/#post-12677939)
 * Hello,
 *  # Matomo
 * * Matomo Plugin Version: 1.0.4
    * Config exists and is writable.: Yes (“$ABSPATH/
   wp-content/uploads/matomo/config/config.ini.php” ) * JS Tracker exists and is
   writable.: Yes (“$ABSPATH/wp-content/uploads/matomo/matomo.js” ) * Plugin directories:
   Yes ([{“pluginsPathAbsolute”:”$ABSPATH\/wp-content\/plugins\/matomo\/plugins”,”
   webrootDirRelativeToMatomo”:”..\/”}]) * Tmp directory writable: Yes ($ABSPATH/
   wp-content/cache/matomo) * Matomo Version: 3.13.4 * Matomo Blog idSite: 1
 * ## Endpoints
 * * Matomo JavaScript Tracker URL: ($site_url/wp-content/uploads/matomo/matomo.
   js)
    * Matomo JavaScript Tracker – WP Rest API: ($site_url/wp-json/matomo/v1/
   hit/) * Matomo HTTP Tracking API: ($site_url/wp-content/plugins/matomo/app/matomo.
   php) * Matomo HTTP Tracking API – WP Rest API: ($site_url/wp-json/matomo/v1/hit/)
 * ## Crons
 * * Server time: 2020-04-15 12:38:57
    * Blog time: 2020-04-15 15:38:57 (Below dates
   are shown in blog timezone) * Sync users & sites: Next run: 2020-04-16 08:45:
   37 (17 ساعة6 دقيقة) ( Last started: 2020-04-15 08:45:47 (-6 ساعة53 دقيقة). Last
   ended: 2020-04-15 08:45:47 (-6 ساعة53 دقيقة). Interval: daily) * Archive: Next
   run: 2020-04-15 15:45:37 (6 دقيقة40 ثانية) ( Last started: 2020-04-15 14:45:37(-
   53 دقيقة20 ثانية). Last ended: 2020-04-15 14:45:53 (-53 دقيقة4 ثانية). Interval:
   hourly) * Update GeoIP DB: Next run: 2020-05-15 08:45:37 (29 أيام 17 ساعات) (
   Last started: 2020-04-15 08:46:05 (-6 ساعة52 دقيقة). Last ended: 2020-04-15 08:
   46:07 (-6 ساعة52 دقيقة). Interval: matomo_monthly)
 * ## Mandatory checks
 * * إصدار PHP >= : ok
    * PDO الإضافات: ok * PDO\MYSQL الإضافات: ok * MYSQLI الإضافات:
   ok * الإضافات الأخرى المطلوبة: ok * الدوال المطلوبة: ok * إعدادات PHP المطلوبة(
   php.ini): ok * المجلدات بصلاحية الكتابة: ok * Directories with write access for
   Tag Manager: ok
 * ## Optional checks
 * * حالة المتتبع: ok
    * حد الذاكرة: ok * المنطقة الزمنية: ok * Open URL: ok * PageSpeed
   معطَّل: ok * GD > 2.x + Freetype (رسوم): ok * إضافات أخرى: ok * دوال أخرى: ok*
   نظام الملفات: ok * أمر Cron للأرشفة: ok * Last Successful Archiving Completion:
   ok * Max Packet Size: ok * Geolocation: ok * التحديث عبر HTTPS: ok * Writable
   JavaScript Tracker (“/matomo.js”): ok * Supports Async Archiving: Yes * Had visit
   in last 5 days: Yes
 * ## Matomo Settings
 * * Track mode: default
    * Track codeposition: footer * Track api endpoint: default*
   Track js endpoint: default * Version history: 1.0.4 * Core version: 3.13.4 * 
   Last tracking settings update: 1586929568 * Last settings update: 1586952792
 * ## Logs
 * * archive_boot: 2020-04-15 14:45:52 (Matomo error: 8192: define(): Declaration
   of case-insensitive constants is deprecated in $ABSPATH/wp-content/plugins/wp-
   hijri/main.php:10 => bootstrap.php:47; bootstrap.php:75; main.php:10; wp-settings.
   php:377; wp-config.php:79; wp-load.php:37; bootstrap.php:82; console:11;)
    * 
   archive_boot: 2020-04-15 14:45:52 (Matomo error: 8: Undefined index: REQUEST_METHOD
   in $ABSPATH/wp-content/plugins/advanced-excerpt/class/advanced-excerpt.php:44
   => bootstrap.php:47; bootstrap.php:75; advanced-excerpt.php:44; advanced-excerpt.
   php:23; class-wp-hook.php:287; class-wp-hook.php:311; plugin.php:478; wp-settings.
   php:540; wp-config.php:79; wp-load.php:37; bootstrap.php:82; console:11;) * archive_boot:
   2020-04-15 14:45:53 (Matomo error: 8: Undefined index: HTTP_HOST in $ABSPATH/
   wp-content/plugins/essb-self-short-url/lib/essbssu-helper.php:69 => bootstrap.
   php:47; bootstrap.php:75; essbssu-helper.php:69; essb-self-short-url.php:140;
   class-wp-hook.php:287; class-wp-hook.php:311; plugin.php:478; wp-settings.php:
   540; wp-config.php:79; wp-load.php:37; bootstrap.php:82; console:11;) * archive_boot:
   2020-04-15 14:45:53 (Matomo error: 8: Undefined index: SERVER_PORT in $ABSPATH/
   wp-content/plugins/essb-self-short-url/lib/essbssu-helper.php:95 => bootstrap.
   php:47; bootstrap.php:75; essbssu-helper.php:95; essb-self-short-url.php:141;
   class-wp-hook.php:287; class-wp-hook.php:311; plugin.php:478; wp-settings.php:
   540; wp-config.php:79; wp-load.php:37; bootstrap.php:82; console:11;) * archive_boot:
   2020-04-15 14:45:53 (Matomo error: 8: Undefined index: SERVER_NAME in $ABSPATH/
   wp-content/plugins/essb-self-short-url/lib/essbssu-helper.php:96 => bootstrap.
   php:47; bootstrap.php:75; essbssu-helper.php:96; essb-self-short-url.php:141;
   class-wp-hook.php:287; class-wp-hook.php:311; plugin.php:478; wp-settings.php:
   540; wp-config.php:79; wp-load.php:37; bootstrap.php:82; console:11;) * archive_boot:
   2020-04-15 14:45:53 (Matomo error: 8: Undefined index: SERVER_PORT in $ABSPATH/
   wp-content/plugins/essb-self-short-url/lib/essbssu-helper.php:96 => bootstrap.
   php:47; bootstrap.php:75; essbssu-helper.php:96; essb-self-short-url.php:141;
   class-wp-hook.php:287; class-wp-hook.php:311; plugin.php:478; wp-settings.php:
   540; wp-config.php:79; wp-load.php:37; bootstrap.php:82; console:11;)
 * # WordPress
 * * Home URL: $site_url
    * Site URL: $site_url * WordPress Version: 5.4 * Number
   of blogs: 1 * Multisite Enabled: No * Network Enabled: No * Debug Mode Enabled:
   No * Cron Enabled: No * Force SSL Admin: Yes * Language: en_US * Permalink Structure:/%
   postname%/ * Possibly uses symlink: No * WP Cache enabled: Yes * Compatible content
   directory: Yes
 * # WordPress Plugins
 * ## MU Plugins
 * * Health Check Troubleshooting Mode: 1.7.0
 * ## Plugins
 * * Advanced Excerpt: 4.3.5
    * AudioIgniter: 1.6.1 * AudioIgniter Pro: 1.1.0 * 
   Classic Editor: 1.5 * Duplicator Pro: 3.8.8 (Network enabled) * Easy Social Share
   Buttons for WordPress: 7.0.1 * Easy Social Share Buttons for WordPress: Social
   Media Short URLs: 2.1 * Health Check & Troubleshooting: 1.4.4 * iThemes Security
   Pro: 6.5.3 (Network enabled) * Mailster – Email Newsletter Plugin for WordPress:
   2.4.9 * Matomo Analytics – Ethical Stats. Powerful Insights.: 1.0.4 * Mharty –
   Magazine: 3.0.2 * Mharty – More Icons: 1.3.0 * Mharty – Page Composer: 5.0.1 *
   Really Simple SSL: 3.3.1 * Really Simple SSL pro: 2.1.15 * Smush Pro: 3.6.1 *
   Styles For WP Pagenavi Addon: 1.0.2 * TinyMCE Advanced: 5.4.0 * UpdraftPlus –
   Backup/Restore: 2.16.23.24 * Webcraftic Disable Admin Notices Individually: 1.1.1*
   WP-Hijri: 1.4 * WP-Optimize – Clean, Compress, Cache: 3.0.19 * WP-PageNavi: 2.93.3*
   WP Mega Menu Pro: 2.1.2 * WP Rocket: 3.5.2 * Yoast SEO Premium: 13.5 * Active
   Plugins: 29 (advanced-excerpt audioigniter-pro audioigniter classic-editor disable-
   admin-notices duplicator-pro duplicator-pro easy-social-share-buttons3 essb-self-
   short-url health-check ithemes-security-pro mailster matomo mh-composer mh-magazine
   mh-more-icons really-simple-ssl-pro really-simple-ssl styles-for-wp-pagenavi-
   addon tinymce-advanced updraftplus wordpress-seo-premium wp-hijri wp-mega-menu-
   pro wp-optimize wp-pagenavi wp-rocket wp-smush-pro)
 * # Server
 * * Server Info: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g
    * PHP OS:
   Linux * PHP Version: 7.3.16-1+ubuntu16.04.1+deb.sury.org+1 * PHP SAPI: apache2handler*
   Timezone: UTC * Locale: en_US * Memory Limit: 256M (At least 128MB recommended.
   Depending on your traffic 256MB or more may be needed.) * Max Memory Limit: 256M*
   Time: 1586954337 * Max Execution Time: 30 * Max Post Size: 8M * Max Upload Size:
   2097152 * Max Input Vars: 1000 * Disabled PHP functions: Yes (pcntl_alarm,pcntl_fork,
   pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,
   pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,
   pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,
   pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,)*
   zlib.output_compression is off: Yes * Curl Version: 7.47.0, OpenSSL/1.0.2g
 * # Database
 * * MySQL Version: 5.7.29
    * Mysqli Connect: Yes * Force MySQL over Mysqli: No *
   DB Prefix: wp_ * Uses Socket: No * Uses IPv6: No * Required permissions: OK
 * # Browser
 * * Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/
   75.0
    -  This reply was modified 5 years, 12 months ago by [badr2020](https://wordpress.org/support/users/badr2020/).
 *  Thread Starter [badr2020](https://wordpress.org/support/users/badr2020/)
 * (@badr2020)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/visitor-countries/#post-12677951)
 * note: all visitors IP are same the country server IP [91.234.0.0], my vps server
   is fresh installed.
    -  This reply was modified 5 years, 12 months ago by [badr2020](https://wordpress.org/support/users/badr2020/).
 *  Plugin Author [Thomas](https://wordpress.org/support/users/tsteur/)
 * (@tsteur)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/visitor-countries/#post-12686606)
 * Thanks for this [@badr2020](https://wordpress.org/support/users/badr2020/) I’ve
   tried installing most of the same plugins and tried to reproduce the issue but
   couldn’t yet.
 * I have added a new system check which will be available in the next version so
   it’s more easy to find the root cause hopefully (added the change in [https://github.com/matomo-org/wp-matomo/commit/a38e00108255409bb18bf2b88fa2865050ab9419#diff-ca76420ccf40e7866f7032f87693bb2dR18-R454](https://github.com/matomo-org/wp-matomo/commit/a38e00108255409bb18bf2b88fa2865050ab9419#diff-ca76420ccf40e7866f7032f87693bb2dR18-R454))
 * It seems like Geolocation is likely set up correctly.
 * > all visitors IP are same the country server IP [91.234.0.0], my vps server 
   is fresh installed.
 * Are you saying all visitors are logged with the IP of your server? Is your server
   based on Russia maybe?
 *  Plugin Author [Thomas](https://wordpress.org/support/users/tsteur/)
 * (@tsteur)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/visitor-countries/#post-12717191)
 * Hi [@badr2020](https://wordpress.org/support/users/badr2020/) have you maybe 
   had a chance to look at my last comment? We’ve now also released a new version
   that shows some more entries in our system report around “location”. It be interesting
   to see if it shows maybe more information now.
 *  Plugin Author [Thomas](https://wordpress.org/support/users/tsteur/)
 * (@tsteur)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/visitor-countries/#post-12748474)
 * [@badr2020](https://wordpress.org/support/users/badr2020/) We have added a new
   setting in “Matomo -> Settings -> Advanced”
 * If it was detecting the wrong location because it was using the server IP, you
   can now select a different proxy IP header. The UI will explain it.
 * Besides this we have also added some additional checks for location in the system
   report that indicate whether things work as expected.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Visitor countries’ is closed to new replies.

 * ![](https://ps.w.org/matomo/assets/icon-256x256.png?rev=2309115)
 * [Matomo Analytics - Powerful, Privacy-First Insights for WordPress](https://wordpress.org/plugins/matomo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/matomo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/matomo/)
 * [Active Topics](https://wordpress.org/support/plugin/matomo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/matomo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/matomo/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Thomas](https://wordpress.org/support/users/tsteur/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/visitor-countries/#post-12748474)
 * Status: resolved