Linux 软件免费装
Banner图

CodeFaeries Views Metrics

开发者 lwsdevelopers
更新时间 2026年10月8日 23:01
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

tracking statistics woocommerce views analytics

下载

1.0.12 1.0.13 1.0.2 1.0.3 1.0.4 1.0.9 1.0.10 1.0.7 1.0.8

详情介绍:

CodeFaeries Views Metrics provides comprehensive view tracking for any post type including posts, pages, WooCommerce products, and custom post types. Built with clean, modern code architecture and extensive customization options. Works with or without WooCommerce - This plugin is fully functional for any WordPress site, whether you use WooCommerce or not. WooCommerce integration is completely optional and provides bonus features when available. Key Features

安装:

  1. Upload the codefaeries-views-metrics folder to the /wp-content/plugins/ directory, or install directly through the WordPress plugin screen.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Navigate to Views Metrics in the WordPress admin menu.
  4. Configure your tracking and display settings.
Configuration

屏幕截图:

  • General settings page with tracking method selection
  • Display settings for counter position and customization
  • Exclusion settings for visitors, roles, categories, and IPs
  • Advanced settings with IP storage and privacy options
  • Sortable Views column in post/product admin lists
  • Quick Edit with inline view count editing
  • Gutenberg blocks: Post Views and Most Viewed Posts

升级注意事项:

1.0.13 Fixes the Post Views block, which showed the all-time total under the words "this week" when left at its default settings. 1.0.12 Fixes the layout of the Views Metrics blocks in the editor and on the site, and the dashboard chart that showed the rest of the current month as zero views. Requires WordPress 5.6 or later. 1.0.10 Fixes the links to Views Metrics Pro, which led to a missing page. Tested with WordPress 7.1. 1.0.9 Maintenance release published alongside Views Metrics Pro 1.0.9. No change to features or settings. 1.0.8 Maintenance release published alongside Views Metrics Pro 1.0.8. No change to features or settings. 1.0.7 Restores the blocks, the Most Viewed widget, the admin bar stats and the post-list views chart, and removes unused usage statistics code. Media attachment pages are no longer tracked by default. 1.0.5 Restores the blocks, the Most Viewed widget, the admin bar stats and the post-list views chart. Media attachment pages are no longer tracked by default. 1.0.3 Fixes a settings-page PHP notice on sites without WooCommerce and corrects the tracking method help text. 1.0.2 Recommended update — minimum PHP lowered to 7.3 (runs on more hosts) and Plugin Check compliance. 1.0.0 Improved PHPCS compliance and WordPress Plugin Check compatibility. Recommended update for all users.

常见问题:

Does this plugin require WooCommerce?

No. Views Metrics works with any WordPress site. WooCommerce is completely optional. When WooCommerce is installed, you get bonus features like product view tracking.

Which tracking method should I use?

If your site uses a caching plugin (WP Rocket, W3 Total Cache, LiteSpeed Cache, etc.), choose JavaScript (AJAX) or REST API. These record views asynchronously and keep counting correctly even when pages are served from cache. For sites without caching, PHP (Standard) is the simplest option.

How does the unique visit throttle work?

The throttle prevents the same visitor from inflating view counts. When set to e.g. 1 hour, a second page view from the same user within that hour is not counted. Set to 0 to count every page view.

Is the plugin GDPR compliant?

Yes. You can choose how IP addresses are stored: full (best duplicate detection), anonymized (last octet removed), or disabled (no IP storage at all). A ready-to-use privacy policy snippet is provided under Advanced settings.

Can I exclude bots and crawlers from view counts?

Yes. By default, crawlers (Googlebot, Bingbot, etc.) and AI bots (GPTBot, ClaudeBot, Google Extended, etc.) are excluded. You can also exclude logged-in users, guests, specific roles, categories, posts, and IP addresses.

Can I import views from another plugin?

Yes. Go to Views Metrics > Advanced and use the Import tool. It supports WP-PostViews (views meta key), Post Views Counter (post_views_count), or any custom meta key. Preview the import before running it.

How do I display the view counter manually?

Use the [cfvm_views_counter] shortcode. It supports attributes for period (today, week, month, total), custom text with a {count} placeholder, and more. Two Gutenberg blocks are also available: Post Views and Most Viewed Posts.

Does it work on multisite?

Yes. Views Metrics supports multisite with network-wide activation. Tables are created for each site automatically, including newly created sites.

更新日志:

1.0.13 - 2026-10-08 1.0.12 - 2026-10-08 1.0.10 - 2026-10-06 1.0.9 - 2026-10-05 1.0.8 - 2026-10-02 1.0.7 - 2026-10-02 1.0.5 - 2026-10-01 1.0.3 - 2026-06-16 1.0.2 - 2026-05-11 1.0.1 1.0.0 0.0.3 0.0.2 0.0.1 First release. Tracks views across post types with bot detection, role-based visibility, shortcodes, a statistics dashboard, and WooCommerce integration.