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 4 years, 11 months ago by
badr2020.
-
This topic was modified 4 years, 11 months ago by
-
Hi @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?
Hi. It is show all visitors from one country [Russia] even me
-
This reply was modified 4 years, 11 months ago by
badr2020.
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/ ? Either by commenting the report here (it should be anonymised) or sending us an email to wordpress at matomo.org
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 4 years, 11 months ago by
badr2020.
note: all visitors IP are same the country server IP [91.234.0.0], my vps server is fresh installed.
-
This reply was modified 4 years, 11 months ago by
badr2020.
Thanks for this @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)
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?
Hi @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.
@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.
-
This reply was modified 4 years, 11 months ago by
- The topic ‘Visitor countries’ is closed to new replies.