| 开发者 | pushaune |
|---|---|
| 更新时间 | 2026年7月17日 03:47 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
nb_hits)nb_visits)/wp-content/plugins/.No. It only displays selected Matomo statistics inside WordPress admin lists. Matomo remains the analytics platform.
Only in local mode. If your website is tracked by a self-hosted Matomo or Matomo Cloud, choose the remote source in Settings > Matomo Columns and enter the Matomo URL, site ID, and an auth token. In that case the Matomo for WordPress plugin is not needed.
The site ID is listed in Matomo under Administration > Websites > Manage. Auth tokens are created under Administration > Personal > Security > Auth tokens. Create a dedicated token for this plugin.
No. It reads data from Matomo. It does not create a second view counter inside WordPress.
The plugin supports page views (nb_hits) and unique views (nb_visits).
Yes. The Matomo views column is sortable. When sorting by views, the plugin synchronizes a private post meta value for the displayed post type, then WordPress sorts the list using that numeric value.
Yes. It works with custom post types that are visible in the WordPress admin.
No, but Matomo stores statistics per URL, so views recorded on the old URL are not automatically attributed to the new one. The plugin handles this in two ways:
* as a wildcard (for example /blog/* to /*). The views of the old URLs are then added to the current counts.admivico_url_candidates filter.
The Matomo statistics are fetched in the background the first time a list is displayed (or after the cache expires), so the page itself loads instantly. The counts appear as soon as Matomo responds — usually within a second or two.
The selected page may have no Matomo data for the chosen period, or Matomo may not be configured correctly. You can also try clearing the plugin cache from Settings > Matomo Columns, and use the Test connection button in the Matomo source tab to check your configuration: it shows the exact error message returned by Matomo.
By default, the cache lasts one hour. You can change the cache duration in the plugin settings. You can also clear the cache manually from Settings > Matomo Columns.
admivico_report_url filter.admivico_url_candidates filter to provide additional historical URLs per post.