Statistics not reliable
-
From time to time, overall statistics show a total of 0 views for a certain day. When I check other reports, there are apparently actual views. Only the overall report shows the wrong result.
Is there any possibility to update the Dashboard overall report for the views?
-
Hi @blapps To help you out with this, could you please send us a copy of your system check report?
Also, please review this guide as the following might fix the issue: Matomo for WordPress is not showing any statistics / reports, how do I fix it?Hi,
thanks for reaching me out. I do have the same Matomo version and same plugins installed at another instance without any issue.
Here is the report from the website with unreliable statistics:
# Errors
- Error PHP cli Version: (Your PHP cli version is not compatible with the Matomo requirements. Please upgrade your PHP cli version, otherwise, you might have some archiving errors)
- Error MySQLi support: missing (Your PHP cli does not load the MySQLi extension. You might have archiving problems in Matomo but also others problems in your WordPress cron tasks. You should enable this extension)
Matomo
- Matomo-Plugin-Version: 4.14.2
- Config existiert und ist schreibbar.: Ja (“$abs_path/wp-content/uploads/matomo/config/config.ini.php” )
- JS Tracker existiert und ist schreibbar.: Ja (“$abs_path/wp-content/uploads/matomo/matomo.js” )
- Plugin-Verzeichnisse: Yes ([{“pluginsPathAbsolute”:”$abs_path\/wp-content\/plugins\/matomo\/plugins”,”webrootDirRelativeToMatomo”:”..\/”}])
- Tmp-Verzeichnis schreibbar: Yes ($abs_path/wp-content/cache/matomo)
- Matomo-Version: 4.14.2
- Matomo Blog idSite: 1
- Installierte Matomo-Version: 4.6.0 (Install date: 2022-05-14 19:46:10)
- Upgrades outstanding: No
- Upgrade in progress: No
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-Zeit: 2023-07-26 06:17:45
- Blog-Zeit: 2023-07-26 08:17:45 (Die nachfolgenden Daten werden in der Blog-Zeitzone angezeigt)
- Sync users & sites: Next run: 2023-07-26 19:47:12 (11 Stunden 29 Minuten) ( Last started: 2023-07-25 19:53:22 (-12 Stunden 24 Minuten). Last ended: 2023-07-25 19:53:23 (-12 Stunden 24 Minuten). Interval: daily)
- Archive: Next run: 2023-07-26 08:31:01 (13 Minuten 16s) ( Last started: 2023-07-26 07:37:15 (-40 Minuten 30s). Last ended: 2023-07-26 07:37:35 (-40 Minuten 10s). Interval: hourly)
- Update GeoIP DB: Next run: 2023-08-07 19:46:48 (12 Tage 11 Stunden) ( Last started: 2023-07-08 19:50:55 (-17 Tage 12 Stunden). Last ended: 2023-07-08 19:50:57 (-17 Tage 12 Stunden). Interval: matomo_monthly)
Vorgeschriebene Prüfungen
- PHP-Version >= 7.2.5: ok
- PDO Erweiterung: ok
- PDO\MYSQL Erweiterung: ok
- MYSQLI Erweiterung: ok
- Weitere erforderliche Anforderungen: ok
- Erforderliche Funktionen: ok
- Benötigte PHP Konfiguration (php.ini): ok
- Verzeichnisse mit Schreibzugriff: ok
- Verzeichnisse mit Schreibzugriff auf Tag Manager: ok
Optionale Prüfungen
- 64-bit PHP Binär: ok
- Tracker-Status: ok
- Speicherlimit: ok
- Zeitzone: ok
- Öffnen einer URL: ok
- GD > 2.x + FreeType (Grafiken): ok
- Andere Erweiterungen: ok
- Andere Funktionen: ok
- Dateisystem: ok
- Letzter erfolgreicher Abschluss der Archivierung: ok
- Datenbankfähigkeiten: ok
- Maximale Packetgröße: ok
- Standorterkennung: ok
- Update über HTTPS: ok
- Supports Async Archiving: No
- Location provider ID: geoip2php
- Location provider available: Yes
- Location provider working: Yes
- Had visit in last 5 days: Yes
- Matomo URL: Yes ($site_url/wp-content/plugins/matomo/app/)
Matomo Settings
- Track mode: default
- Track codeposition: footer
- Track api endpoint: default
- Track js endpoint: default
- Version history: 4.14.2, 4.14.1, 4.13.5, 4.13.4, 4.13.3
- Core version: 4.14.2
- Last tracking settings update: 1680439929
- Last settings update: 1680439929
- Track ecommerce: No
- Track search: Yes
- Track 404: Yes
- Show get started page: 0
Logs
- Keine:
WordPress
- Home URL: $site_url
- Site URL: $site_url
- WordPress Version: 6.2.2
- Number of blogs: 1
- Multisite Enabled: No
- Network Enabled: No
- WP_DEBUG: No
- WP_DEBUG_DISPLAY: Yes
- WP_DEBUG_LOG: No
- DISABLE_WP_CRON: –
- FORCE_SSL_ADMIN: Yes
- WP_CACHE: Yes
- CONCATENATE_SCRIPTS: –
- COMPRESS_SCRIPTS: –
- COMPRESS_CSS: –
- ENFORCE_GZIP: –
- WP_LOCAL_DEV: –
- WP_CONTENT_URL: $site_url/wp-content
- WP_CONTENT_DIR: $abs_path/wp-content
- UPLOADS: –
- BLOGUPLOADDIR: –
- DIEONDBERROR: –
- WPLANG: –
- ALTERNATE_WP_CRON: –
- WP_CRON_LOCK_TIMEOUT: 60
- WP_DISABLE_FATAL_ERROR_HANDLER: –
- MATOMO_SUPPORT_ASYNC_ARCHIVING: –
- MATOMO_TRIGGER_BROWSER_ARCHIVING: –
- MATOMO_ENABLE_TAG_MANAGER: –
- MATOMO_SUPPRESS_DB_ERRORS: –
- MATOMO_ENABLE_AUTO_UPGRADE: –
- MATOMO_DEBUG: –
- MATOMO_SAFE_MODE: –
- MATOMO_GLOBAL_UPLOAD_DIR: –
- MATOMO_LOGIN_REDIRECT: –
- Permalink Structure: /%category%/%postname%/
- Possibly uses symlink: No
- Upload base url: $site_url/wp-content/uploads
- Upload base dir: $abs_path/wp-content/uploads
- Upload url: $site_url/wp-content/uploads/2023/07
- Custom upload_path:
- Custom upload_url_path:
- Compatible content directory: Yes
WordPress Plugins
- Advanced Custom Fields: 6.1.7
- Antispam Bee: 2.11.3
- Bing Webmaster Url Submission: 1.0.13
- Borlabs Cookie – Cookie Opt-in: 2.2.43
- Classic Widgets: 0.3
- Customize External Links and add Icon: 2.0
- Custom Plugin: 1.0.0
- EWWW Image Optimizer: 7.2.0
- Lightbox with PhotoSwipe: 5.0.40
- Matomo Analytics – Ethical Stats. Powerful Insights.: 4.14.2
- Newsletter, SMTP, Email marketing and Subscribe forms by Brevo: 3.1.67
- Ninja Forms: 3.6.28
- Post Views Counter: 1.3.13
- QueryHunter: 3.8.9
- Rank Math SEO: 1.0.119.1
- Rate my Post – WP Rating System: 3.4.1
- Simple Image XML Sitemap: 3.3
- Wordfence Security: 7.10.2 (Network enabled)
- WP Rocket: 3.14.2.1
- WP TXT Sitemap: 1.3
- Active Plugins: 20 (QueryHunter advanced-custom-fields antispam-bee bing-webmaster-tools borlabs-cookie classic-widgets customize-external-links-and-add-icon ewww-image-optimizer lightbox-photoswipe mailin matomo myownplugin.php ninja-forms post-views-counter rate-my-post seo-by-rank-math simple-image-xml-sitemap wordfence wp-rocket wp-txt-sitemap)
- Warning Nicht kompatible Plugins: 1 (wp-rocket Matomo may work fine when using these plugins but there may be some issues. For more information See this FAQ WP-Rocket is incompatible from version 3.12. Until fixes, please reinstall version 3.11.5 if you have a newer version. For more information please visit How to downgrade Wp-rocket to be compatible with Matomo)
- Theme: ws (ws)
Server
- Server Info: Apache
- Apache AddHandler support: Supported
- PHP OS: Linux
- PHP Version: 8.1.16
- PHP SAPI: fpm-fcgi
- PHP Binary Name: /usr/sbin/php81-fpm
- PHP Maxmind DB extension: Not loaded
- PHP Error Reporting: After bootstrap: 4437
- PHP Found Binary: /usr/bin/php -q
- Timezone: UTC
- WP timezone: Europe/Berlin
- Locale: de_DE
- User Locale: de_DE
- Memory Limit: 512M (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.)
- WP Memory Limit: 40M
- WP Max Memory Limit: 512M
- Timezone version: 0.system
- Time: 1690352266
- Max Execution Time: 30
- Max Post Size: 200M
- Max Upload Size: 209715200
- Max Input Vars: 3000
- Disabled PHP functions: No
- zlib.output_compression is off: Yes
- Curl Version: 7.68.0, OpenSSL/1.1.1f
- Suhosin installed: No
PHP cli
- Error PHP cli Version: (Your PHP cli version is not compatible with the Matomo requirements. Please upgrade your PHP cli version, otherwise, you might have some archiving errors)
- Error MySQLi support: missing (Your PHP cli does not load the MySQLi extension. You might have archiving problems in Matomo but also others problems in your WordPress cron tasks. You should enable this extension)
Database
- MySQL Version: 10.5.19
- Mysqli Connect: Yes
- Force MySQL over Mysqli: No
- DB Prefix: wp_
- DB CHARSET: utf8mb4
- DB COLLATE:
- SHOW ERRORS: No
- SUPPRESS ERRORS: No
- Uses Socket: No
- Uses IPv6: No
- Matomo tables found: 137
- DB tables exist: Yes
- Matomo users found: 1
- Matomo sites found: 1
- Erforderliche Berechtigungen: OK
Browser
- Browser: (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36)
- Language: de-at,de,en-gb,en,de-de,en-us
Thank you for sending the system check report. Could you please address the error about php cli by checking this guide: How to solve the error message “Your PHP CLI version is not compatible with the Matomo requirements” I believe that addressing this error will fix the issue,
Since the last plugin update, the error message is gone. Only left is the message “WP-Rocket is incompatible from version 3.12. Until fixes, please reinstall version 3.11.5 if you have a newer version. For more information please visit How to downgrade Wp-rocket to be compatible with Matomo“
Anyway, I will check if the not counting correctly still will apprear.
But as the current report in dashboard does not show the corret numbers, is it possible to click one of the buttons below troubleshooting? I am afraid to lose any data…
Hello @blapps I would recommend to fix the error first. Matomo for WordPress is incompatible with WP-Rocket v3.12 as this is a known issue. You can simply downgrade WP-Rocket to v3.11.5 and lets see how it goes from there.
Downgrading is not an option due to risk reasons.
Is it planned for the near future to make WP Rocket compatible with Matomo?
Hello @blapps It’s already planned but there is no specific time when it will be implemented. What I could recommend is to switch in using Matomo On-Premise instead of Matomo for WordPress plugin.
Hi @blapps we’ll go ahead and close this topic. Once you switch to Matomo On-Premise, you can reach out to hello@matomo.org if you need further help.
- The topic ‘Statistics not reliable’ is closed to new replies.