[WordPress] 外掛分享: Light Views Counter – Fast, Scalable View Counter for High-Traffic Sites

WordPress 外掛 Light Views Counter – Fast, Scalable View Counter for High-Traffic Sites 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Light Views Counter – Fast, Scalable View Counter for High-Traffic Sites」是 2025-11-01 上架。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2026-01-25,距離現在已有 32 天。
  • 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 論壇上目前有 1 個提問,問題解答率 100% ,不低,算是個很有心解決問題的開發者團隊了!

外掛協作開發者

themeruby |

外掛標籤

views | Counter | tracking | statistics | popular posts |

內容簡介

總結:Light Views Counter 是一個專業、高效能的 WordPress 外掛,透過智能滾動偵測追蹤文章瀏覽次數。特別設計給高流量網站和大型資料庫使用,可提供可靠的瀏覽追蹤,而不會增加查詢負擔或降低網站效能。適用於新聞站、雜誌、部落客及內容創作者,可幫助篩選熱門文章並顯示真正引起受眾共鳴的瀏覽次數。

問題與答案:
1. Light Views Counter 的偵測技術是如何運作的?
- A:它使用滾動偵測技術,只有在訪客實際閱讀內容時才計算瀏覽次數(可配置的滾動閾值)。

2. 這個外掛如何保護免受機器人干擾?
- A:自動過濾搜索引擎爬蟲和自動流量,以機器人保護功能。

3. Light Views Counter 的性能快嗎?
- A:它對頁面速度沒有任何影響,通過非同步 REST API 保證在後台進行計算,並具備內建快取系統減少數據庫負載。

4. 如何在文章中顯示瀏覽次數?
- A:這個外掛提供靈活的短代碼,只需使用 [lightvc_post_views] 短代碼即可在任何地方顯示瀏覽次數。

原文外掛簡介

Light Views Counter is a professional, high-performance WordPress plugin that tracks post and page views using intelligent scroll detection technology.
Designed for bloggers, news sites, magazines, and content creators, this plugin helps you understand what content truly resonates with your audience.
Built for speed and scalability, Light Views Counter is optimized for heavy-traffic websites and large post databases. It delivers reliable view tracking without adding query overhead or slowing down your site’s performance.
🎯 Why Choose Light Views Counter?
Tracking
* Scroll Detection Technology – Only counts views when visitors actually read your content (configurable scroll threshold)
* Bot Protection – Automatically filters out search engine crawlers and automated traffic
* Duplicate Prevention – Prevent counting the same user multiple times within a configurable time window
* Short Content Smart Detection – Intelligently handles posts that fit in viewport without requiring scroll
Lightning Fast Performance
* Zero Impact on Page Speed – Asynchronous REST API ensures counting happens in the background
* Built-in Caching – Transient-based caching system reduces database load
* sendBeacon API – Fire-and-forget counting for maximum performance (enabled by default)
Easy to Use
* Automatic Tracking – Works immediately after activation, no configuration required
* Flexible Shortcode – Display views anywhere with [lightvc_post_views] shortcode
* Popular Posts Widgets – Ready-to-use WordPress and Elementor widgets
* Auto-Display Option – Automatically show view counts at the end of posts
Developer Friendly
* Clean Public API – Simple functions: lightvc_get_post_views(), lightvc_get_popular_posts()
* WP_Query Integration – Sort posts by views: 'orderby' => 'lightvc_views'
* Hooks & Filters – Customize everything: lightvc_post_views_count, lightvc_views_html, lightvc_exclude_user
* REST API Endpoints – HTTP access for external integrations
Enterprise Ready
* High Traffic Optimized – Tested on sites with millions of views per day
* Cache Plugin Compatible – Works perfectly with WP Rocket, W3 Total Cache, LiteSpeed Cache, Cloudflare
* GDPR Compliant – No personal data collection, no cookies, privacy-focused
Perfect For

Bloggers – See which posts your readers love most
News Websites – Track trending stories and breaking news engagement
Magazine Sites – Identify top-performing content and popular topics
Content Marketers – Measure content performance and reader engagement
E-commerce – Track product page views and customer interest
Publishers – Understand content performance across categories

Key Features
Smart Counting System
* Scroll-based view detection
* Automatic short content detection and handling
* Configurable time window to prevent duplicate counts
* Admin user exclusion (don’t count your own views)
* Bot and crawler filtering
Widgets & Integration
* Standard WordPress widget for popular posts
* Display options: thumbnails, view counts, dates
* Fully customizable layouts
* Works in any widget area
Analytics & Reporting
* Admin dashboard with statistics
* Total views across all posts
* Most viewed posts list
* Average views per post
* Views column in posts list (sortable)
Performance Features
* Custom database table with optimized indexes
* Transient caching system
* Object cache support (Redis/Memcached)
* sendBeacon API for fire-and-forget requests
* Conditional script loading
* No external dependencies
Developer Tools
* WordPress hooks and filters
* view data REST API endpoints
* WP_Query orderby support
* Compatible with any theme
💻 For Developers
Light Views Counter provides a complete developer toolkit:
Basic Functions
Get post views:

Get popular posts:
10,
‘date_range’ => 7 // Last 7 days
) );
?>
WP_Query Integration
Sort posts by views:
‘post’,
‘orderby’ => ‘lightvc_views’,
‘order’ => ‘DESC’,
‘posts_per_page’ => 10
) );
?>
Hooks & Filters
Modify view count:
add_filter( ‘lightvc_post_views_count’, ‘my_custom_views’, 10, 2 );
Customize HTML output:
add_filter( ‘lightvc_views_html’, ‘my_custom_html’, 10, 3 );
Exclude specific users:
add_filter( ‘lightvc_exclude_user’, ‘my_user_exclusion’ );
Track view events:
add_action( ‘lightvc_views_counted’, ‘my_view_tracker’ );
REST API Endpoints

