plugin-icon

Light Views Counter – Fast, Scalable View Counter for High-Traffic Sites

제작자: ThemeRuby·
Lightweight and fast post view counter with smart tracking, built for high-traffic sites and large post databases.
버전
1.0.0
활성화된 설치 항목
60
최근 업데이트일
Nov 2, 2025
Light Views Counter – Fast, Scalable View Counter for High-Traffic Sites

Light Views Counter is a professional, high-performance WordPress plugin that tracks post views using intelligent scroll detection.

It is specifically designed for high-traffic websites and large databases, where other plugins often slow down or fail to perform efficiently. It delivers reliable view tracking without adding query overhead or slowing down your site’s performance.

Designed for news sites, magazines, bloggers, and content creators, this plugin helps you filter popular posts and show views that truly resonate with your audience.

🌟 Why Choose Light Views Counter?

Looking for a lightweight, reliable, and high-performance post views counter for WordPress? Light Views Counter is designed with precision and efficiency in mind, built to track genuine user engagement without slowing down your site.

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: 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:

Every feature is carefully engineered to ensure accuracy, speed, and seamless integration with your WordPress site. From smart counting logic and flexible widgets to detailed analytics and developer-friendly APIs.

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
  • WP cache support
  • sendBeacon API for fire-and-forget requests
  • Conditional script loading
  • No external dependencies

Translations & Compatibility

  • Translation ready with .pot file included
  • Works with any WordPress theme
  • Deep integration with Foxiz News theme
  • Cache Plugins: WP Rocket, W3 Total Cache, WP Super Cache, LiteSpeed Cache, Autoptimize
  • CDN Services: Cloudflare, StackPath, KeyCDN, BunnyCDN

🔒 Privacy & Security

  • No personal data collection
  • No cookies used
  • No cross-site tracking
  • localStorage is client-side only
  • Complete transparency
  • Rate limiting to prevent abuse
  • Admin capability checks

Configuration (Optional)

After activation, you can customize settings:

Navigate to Settings > Light Views Counter With Foxiz Theme: Navigate to Foxiz Admin > Light Views Counter

The plugin features a modern admin interface with toast notifications, and organized sections.

Available Settings:

Easily customize how Light Views Counter works on your site. Every option is designed to give you full control while keeping things fast, and easy to manage.

Tracking Settings:

  • Scroll Threshold (default: 50%) – How far users must scroll before counting a view
  • Time Window (default: 1800 seconds / 30 minutes) – Prevents duplicate counts from same user
  • Supported Post Types (default: Posts) – Select which post types to track (Posts, Pages, Custom Types)
  • Fast Mode (default: Enabled) – Uses sendBeacon API for maximum performance

Performance Settings:

  • Enable Caching (default: Enabled) – Cache view counts for better performance
  • Cache Duration (default: 300 seconds / 5 minutes) – How long to cache data
  • Query Method (default: Subquery) – Choose Subquery (<100k posts) or JOIN (100k+ posts) for orderby queries

Display Settings:

  • Show Views on Content (default: Disabled) – Auto-display view count at end of posts

API Settings:

  • Enable GET Endpoint (default: Disabled) – Allow public REST API access to view counts

Getting Started

  1. Verify Tracking – Visit any post on your site, scroll down, then check the admin dashboard statistics
  2. Add Widgets – Go to Appearance > Widgets and add “Popular Posts (Light Views Counter)”
  3. View Statistics – Check the Views column in your Posts list (admin area)

That’s it! Your site is now tracking post views intelligently.

💻 For Developers

Light Views Counter provides a complete developer toolkit:

PHP Functions:

  • lightvc_get_post_views( $post_id )
  • lightvc_get_popular_posts( $args )

WP_Query Integration:

  • 'orderby' => 'lightvc_views'

Hooks & Filters:

  • lightvc_post_views_count
  • lightvc_views_html
  • lightvc_exclude_user
  • lightvc_views_counted

REST API:

  • GET /wp-json/lightvc/v1/views/{id}
  • POST /wp-json/lightvc/v1/count

🔗 Useful Links

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.8.3
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.