{"id":258317,"date":"2025-11-02T03:44:17","date_gmt":"2025-11-02T03:44:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/light-views-counter\/"},"modified":"2026-03-18T02:34:37","modified_gmt":"2026-03-18T02:34:37","slug":"light-views-counter","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/light-views-counter\/","author":16603309,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.0","stable_tag":"1.2.0","tested":"6.9.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Light Views Counter","header_author":"ThemeRuby","header_description":"Lightweight and fast post view counter with smart tracking, built for high-traffic sites and large post databases.","assets_banners_color":"d7ddec","last_updated":"2026-03-18 02:34:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/themeruby.com\/light-views-counter","header_author_uri":"https:\/\/themeruby.com\/","rating":0,"author_block_rating":0,"active_installs":2000,"downloads":5397,"num_ratings":0,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"themeruby","date":"2025-11-02 11:23:48"},"1.1.0":{"tag":"1.1.0","author":"themeruby","date":"2026-01-25 06:53:31"},"1.2.0":{"tag":"1.2.0","author":"themeruby","date":"2026-03-18 02:34:37"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.gif":{"filename":"icon-128x128.gif","revision":3388219,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.gif":{"filename":"icon-256x256.gif","revision":3388219,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3388219,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3388223,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3388219,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3388219,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3388219,"resolution":"3","location":"assets","locale":""},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":3388219,"resolution":"4","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[869,1086,521,550,872],"plugin_category":[36],"plugin_contributors":[238660],"plugin_business_model":[],"class_list":["post-258317","plugin","type-plugin","status-publish","hentry","plugin_tags-counter","plugin_tags-popular-posts","plugin_tags-statistics","plugin_tags-tracking","plugin_tags-views","plugin_category-analytics","plugin_contributors-themeruby","plugin_committers-themeruby","plugin_support_reps-rubystudio"],"banners":{"banner":"https:\/\/ps.w.org\/light-views-counter\/assets\/banner-772x250.jpg?rev=3388223","banner_2x":"https:\/\/ps.w.org\/light-views-counter\/assets\/banner-1544x500.jpg?rev=3388219","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/light-views-counter\/assets\/icon-128x128.gif?rev=3388219","icon_2x":"https:\/\/ps.w.org\/light-views-counter\/assets\/icon-256x256.gif?rev=3388219","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/light-views-counter\/assets\/screenshot-1.jpg?rev=3388219","caption":""},{"src":"https:\/\/ps.w.org\/light-views-counter\/assets\/screenshot-2.jpg?rev=3388219","caption":""},{"src":"https:\/\/ps.w.org\/light-views-counter\/assets\/screenshot-3.jpg?rev=3388219","caption":""},{"src":"https:\/\/ps.w.org\/light-views-counter\/assets\/screenshot-4.jpg?rev=3388219","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>Light Views Counter<\/strong> is a professional, high-performance WordPress plugin that tracks post and page views using <strong>intelligent scroll detection technology<\/strong>.<\/p>\n\n<p>Designed for <strong>bloggers, news sites, magazines, and content creators<\/strong>, this plugin helps you understand what content truly resonates with your audience.<\/p>\n\n<p>Built for <strong>speed and scalability<\/strong>, Light Views Counter is optimized for <strong>heavy-traffic websites<\/strong> and large post databases. It delivers reliable view tracking <strong>without adding query overhead<\/strong> or slowing down your site\u2019s performance.<\/p>\n\n<h4>\ud83c\udfaf Why Choose Light Views Counter?<\/h4>\n\n<p><strong>Tracking<\/strong>\n* <strong>Scroll Detection Technology<\/strong> - Only counts views when visitors actually read your content (configurable scroll threshold)\n* <strong>Bot Protection<\/strong> - Automatically filters out search engine crawlers and automated traffic\n* <strong>Duplicate Prevention<\/strong> - Prevent counting the same user multiple times within a configurable time window\n* <strong>Short Content Smart Detection<\/strong> - Intelligently handles posts that fit in viewport without requiring scroll<\/p>\n\n<p><strong>Lightning Fast Performance<\/strong>\n* <strong>Zero Impact on Page Speed<\/strong> - Asynchronous REST API ensures counting happens in the background\n* <strong>Built-in Caching<\/strong> - Transient-based caching system reduces database load\n* <strong>sendBeacon API<\/strong> - Fire-and-forget counting for maximum performance (enabled by default)<\/p>\n\n<p><strong>Easy to Use<\/strong>\n* <strong>Automatic Tracking<\/strong> - Works immediately after activation, no configuration required\n* <strong>Flexible Shortcode<\/strong> - Display views anywhere with <code>[lightvc_post_views]<\/code> shortcode\n* <strong>Popular Posts Widgets<\/strong> - Ready-to-use WordPress and Elementor widgets\n* <strong>Auto-Display Option<\/strong> - Automatically show view counts at the end of posts<\/p>\n\n<p><strong>Developer Friendly<\/strong>\n* <strong>Clean Public API<\/strong> - Simple functions: <code>lightvc_get_post_views()<\/code>, <code>lightvc_get_popular_posts()<\/code>\n* <strong>WP_Query Integration<\/strong> - Sort posts by views: <code>'orderby' =&gt; 'lightvc_views'<\/code>\n* <strong>Hooks &amp; Filters<\/strong> - Customize everything: <code>lightvc_post_views_count<\/code>, <code>lightvc_views_html<\/code>, <code>lightvc_exclude_user<\/code>\n* <strong>REST API Endpoints<\/strong> - HTTP access for external integrations<\/p>\n\n<p><strong>Enterprise Ready<\/strong>\n* <strong>High Traffic Optimized<\/strong> - Tested on sites with millions of views per day\n* <strong>Cache Plugin Compatible<\/strong> - Works perfectly with WP Rocket, W3 Total Cache, LiteSpeed Cache, Cloudflare\n* <strong>GDPR Compliant<\/strong> - No personal data collection, no cookies, privacy-focused<\/p>\n\n<h4>Perfect For<\/h4>\n\n<ul>\n<li><strong>Bloggers<\/strong> - See which posts your readers love most<\/li>\n<li><strong>News Websites<\/strong> - Track trending stories and breaking news engagement<\/li>\n<li><strong>Magazine Sites<\/strong> - Identify top-performing content and popular topics<\/li>\n<li><strong>Content Marketers<\/strong> - Measure content performance and reader engagement<\/li>\n<li><strong>E-commerce<\/strong> - Track product page views and customer interest<\/li>\n<li><strong>Publishers<\/strong> - Understand content performance across categories<\/li>\n<\/ul>\n\n<h4>Key Features<\/h4>\n\n<p><strong>Smart Counting System<\/strong>\n* Scroll-based view detection\n* Automatic short content detection and handling\n* Configurable time window to prevent duplicate counts\n* Admin user exclusion (don't count your own views)\n* Bot and crawler filtering<\/p>\n\n<p><strong>Widgets &amp; Integration<\/strong>\n* Standard WordPress widget for popular posts\n* Display options: thumbnails, view counts, dates\n* Fully customizable layouts\n* Works in any widget area<\/p>\n\n<p><strong>Analytics &amp; Reporting<\/strong>\n* Admin dashboard with statistics\n* Total views across all posts\n* Most viewed posts list\n* Average views per post\n* Views column in posts list (sortable)<\/p>\n\n<p><strong>Performance Features<\/strong>\n* Custom database table with optimized indexes\n* Transient caching system\n* Object cache support (Redis\/Memcached)\n* sendBeacon API for fire-and-forget requests\n* Conditional script loading\n* No external dependencies<\/p>\n\n<p><strong>Developer Tools<\/strong>\n* WordPress hooks and filters\n* view data REST API endpoints\n* WP_Query orderby support\n* Compatible with any theme<\/p>\n\n<h4>\ud83d\udcbb For Developers<\/h4>\n\n<p>Light Views Counter provides a complete developer toolkit:<\/p>\n\n<p><strong>Basic Functions<\/strong><\/p>\n\n<p>Get post views:\n    <\/p>\n\n<p>Get popular posts:\n     10,\n        'date_range' =&gt; 7  \/\/ Last 7 days\n    ) );\n    ?&gt;<\/p>\n\n<p><strong>WP_Query Integration<\/strong><\/p>\n\n<p>Sort posts by views:\n     'post',\n        'orderby' =&gt; 'lightvc_views',\n        'order' =&gt; 'DESC',\n        'posts_per_page' =&gt; 10\n    ) );\n    ?&gt;<\/p>\n\n<p><strong>Hooks &amp; Filters<\/strong><\/p>\n\n<p>Modify view count:\n    add_filter( 'lightvc_post_views_count', 'my_custom_views', 10, 2 );<\/p>\n\n<p>Customize HTML output:\n    add_filter( 'lightvc_views_html', 'my_custom_html', 10, 3 );<\/p>\n\n<p>Exclude specific users:\n    add_filter( 'lightvc_exclude_user', 'my_user_exclusion' );<\/p>\n\n<p>Track view events:\n    add_action( 'lightvc_views_counted', 'my_view_tracker' );<\/p>\n\n<p><strong>REST API Endpoints<\/strong><\/p>\n\n<ul>\n<li><code>GET \/wp-json\/lightvc\/v1\/views\/{post_id}<\/code> - Get view count for a post<\/li>\n<\/ul>\n\n<h4>\ud83d\udcf1 Shortcode Usage<\/h4>\n\n<p>Display views anywhere using the flexible shortcode:<\/p>\n\n<p><strong>Basic usage:<\/strong>\n    [lightvc_post_views]<\/p>\n\n<p><strong>With custom style:<\/strong>\n    [lightvc_post_views style=\"badge\"]<\/p>\n\n<p><strong>With custom label:<\/strong>\n    [lightvc_post_views label=\"Total Reads\"]<\/p>\n\n<p><strong>For specific post:<\/strong>\n    [lightvc_post_views post_id=\"123\"]<\/p>\n\n<p><strong>All options:<\/strong>\n    [lightvc_post_views post_id=\"123\" style=\"badge\" label=\"Views\" icon=\"\ud83d\udc41\ufe0f\" show_label=\"true\"]<\/p>\n\n<p>Available styles: <code>default<\/code>, <code>minimal<\/code>, <code>badge<\/code>, <code>compact<\/code><\/p>\n\n<h4>Translations &amp; Compatibility<\/h4>\n\n<p><strong>Language Support<\/strong>\n* English (default)\n* Translation ready with .pot file included<\/p>\n\n<p><strong>Theme Compatibility<\/strong>\n* Works with any WordPress theme\n* Deep integration with Foxiz News theme<\/p>\n\n<p><strong>Plugin Compatibility<\/strong>\n* <strong>Cache Plugins<\/strong>: WP Rocket, W3 Total Cache, WP Super Cache, LiteSpeed Cache, Autoptimize\n* <strong>CDN Services<\/strong>: Cloudflare, StackPath, KeyCDN, BunnyCDN<\/p>\n\n<h4>\ud83d\udd12 Privacy &amp; Security<\/h4>\n\n<p><strong>GDPR Compliant<\/strong>\n* No personal data collection\n* No cookies used\n* No cross-site tracking\n* localStorage is client-side only\n* Complete transparency<\/p>\n\n<p><strong>Security Features<\/strong>\n* Rate limiting to prevent abuse\n* Admin capability checks<\/p>\n\n<h4>\ud83d\udd17 Useful Links<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/themeruby.com\/light-views-counter\">Plugin Homepage<\/a><\/li>\n<li><a href=\"https:\/\/themeruby.com\/light-views-counter\/docs\/\">Documentation<\/a><\/li>\n<li><a href=\"https:\/\/themeruby.com\">ThemeRuby Website<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/support\/plugin\/light-views-counter\/\">Support Forum<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Automatic Installation (Recommended)<\/h4>\n\n<ol>\n<li>Log in to your WordPress admin dashboard<\/li>\n<li>Navigate to <strong>Plugins &gt; Add New<\/strong><\/li>\n<li>Search for \"Light Views Counter\"<\/li>\n<li>Click <strong>Install Now<\/strong> button<\/li>\n<li>Click <strong>Activate<\/strong> button<\/li>\n<li>Done! The plugin starts tracking views immediately<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin ZIP file<\/li>\n<li>Log in to your WordPress admin dashboard<\/li>\n<li>Navigate to <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong><\/li>\n<li>Click <strong>Choose File<\/strong> and select the downloaded ZIP file<\/li>\n<li>Click <strong>Install Now<\/strong><\/li>\n<li>Click <strong>Activate Plugin<\/strong><\/li>\n<\/ol>\n\n<h4>Manual Upload via FTP<\/h4>\n\n<ol>\n<li>Download and extract the plugin ZIP file<\/li>\n<li>Upload the <code>light-views-counter<\/code> folder to <code>\/wp-content\/plugins\/<\/code> directory via FTP<\/li>\n<li>Log in to WordPress admin dashboard<\/li>\n<li>Navigate to <strong>Plugins<\/strong> page<\/li>\n<li>Find <strong>Light Views Counter<\/strong> and click <strong>Activate<\/strong><\/li>\n<\/ol>\n\n<h4>Configuration (Optional)<\/h4>\n\n<p>After activation, you can customize settings:<\/p>\n\n<ul>\n<li>Navigate to <strong>Settings &gt; Light Views Counter<\/strong><\/li>\n<li><strong>With Foxiz Theme<\/strong>: Navigate to <strong>Foxiz Admin &gt; Light Views Counter<\/strong><\/li>\n<\/ul>\n\n<p>The plugin features a modern admin interface with <strong>AJAX auto-save<\/strong> (settings save automatically), toast notifications, and organized sections.<\/p>\n\n<p><strong>Available Settings:<\/strong><\/p>\n\n<p><em>Tracking Settings:<\/em>\n* <strong>Scroll Threshold<\/strong> (default: 50%) - How far users must scroll before counting a view\n* <strong>Time Window<\/strong> (default: 1800 seconds \/ 30 minutes) - Prevents duplicate counts from same user\n* <strong>Supported Post Types<\/strong> (default: Posts) - Select which post types to track (Posts, Pages, Custom Types)\n* <strong>Fast Mode<\/strong> (default: Enabled) - Uses sendBeacon API for maximum performance<\/p>\n\n<p><em>Performance Settings:<\/em>\n* <strong>Enable Caching<\/strong> (default: Enabled) - Cache view counts for better performance\n* <strong>Cache Duration<\/strong> (default: 300 seconds \/ 5 minutes) - How long to cache data\n* <strong>Query Method<\/strong> (default: Subquery) - Choose Subquery (&lt;100k posts) or JOIN (100k+ posts) for orderby queries<\/p>\n\n<p><em>Display Settings:<\/em>\n* <strong>Show Views on Content<\/strong> (default: Disabled) - Auto-display view count at end of posts<\/p>\n\n<p><em>API Settings:<\/em>\n* <strong>Enable GET Endpoint<\/strong> (default: Disabled) - Allow public REST API access to view counts<\/p>\n\n<p><h4>Getting Started<\/h4><\/p>\n\n<ol>\n<li><strong>Verify Tracking<\/strong> - Visit any post on your site, scroll down, then check the admin dashboard statistics<\/li>\n<li><strong>Add Widgets<\/strong> - Go to <strong>Appearance &gt; Widgets<\/strong> and add \"Popular Posts (Light Views Counter)\"<\/li>\n<li><strong>View Statistics<\/strong> - Check the Views column in your Posts list (admin area)<\/li>\n<\/ol>\n\n<p>That's it! Your site is now tracking post views intelligently.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"general%20questions\"><h3>General Questions<\/h3><\/dt>\n<dd><\/dd>\n<dt id=\"will%20this%20plugin%20slow%20down%20my%20website%3F\"><h3>Will this plugin slow down my website?<\/h3><\/dt>\n<dd><p>Absolutely not! Light Views Counter is designed for <strong>zero performance impact<\/strong>:<\/p>\n\n<ul>\n<li>View counting happens <strong>asynchronously<\/strong> after page load<\/li>\n<li>Uses <strong>sendBeacon API<\/strong> for fire-and-forget requests<\/li>\n<li>Scripts only load on single posts\/pages (not on homepage or archives)<\/li>\n<li>Built-in caching reduces database load<\/li>\n<li>Tested on high-traffic sites with millions of views<\/li>\n<\/ul>\n\n<p>Your visitors won't notice any difference in page load speed.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20gdpr%20compliant%3F\"><h3>Is this plugin GDPR compliant?<\/h3><\/dt>\n<dd><p>Yes, 100% GDPR compliant! Light Views Counter:<\/p>\n\n<p>No privacy policy update needed.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20caching%20plugins%3F\"><h3>Does it work with caching plugins?<\/h3><\/dt>\n<dd><p>Yes! Light Views Counter is specifically designed to work with all major caching plugins:<\/p>\n\n<ul>\n<li>WP Rocket \u2713<\/li>\n<li>W3 Total Cache \u2713<\/li>\n<li>WP Super Cache \u2713<\/li>\n<li>LiteSpeed Cache \u2713<\/li>\n<li>Autoptimize \u2713<\/li>\n<li>Cloudflare \u2713<\/li>\n<\/ul>\n\n<p>View counting uses REST API which automatically bypasses page cache.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20i%20deactivate%20or%20delete%20the%20plugin%3F\"><h3>What happens when I deactivate or delete the plugin?<\/h3><\/dt>\n<dd><p><strong>Deactivation<\/strong>: View data is preserved, tracking stops temporarily\n<strong>Deletion<\/strong>: All plugin data (including view counts) is permanently removed from database<\/p><\/dd>\n<dt id=\"counting%20%26%20tracking\"><h3>Counting &amp; Tracking<\/h3><\/dt>\n<dd><\/dd>\n<dt id=\"how%20does%20the%20smart%20counting%20work%3F\"><h3>How does the smart counting work?<\/h3><\/dt>\n<dd><p>Light Views Counter uses <strong>intelligent scroll detection<\/strong>:<\/p>\n\n<p><strong>For long posts:<\/strong>\n* Waits until visitor scrolls to threshold (default: 50%)\n* Confirms visitor is actually reading content\n* Filters out bots and accidental clicks<\/p>\n\n<p><strong>For short posts:<\/strong>\n* Automatically detects content fits in viewport\n* Counts after 1 seconds (confirms visitor sees content)\n* No need to wait for scroll that won't happen<\/p>\n\n<p>This ensures only <strong>genuine engagement<\/strong> is counted.<\/p><\/dd>\n<dt id=\"why%20are%20my%20view%20counts%20lower%20than%20other%20analytics%3F\"><h3>Why are my view counts lower than other analytics?<\/h3><\/dt>\n<dd><p>This is actually a <strong>good thing<\/strong>! Here's why:<\/p>\n\n<p><strong>Light Views Counter counts:<\/strong> Real engagement (people who actually read)\n<strong>Google Analytics counts:<\/strong> Every page load (including bounces, bots, accidental clicks)<\/p>\n\n<p>Lower, more accurate numbers give you <strong>true insights<\/strong> into content performance.<\/p><\/dd>\n<dt id=\"will%20it%20count%20the%20same%20visitor%20multiple%20times%3F\"><h3>Will it count the same visitor multiple times?<\/h3><\/dt>\n<dd><p>Not within the configured time window (default: 1800 seconds \/ 30 minutes):<\/p>\n\n<ul>\n<li>Uses <strong>localStorage<\/strong> to remember recently viewed posts<\/li>\n<li>Prevents counting page refreshes and back-button clicks<\/li>\n<li>Configurable time window in settings (in seconds)<\/li>\n<li>Respects user privacy (no cookies)<\/li>\n<\/ul>\n\n<p>This gives you <strong>accurate unique views<\/strong> per time period.<\/p><\/dd>\n<dt id=\"does%20it%20count%20bot%20traffic%3F\"><h3>Does it count bot traffic?<\/h3><\/dt>\n<dd><p>No! Bots are automatically filtered. Your view counts reflect <strong>real human readers<\/strong> only.<\/p><\/dd>\n<dt id=\"how%20do%20i%20display%20view%20counts%3F\"><h3>How do I display view counts?<\/h3><\/dt>\n<dd><p>You have <strong>4 flexible options<\/strong>:<\/p>\n\n<p><strong>1. Shortcode (easiest):<\/strong>\n    [lightvc_post_views] - Add anywhere in post content<\/p>\n\n<p><strong>2. Automatic display:<\/strong>\nEnable in Settings &gt; Light Views Counter<\/p>\n\n<p><strong>3. PHP function:<\/strong>\n    <\/p>\n\n<p><strong>4. Widgets:<\/strong>\nUse Popular Posts widget in sidebars<\/p><\/dd>\n<dt id=\"how%20do%20i%20add%20a%20popular%20posts%20widget%3F\"><h3>How do I add a Popular Posts widget?<\/h3><\/dt>\n<dd><p><strong>For WordPress:<\/strong>\n1. Go to Appearance &gt; Widgets\n2. Drag \"Popular Posts (Light Views Counter)\" to widget area\n3. Configure options and save<\/p>\n\n<p><strong>For Elementor:<\/strong>\n1. Edit page with Elementor\n2. Search for \"Popular Posts (Light Views Counter)\"\n3. Drag widget to desired location\n4. Customize styling<\/p><\/dd>\n<dt id=\"can%20i%20show%20popular%20posts%20from%20specific%20time%20periods%3F\"><h3>Can I show popular posts from specific time periods?<\/h3><\/dt>\n<dd><p>Yes! Both widgets support:<\/p>\n\n<ul>\n<li>All time<\/li>\n<li>Last 7 days<\/li>\n<li>Last 15 days<\/li>\n<li>Last 30 days<\/li>\n<\/ul>\n\n<p>Perfect for showing \"Trending Now\" vs \"All-Time Popular\" sections.<\/p><\/dd>\n<dt id=\"is%20there%20an%20api%20for%20developers%3F\"><h3>Is there an API for developers?<\/h3><\/dt>\n<dd><p>Yes! Comprehensive developer tools:<\/p>\n\n<p><strong>PHP Functions:<\/strong>\n* <code>lightvc_get_post_views( $post_id )<\/code>\n* <code>lightvc_get_popular_posts( $args )<\/code><\/p>\n\n<p><strong>WP_Query Integration:<\/strong>\n* <code>'orderby' =&gt; 'lightvc_views'<\/code><\/p>\n\n<p><strong>Hooks &amp; Filters:<\/strong>\n* <code>lightvc_post_views_count<\/code>\n* <code>lightvc_views_html<\/code>\n* <code>lightvc_exclude_user<\/code>\n* <code>lightvc_views_counted<\/code><\/p>\n\n<p><strong>REST API:<\/strong>\n* <code>GET \/wp-json\/lightvc\/v1\/views\/{id}<\/code>\n* <code>POST \/wp-json\/lightvc\/v1\/count<\/code><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added: Delete Data on Uninstall setting<\/li>\n<li>Fixed: Scroll Threshold and Time Window now accept 0 value<\/li>\n<li>Fixed: Time Window unit calculation (seconds, not minutes)<\/li>\n<li>Fixed: Supported Post Types setting now properly enforced<\/li>\n<li>Improved: Consistent default values across PHP and JavaScript<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Security Enhancements<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p><strong>Initial Release<\/strong><\/p>","raw_excerpt":"Lightweight and fast post view counter with smart tracking, built for high-traffic sites and large post databases.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/258317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=258317"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/themeruby"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=258317"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=258317"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=258317"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=258317"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=258317"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=258317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}