GET /wp-json/lightvc/v1/views/{post_id} – Get view count for a post

📱 Shortcode Usage
Display views anywhere using the flexible shortcode:
Basic usage:
[lightvc_post_views]
With custom style:
[lightvc_post_views style=”badge”]
With custom label:
[lightvc_post_views label=”Total Reads”]
For specific post:
[lightvc_post_views post_id=”123″]
All options:
[lightvc_post_views post_id=”123″ style=”badge” label=”Views” icon=”👁️” show_label=”true”]
Available styles: default, minimal, badge, compact
Translations & Compatibility
Language Support
* English (default)
* Translation ready with .pot file included
Theme Compatibility
* Works with any WordPress theme
* Deep integration with Foxiz News theme
Plugin Compatibility
* Cache Plugins: WP Rocket, W3 Total Cache, WP Super Cache, LiteSpeed Cache, Autoptimize
* CDN Services: Cloudflare, StackPath, KeyCDN, BunnyCDN
🔒 Privacy & Security
GDPR Compliant
* No personal data collection
* No cookies used
* No cross-site tracking
* localStorage is client-side only
* Complete transparency
Security Features
* Rate limiting to prevent abuse
* Admin capability checks
🔗 Useful Links

Plugin Homepage
Documentation
ThemeRuby Website
Support Forum

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Light Views Counter – Fast, Scalable View Counter for High-Traffic Sites」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.1.0 | trunk |

延伸相關外掛(你可能也想知道)

  • WP-PostViews 》使用方法, , 打開 wp-content/themes/<您的佈景主題名稱>/index.php , 您也可以將它放在 archive.php、single.php、post.php 或 page.php 中。, 尋找:...。
  • Post Views Count (Support caching plugins!) 》重要提示:3.0 版本支援快取外掛!, 當有人訪問一則文章或頁面(不包括搜尋引擎爬蟲時),它會將瀏覽次數加 1。, 但這還不是全部,這些計數器會分成逐日、逐...。
  • Post Hit Counter 》「文章瀏覽數計數器」(Post Hit Counter)會如其名所述,統計每篇文章的瀏覽數。瀏覽數會在文章清單中新增一欄、在文章編輯頁面的送出方塊裡和管理條上(在...。
  • Slim Jetpack 》Jetpack 是 Automattic 提供的一個超強的 WordPress 外掛套裝,但使用它需要 WordPress.com 帳戶,即使以前這些模組是獨立的外掛。此外,其行銷橫幅也非常惱...。
  • Post Views for Jetpack 》此外掛會顯示由 Jetpack 統計紀錄的每篇文章瀏覽數。, 此功能仍在開發中,我很樂意知道您希望在哪裡檢視文章瀏覽數。歡迎在支援論壇中創建新的主題讓我知道您...。
  • Pageviews 》Pageviews 是用於 WordPress 文章和頁面的簡單且輕量級的瀏覽次數統計插件。它基於 JavaScript,與所有緩存插件、代理和複雜配置兼容。Pageviews 使用託管處...。
  • AJAX Hits Counter + Popular Posts Widget 》本外掛使用外部 AJAX 計數器腳本來記錄文章的瀏覽次數,是最適合快取整個頁面或使用其他快取外掛的解決方案。, 此外,外掛還包含了「熱門文章」小工具,可根...。
  • Query Wrangler 》這個外掛可以讓你建立新的 WP 查詢作為小工具,並在你的頁面上使用簡碼進行查詢。它還允許你覆寫類別和標籤頁面的顯示方式。, Query Wrangler 的界面是一種高...。
  • Jetpack Lite 》許多人,像我一樣,非常想念WordPress.com Stats獨立外掛,只想使用Jetpack的這一部分。, 這個外掛完全阻止Jetpack載入除了Stats和WP.me短網址模組以外的所有...。
  • WP-PostViews Plus 》此外掛可以設定是否計算已註冊會員的瀏覽次數,或是首頁的瀏覽次數。, 區分使用者和機器人的方式是透過 HTTP_agent 來進行,並且可以在管理員頁面進行設定。。
  • Remoji – Post/Comment Reaction and Enhancement 》在文章、頁面或評論中添加 Slack 風格的表情符號。, 功能:, , , 對任何文章或評論使用表情反應。, , , 文章訪問記錄計數器。與所有緩存外掛兼容!易於使用。...。
  • WordPress Stats View Counter 》這個WordPress外掛可以將Jetpack網站統計模組的瀏覽次數儲存為文章的元資料,這樣你就可以在你的主題中顯示瀏覽次數並建立自訂查詢。此外,相較於其他追蹤瀏...。
  • Posts and Products Views for WooCommerce 》WordPress 外掛:Posts and Products Views for WooCommerce, , Posts and Products Views for WooCommerce 是由 SCI Intelligencia 團隊維護的外掛程式,可...。
  • bbPress Simple View Counts 》此外掛可以給你的 bbPress 2 討論版面新增瀏覽次數的計數器。此外掛會在兩個地方插入計數器:, 一個是在討論版面列表頁面、一個是在每個文章的頂端。, 你可以...。
  • Content Template Widget for Toolset Views 》內容模板小工具(Content Template Widget) (先前稱為 View Template Widget),可用於在主題小工具區域中插入與當前文章相關的訊息框。可以設定每個小工具要顯...。

文章
Filter
Apply Filters
Mastodon