{"id":11201,"date":"2026-05-27T20:30:27","date_gmt":"2026-05-27T12:30:27","guid":{"rendered":"https:\/\/aeosub.com\/codefaeries-views-metrics\/"},"modified":"2026-05-27T20:30:27","modified_gmt":"2026-05-27T12:30:27","slug":"codefaeries-views-metrics","status":"publish","type":"post","link":"https:\/\/aeosub.com\/zh\/codefaeries-views-metrics\/","title":{"rendered":"CodeFaeries Views Metrics"},"content":{"rendered":"<div class=\"post-img\" style=\"margin-bottom: 25px\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/codefaeries-views-metrics\/assets\/banner-1544x500.png?rev=3550577\" alt=\"CodeFaeries Views Metrics\" style=\"width: 100%;height: auto;border-radius: 12px\"><\/div>\n<div class=\"plugin-info-card\" style=\"border: 1px solid #e2e8f0;border-radius: 10px;overflow: hidden;margin-bottom: 30px;font-family: -apple-system, system-ui, sans-serif;background: #fff\">\n<table style=\"width: 100%;border-collapse: collapse;font-size: 14px\">\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 15px 20px;text-align: left;width: 35%;color: #4a5568;background: #fcfcfc\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/codefaeries-views-metrics\/assets\/icon-256x256.png?rev=3550577\" style=\"width: 40px;height: 40px;border-radius: 6px;margin-right: 12px;vertical-align: middle\"> Developer<\/th>\n<td style=\"padding: 15px 20px;font-weight: 500\"><a href=\"https:\/\/profiles.wordpress.org\/lwsdevelopers\/\" target=\"_blank\" rel=\"noopener\">Long Watch Studio &#8211; Code Faeries<\/a><\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Version<\/th>\n<td style=\"padding: 12px 20px\">v1.0.2<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Active Installs<\/th>\n<td style=\"padding: 12px 20px\">0 +<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Requires \/ Tested<\/th>\n<td style=\"padding: 12px 20px\">5.0 \/ 7.0<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Last Updated<\/th>\n<td style=\"padding: 12px 20px\">2026-05-27 11:46am GMT<\/td>\n<\/tr>\n<tr>\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Official Link<\/th>\n<td style=\"padding: 12px 20px\"><a href=\"https:\/\/wordpress.org\/plugins\/codefaeries-views-metrics\/\" target=\"_blank\" style=\"text-decoration: none;color: #4a3bca;font-weight: bold\" rel=\"noopener\">View Details \u2192<\/a><\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"plugin-short-desc\" style=\"margin: 20px 0;padding: 12px 15px;background: #f9fafb;border-left: 4px solid #4a3bca;border-radius: 6px;font-style: italic;color: #4a5568\">Lightweight post and product views tracking with dashboard stats, Gutenberg blocks, and smart exclusions.<\/div>\n<p>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.<\/p>\n<p><strong>Works with or without WooCommerce<\/strong> &#8211; 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.<\/p>\n<h4>Key Features<\/h4>\n<ul>\n<li><strong>Universal Tracking<\/strong> &#8211; Works with posts, pages, WooCommerce products, and any custom post type<\/li>\n<li><strong>Dashboard Widget<\/strong> &#8211; At-a-glance statistics with interactive chart on WordPress dashboard<\/li>\n<li><strong>Gutenberg Blocks<\/strong> &#8211; Post Views and Most Viewed Posts blocks for the block editor<\/li>\n<li><strong>Most Viewed Posts Widget<\/strong> &#8211; Sidebar widget to display popular content<\/li>\n<li><strong>Smart Exclusions<\/strong> &#8211; Exclude crawlers, AI bots, logged-in users, guests, specific roles, categories, or individual posts<\/li>\n<li><strong>Flexible Display<\/strong> &#8211; Show counters before content, after content, or manually via shortcode with customizable text<\/li>\n<li><strong>Role-Based Visibility<\/strong> &#8211; Control which user roles can see view counters<\/li>\n<li><strong>Role-Based Counting<\/strong> &#8211; Exclude specific roles from being counted (admins and shop managers by default)<\/li>\n<li><strong>Performance Optimized<\/strong> &#8211; Multiple tracking methods including Fast AJAX for cached sites<\/li>\n<li><strong>WooCommerce Integration<\/strong> &#8211; Sort products by most viewed on shop pages<\/li>\n<li><strong>Quick\/Bulk Edit<\/strong> &#8211; Manually adjust view counts directly from admin lists<\/li>\n<li><strong>Import Tool<\/strong> &#8211; Migrate view data from WP-PostViews or other plugins<\/li>\n<li><strong>GDPR Compliant<\/strong> &#8211; IP anonymization options and privacy policy snippet<\/li>\n<li><strong>Developer Friendly<\/strong> &#8211; Clean, well-documented code with filters and hooks<\/li>\n<li><strong>Admin Integration<\/strong> &#8211; View counts in post\/product listing pages with sorting<\/li>\n<li><strong>Real-Time Statistics<\/strong> &#8211; Dashboard showing total, today, yesterday, weekly, and monthly views<\/li>\n<\/ul>\n<h3>Third-Party Libraries<\/h3>\n<p>This plugin uses the following third-party libraries:<\/p>\n<h4>Chart.js<\/h4>\n<ul>\n<li>License: MIT License \u2014 https:\/\/opensource.org\/licenses\/MIT<\/li>\n<li>Source: https:\/\/github.com\/chartjs\/Chart.js<\/li>\n<li>Version: 4.5.0<\/li>\n<li>Usage: renders interactive charts in the admin dashboard widget and the post-list column chart modal.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Lightweight post and product views tracking with dashboard stats, Gutenberg blocks, and smart exclusions.<\/p>","protected":false},"author":1,"featured_media":9317,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[252],"tags":[760,762,690,2289,569,555],"class_list":["post-11201","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trends","tag-analytics","tag-statistics","tag-tracking","tag-views","tag-woocommerce","tag-wordpress-plugin"],"_links":{"self":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/comments?post=11201"}],"version-history":[{"count":0,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/11201\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media\/9317"}],"wp:attachment":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media?parent=11201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/categories?post=11201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/tags?post=11201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}