The Post Views Counter plugin adds widgets to your WordPress admin dashboard, providing immediate visibility into your site’s content performance. These widgets display view count charts and top posts lists directly on the main dashboard screen at /wp-admin/index.php, allowing administrators to monitor traffic patterns without navigating to separate report pages.
Dashboard widgets serve as a convenient monitoring tool for site administrators who want quick insights into which content resonates with visitors. Rather than requiring users to access dedicated analytics screens, the widgets surface key metrics—such as most viewed post types and top-performing individual posts—right where administrators land after logging in.
Pro expands the dashboard experience significantly with additional widgets for site-wide views, taxonomy term performance, author archive views, popular search phrases, and detailed traffic analytics including browsers, devices, operating systems, languages, and referrer sources. This provides a comprehensive analytics overview without leaving the WordPress dashboard.
Key Concepts
Dashboard Widget Containers — The plugin creates widget containers on the WordPress dashboard. Lite provides a single container (pvc_dashboard) with two core items. Pro adds a second container (pvc_dashboard_traffic) titled "Traffic Information" for visitor analytics.
Widget Items — Each widget item displays specific data visualizations:
| Widget | Availability | Description |
|---|---|---|
| Post Views | Lite and Pro | A chart showing view distribution across post types |
| Top Posts | Lite and Pro | A table listing the most viewed individual posts or pages |
| Site Views | Pro | A chart of overall site and content views over time |
| Term Views | Pro | A chart of most viewed taxonomy terms (categories, tags, custom taxonomies) |
| Top Users | Pro | A list of most viewed author archive pages |
| Popular Search | Pro | A list of frequently searched phrases and keywords |
| Languages | Pro | A list of the most used languages by visitors |
| Browsers | Pro | A list of the most used browsers |
| Devices | Pro | A list of the most used devices (desktop, mobile, tablet) |
| Operating Systems | Pro | A list of the most used operating systems |
| Referrers | Pro | Displays where your visitors come from |
Permission Gating — Dashboard widget visibility is controlled by the pvc_user_can_see_stats filter, ensuring only users with appropriate permissions can view tracking data.
User Preferences — Each user’s dashboard widget configuration (collapsed/expanded state, position) is saved in their user meta with the key pvc_dashboard, allowing personalized dashboard layouts per administrator.
Configuration
Dashboard widgets automatically reflect the data collected by your tracking configuration. To influence what appears in the widgets:
Tracking Targets
Configure which content types the plugin tracks at Post Views > Counting > Tracking Targets:
- post_types_count — Select post types to include in tracking. Views for tracked post types appear in the Post Views chart and Top Posts list. Default:
["post"].
- taxonomies_count — Enable taxonomy term tracking. When enabled, the Term Views widget displays view counts for category, tag, and custom taxonomy archive pages. Default:
True. - users_count — Enable author archive tracking. When enabled, the Top Users widget shows which author pages receive the most views. Default:
True. - technology_count — Enable technology tracking. When enabled, Traffic Information widgets populate with browser, device, and operating system data. Default:
True.
Visitor Exclusions
Settings at Post Views > Counting > Visitor Exclusions affect dashboard accuracy by filtering which visitors contribute to view counts:
- exclude_groups — Exclude crawlers, AI bots, logged-in users, guests, or specific roles from tracking. Default:
[]. - exclude_roles — Fine-tune exclusions for specific user roles. Default:
[]. - exclude_ips — Exclude specific IP addresses from tracking. Default:
[].
Admin Interface
Settings at Post Views > Display > Admin Interface control admin-related display options:
- toolbar_statistics — When enabled, adds a statistics link to the WordPress toolbar for quick access to detailed reports. Default:
True. - post_views_column — Adds a Views column to post and page list screens in the admin area (separate from dashboard widgets). Default:
True.
Troubleshooting
Widgets Not Appearing
If dashboard widgets do not appear:
- Check user permissions — The
pvc_user_can_see_statsfilter controls widget visibility. Ensure your user role has the required capability. - Verify Screen Options — Click the Screen Options tab at the top of the dashboard and ensure the Post Views widget is checked.
- Check for plugin conflicts — Some plugins modify the dashboard and may interfere with widget registration. Temporarily deactivate other plugins to identify conflicts.
Empty or Zero View Counts
If widgets show no data:
- Verify tracking is enabled — Navigate to
Post Views > Counting > Tracking Targetsand ensure at least one post type is selected for tracking. - Check counter mode — The counter mode at
Post Views > Counting > Tracking Behavioraffects how views are recorded. PHP Mode, JavaScript Mode, REST API Mode, and Fast AJAX each have different requirements for proper tracking. - Review visitor exclusions — Settings at
Post Views > Counting > Visitor Exclusionsmay be excluding all traffic. Check that exclude_groups and exclude_ips are not overly restrictive. - Allow time for data collection — If the plugin was recently installed, widgets require accumulated view data to display meaningful charts and lists.
Pro Widgets Not Showing
If Pro-specific widgets (Site Views, Term Views, Top Users, Popular Search, Traffic Information) do not appear:
- Verify Pro is active — Ensure the Pro version is installed and properly licensed at
Post Views > Other > Plugin Status. - Enable tracking targets — Pro widgets require their respective tracking targets to be enabled. For example, Term Views requires
taxonomies_countenabled atPost Views > Counting > Tracking Targets. - Check technology tracking — Traffic Information widgets require
technology_countto be enabled for browser, device, and operating system data.
Widgets Load Slowly
Dashboard widgets use AJAX to load data asynchronously. If widgets appear slow:
- Database optimization — Large view counts databases can slow queries. Consider using data retention settings to prune old data.
- Object caching — Enable object caching at
Post Views > Counting > Performance & Cachingto improve dashboard query performance. Default:False. - Server resources — Ensure your hosting environment has adequate resources for database queries, especially for sites with high traffic volumes.
Charts Not Rendering
If chart visualizations fail to render:
- Check browser console — JavaScript errors may prevent chart rendering. Open browser developer tools and check for errors.
- Verify script loading — Ensure admin scripts are loading correctly. Some security plugins or server configurations may block script execution.
- Clear browser cache — Cached scripts or styles may cause conflicts. Clear your browser cache and reload the dashboard.
