Title: CodeFaeries Views Metrics
Author: Long Watch Studio - Code Faeries
Published: <strong>Èbìbí  27, 2026</strong>
Last modified: Agẹmọ  16, 2026

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/codefaeries-views-metrics/assets/banner-772x250.png?rev=3550577)

![](https://ps.w.org/codefaeries-views-metrics/assets/icon-256x256.png?rev=3550577)

# CodeFaeries Views Metrics

 Láti ọwọ́ [Long Watch Studio Ìtumọ̀ Yorùbá: – Code Faeries](https://profiles.wordpress.org/lwsdevelopers/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/codefaeries-views-metrics.1.0.4.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/codefaeries-views-metrics/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/codefaeries-views-metrics/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/codefaeries-views-metrics/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/codefaeries-views-metrics/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/codefaeries-views-metrics/)

## Àpèjúwe

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** Ìtumọ̀ Yorùbá: – 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

 * **Universal Tracking** Ìtumọ̀ Yorùbá: – Works with posts, pages, WooCommerce 
   products, and any custom post type
 * **Dashboard Widget** Ìtumọ̀ Yorùbá: – At-a-glance statistics with interactive
   chart on WordPress dashboard
 * **Gutenberg Blocks** Ìtumọ̀ Yorùbá: – Post Views and Most Viewed Posts blocks
   for the block editor
 * **Most Viewed Posts Widget** Ìtumọ̀ Yorùbá: – Sidebar widget to display popular
   content
 * **Smart Exclusions** Ìtumọ̀ Yorùbá: – Exclude crawlers, AI bots, logged-in users,
   guests, specific roles, categories, or individual posts
 * **Flexible Display** Ìtumọ̀ Yorùbá: – Show counters before content, after content,
   or manually via shortcode with customizable text
 * **Role-Based Visibility** Ìtumọ̀ Yorùbá: – Control which user roles can see view
   counters
 * **Role-Based Counting** Ìtumọ̀ Yorùbá: – Exclude specific roles from being counted(
   admins and shop managers by default)
 * **Performance Optimized** Ìtumọ̀ Yorùbá: – Multiple tracking methods (PHP, JavaScript,
   REST API) including async modes for cached sites
 * **WooCommerce Integration** Ìtumọ̀ Yorùbá: – Sort products by most viewed on 
   shop pages
 * **Quick/Bulk Edit** Ìtumọ̀ Yorùbá: – Manually adjust view counts directly from
   admin lists
 * **Import Tool** Ìtumọ̀ Yorùbá: – Migrate view data from WP-PostViews or other
   plugins
 * **GDPR Compliant** Ìtumọ̀ Yorùbá: – IP anonymization options and privacy policy
   snippet
 * **Developer Friendly** Ìtumọ̀ Yorùbá: – Clean, well-documented code with filters
   and hooks
 * **Admin Integration** Ìtumọ̀ Yorùbá: – View counts in post/product listing pages
   with sorting
 * **Real-Time Statistics** Ìtumọ̀ Yorùbá: – Dashboard showing total, today, yesterday,
   weekly, and monthly views

### Third-Party Libraries

This plugin uses the following third-party libraries:

#### Chart.js

 * License: MIT License — https://opensource.org/licenses/MIT
 * Source: https://github.com/chartjs/Chart.js
 * Version: 4.5.0
 * Usage: renders interactive charts in the admin dashboard widget and the post-
   list column chart modal.

#### Select2

 * License: MIT License — https://opensource.org/licenses/MIT
 * Source: https://github.com/select2/select2
 * Version: 4.0.13
 * Usage: enhances the searchable dropdowns on the plugin settings page.

## Àwọn ìdí

Plugin yìí pèsè 2 àwọn ìdí.

 *   Most Viewed Posts Display a list of the most viewed posts with customizable
   period filters. Part of Views Metrics plugin for comprehensive view tracking.
 *   Post Views Display the view count for the current post. Part of Views Metrics
   plugin Ìtumọ̀ Yorùbá: – track and display post views with detailed analytics.

## Ìgbéwọlẹ̀

 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

 * **Post types** Ìtumọ̀ Yorùbá: – Select which post types to track (posts, pages,
   products, etc.)
 * **Tracking method** Ìtumọ̀ Yorùbá: – PHP (Standard), JavaScript (AJAX), or REST
   API (the async modes are recommended for cached sites)
 * **Unique visit throttle** Ìtumọ̀ Yorùbá: – Prevent counting duplicate views from
   the same user within a time period
 * **Counter position** Ìtumọ̀ Yorùbá: – Before/after content or manual via `[cfvm_views_counter]`
   shortcode
 * **Exclusions** Ìtumọ̀ Yorùbá: – Exclude crawlers, AI bots, specific roles, categories,
   posts, or IP addresses

## FAQ

### 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
and a “Sort by most viewed” option on the shop page.

### 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.

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“CodeFaeries Views Metrics” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí
ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Long Watch Studio Ìtumọ̀ Yorùbá: – Code Faeries ](https://profiles.wordpress.org/lwsdevelopers/)

[Túmọ̀ “CodeFaeries Views Metrics” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/codefaeries-views-metrics)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/codefaeries-views-metrics/),
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/codefaeries-views-metrics/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/codefaeries-views-metrics/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/codefaeries-views-metrics/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.0.3 Ìtumọ̀ Yorùbá: – 2026-06-16

 * Fixed: a PHP notice on the settings page on sites without WooCommerce — the searchable
   dropdowns now load their own library instead of relying on WooCommerce.
 * Fixed: the tracking method description was cut off and now explains which method
   to use with a caching plugin.

#### 1.0.2 Ìtumọ̀ Yorùbá: – 2026-05-11

 * Compatibility: minimum PHP requirement lowered to 7.3 — the plugin now runs on
   a wider range of hosts.
 * Code quality: additional WordPress Plugin Check findings resolved.
 * Changed: shortcode renamed from `[cf-views]` to `[cfvm_views_counter]`.

#### 1.0.1

 * Fixed: stability fixes at plugin startup — internal services now initialize reliably
   alongside the shared toolkit.
 * Fixed: cleanup cron now scheduled correctly on activation; admin bar caches invalidated
   when needed.
 * Fixed: Fast AJAX bootstrap and multisite hooks hardened; admin code cleanup.

#### 1.0.0

 * Code quality: passes WordPress Plugin Check and PHPCS WordPress Coding Standards
   cleanly.
 * Improved: input sanitization and output escaping reviewed across the codebase.
 * Improved: error logging now gated behind `WP_DEBUG` (no log noise in production).

#### 0.0.3

 * New: Dashboard widget with an interactive chart and statistics.
 * New: Gutenberg blocks “Post Views” and “Most Viewed Posts”.
 * New: “Most Viewed Posts” sidebar widget.
 * New: Quick Edit and Bulk Edit support for view counts.
 * New: import tool for migrating from WP-PostViews and similar plugins.
 * New: IP anonymization modes (full, anonymized, disabled) and a privacy-policy
   snippet generator.
 * New: sortable Views column in admin post lists.
 * Improved: admin UI with modern pill-style tabs.

#### 0.0.2

 * Changed: shortcode renamed from `[post-views]` to `[cf-views]`.
 * New: shortcode attributes — `period`, `text`, `hide_zero`, `class`.
 * New: “Exclude roles from count” setting.
 * New: WooCommerce “Most viewed” sort option.
 * Improved: default exclusions now cover crawlers, AI bots, administrators, and
   shop managers.
 * Improved: counter hides automatically when count is zero.
 * Fixed: Fast AJAX tracking mode.

#### 0.0.1

First release. Tracks views across post types with bot detection, role-based visibility,
shortcodes, a statistics dashboard, and WooCommerce integration.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0.4**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọ̀sẹ̀ 1 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **Tó kéré sí 10**
 *  Ẹ̀yà WordPress ** 5.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **7.0.2**
 *  Ẹ̀yà PHP ** 7.4 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/codefaeries-views-metrics/)
 * Àwọn àmì
 * [analytics](https://yor.wordpress.org/plugins/tags/analytics/)[statistics](https://yor.wordpress.org/plugins/tags/statistics/)
   [tracking](https://yor.wordpress.org/plugins/tags/tracking/)[views](https://yor.wordpress.org/plugins/tags/views/)
   [woocommerce](https://yor.wordpress.org/plugins/tags/woocommerce/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/codefaeries-views-metrics/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

[Your review](https://wordpress.org/support/plugin/codefaeries-views-metrics/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/codefaeries-views-metrics/reviews/)

## Àwọn Olùkópa

 *   [ Long Watch Studio Ìtumọ̀ Yorùbá: – Code Faeries ](https://profiles.wordpress.org/lwsdevelopers/)

## Ìrànlọ́wọ́

Àwọn ọ̀ràn tí a yanjú ní oṣù méjì tó kọjá:

     0 nínú 2

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/codefaeries-views-metrics/)