The Hits List keeps post view tracking on your own WordPress site and gives you block, widget, and template-tag tools for displaying popular content. Key features: Local view tracking stored in WordPress database tables, with hourly precision for recent activity Import and export your view counts as
Article performance in the editor, with lifetime views, 7-/30-day charts, accessible daily tables, and history-aware comparisons
Post, category, and tag suppression across public lists and dashboard rankings without losing view counts
Top 10 migration compatibility with resumable rerun-safe imports, WP-CLI tools, legacy widget support, native widget conversion, cleanup for old Top 10 leftovers, and optional Top 10 plugin removal
REST-based tracking with AJAX fallback
Privacy-policy integration for site owners
Privacy
The Hits List stores post view counts locally in the hits_list , hits_list_daily , and hits_list_hourly database tables (table prefix may vary).
It does not send tracking data to a third-party analytics service.
Daily tracking buckets are retained for 180 days and hourly buckets for 48 hours by default. Older rows are removed automatically. Permanent content deletion removes its stored counts; moving content to Trash keeps its history by default.
You are responsible for describing your use of visitor analytics on your own site as needed.
Source Code and Build Tools
The compiled block assets in blocks/popular-posts/build/ are generated from the human-readable source files included in blocks/popular-posts/src/ .
To rebuild the block assets:
01Go to blocks/popular-posts/ .
02Run npm install .
03Run npm run build .
The block build uses @wordpress/scripts . Runtime PHP, vanilla JavaScript, and CSS assets outside the block build are maintained directly in the plugin source.
02 / Source details
Gettingstarted.
01Upload the the-hits-list folder to /wp-content/plugins/ .
02Activate The Hits List through the Plugins screen in WordPress.
03Go to Settings > The Hits List to configure tracking and display options.
04If Top 10 data is detected, use the import button on the settings screen to migrate existing counts.
05After importing and converting widgets, use Clean Up Top 10 to remove old Top 10 tables, options, transients, metadata, and cron hooks.
06Use Remove Top 10 Plugin to deactivate and delete the old plugin when you are ready.
03 / Source details
Frequently asked questions.
Does this send data to a third-party service?
No. The Hits List stores tracking data locally in your WordPress database and does not call a third-party analytics endpoint.
Can I migrate from Top 10?
Yes. The plugin can import compatible overall and daily counts from Top 10 tables. Imports are SQL-backed, resumable, and rerun-safe, so repeating the import does not double-count unchanged source data. Very large imports can be monitored from the settings screen or run through WP-CLI. If Top 10 is deactivated, existing Top 10 Popular Posts widgets can continue rendering through The Hits List using their saved settings, and the settings screen can convert those placements into native The Hits List widgets. After the import and widget conversion are complete, the settings screen also exposes Clean Up Top 10 and Remove Top 10 Plugin buttons to remove leftover Top 10 database data and delete the old plugin.
How long is daily data kept?
Daily buckets are retained for 180 days by default. Older daily rows are pruned automatically by a scheduled cleanup task.
What does the Trend score mean?
Trending compares the last three completed days with the preceding fourteen completed days in your site’s timezone, excluding today. The score is (recent + k) / (prior * recent_days / prior_days + k) , where recent and prior are recorded view totals and k is 200 pseudo views in the recent window by default. A score of 1.00 means a steady recorded daily rate. It is a smoothed ranking score, not a literal growth multiplier or percentage.
The dashboard labels new posts, no recorded prior views, thin prior evidence, and unknown or incomplete history. Tracking coverage is recorded prospectively; legacy or imported rows do not establish uninterrupted tracking. Missing history can affect scores. The thehili_trending_recent_days , thehili_trending_prior_days , and thehili_trending_smoothing filters can adjust the windows and smoothing.
Why might Views Over Time show insufficient history?
The card charts the last 30 completed local days and compares them with the preceding 30 completed days. Today is excluded, and exact dates and the site’s timezone are shown. Percentages require covered retained history in both periods and a nonzero recorded baseline. Unknown or incomplete coverage, a known zero baseline, and a failed data read each get a clear message. When a complete daily subset is known, its available date range is shown beside an insufficient-history report.
Expand Daily counts and coverage to inspect recorded totals and each day’s coverage. A zero with unknown or incomplete coverage does not establish zero readership. Coverage describes prospectively observed, retained recorded counts; legacy or imported rows do not prove uninterrupted tracking, and coverage does not guarantee every browser view reached the tracker. Suppressed posts remain included in site totals.
Can I keep a post or category out of rankings?
Yes. Check Suppress this post from rankings in the post editor and save, or go to Settings > The Hits List > Ranking Suppression , select categories and tags by name, and save changes. Search keeps selected terms visible, and the checkboxes work without JavaScript.
A match against any selected category or tag suppresses the post from public popular/trending lists and dashboard rankings, including Refresh Candidates. Child Categories is off by default; enable it to include all descendants of selected categories.
View tracking, individual counts, and existing count history remain intact; normal retention still applies. Clear the post checkbox and any matching term rules to restore eligibility. Other list filters and ranking limits still determine whether the post appears. If your site caches rendered pages, purge that page cache to update lists already stored in page HTML.
Can editors inspect an article’s recent performance?
Yes. The Hits List panel on the edit screen shows lifetime views and selectable 7-/30-day daily charts, with an accessible table. Both periods use completed days in the site’s timezone, and the comparison labels insufficient history, a new article’s limited baseline, and a zero prior total. Editors who can edit the article can read its performance; the admins-only metabox setting continues to restrict editable controls. Switching periods and saving ordinary content do not change counts.
Can I limit popular lists to recently published posts?
Yes. Set Maximum post age (days) in the Popular Posts block or widget, use [thl_list max_age_days="30"] , or pass max_age_days to a list template tag. Values range from 0 to 36500: 0 (the default) leaves age unlimited, 1 includes today, and 30 includes today plus the preceding 29 calendar days. Negative or invalid values leave age unlimited.
The inclusive cutoff is local midnight in the site’s timezone and uses the publication date, not the last edit. This filter works with lifetime, daily/hourly, and trending rankings, separately from their view-count windows. It combines with other filters before the list limit and offset; tracking, stored counts, and individual reports remain intact.
Can I remove an article’s counts through WP-CLI?
Yes. Preview with wp the-hits-list delete-post-counts 123 456 --dry-run , then remove those IDs’ lifetime, daily, and hourly rows with wp the-hits-list delete-post-counts 123 456 . The articles remain intact. All IDs are validated before any deletion, affected caches are refreshed, and the command reports per-table rows and warns about IDs with no counts.
On multisite, the default is the current WP-CLI site; --blog-id=2 selects another existing site. Partial failures exit nonzero and report confirmed progress. Rerunning removes remaining rows; deletions are not transactional.
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati