RW PostViewStats Lite

Descripción

RW PostViewStats Lite provides accurate view tracking for posts, pages, and custom post types — designed for performance and privacy.

🆓 Lite Version Features:
– 🔢 AJAX View Counting – Async requests for better performance
– 🚫 Duplicate Prevention – 12-hour cookie-based protection
– 📊 Sortable Admin Columns – Sort posts by views in admin list
– 📁 Data Cleaner – Remove view data by date or post
– 🌐 REST API Endpoint – Fetch view counts via /wp-json/rwpsl/v1/views/{post_id}
– 📌 Shortcode Support – Display views with [rwpsl_post_views]
– 🔒 Privacy Friendly – No IP addresses collected

⭐ Pro Version Additional Features:
– 🌍 Multisite Support – Network-wide tracking for WordPress Multisite
– 📈 Advanced Analytics – Detailed views reports and charts
– 📁 CSV Export – Export stats by date range or specific posts
– 🔔 Views Notifications – Get notified when posts reach view milestones
– 🎯 Custom Post Type Support – Enhanced CPT tracking options
– ⚡ Performance Optimizations – Cached views and batch processing

Documentation:
Full Documentation – Includes both free and pro version guides.

Capturas

  • Settings Page – Main configuration screen
  • Admin Post List – Shows sortable «Views» column
  • Data Management – Clean view data by date or post
  • REST API Example – JSON response from views endpoint

Instalación

  1. Upload the rw-postviewstats-lite folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure settings in Settings RW PostViewStats Lite (optional)

Preguntas frecuentes

Can this plugin track views of custom post types?

Yes. By default, it tracks the ‘post’ and ‘page’ types. You can add support for any custom post type using a filter hook in your theme or another plugin:
`php
add_filter(‘rwpsl_supported_post_types’, function($types) {
$types[] = ‘your_custom_post_type’;
return $types;
});

How are duplicate views prevented?

The plugin uses browser cookies to ignore repeat visits from the same user for 12 hours.

What data does the plugin collect?

The plugin only stores post view counts in your WordPress database. It uses a cookie to prevent duplicate counting but does not collect any personal information or IP addresses.

What are the system requirements?

Tested with:
WordPress 6.6 to 6.8
PHP 8.2 to 8.4
MySQL 5.7 to 8.0

How can I display view counts on my site?

You can use the shortcode [rwpsl_post_views] in posts/pages/widgets, or use the provided REST API endpoint.

Does this plugin support WordPress Multisite?

Multisite support is available in the Pro version. The Lite version works on single WordPress installations.

How to add translations?

Copy /languages/rw-postviewstats-lite.pot and create your translation files. Submit your .po file to help improve the plugin.

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«RW PostViewStats Lite» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «RW PostViewStats Lite» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.0.2

Fix the problem of $_POST not being sanitized

1.0.1

Standard constant naming
Fix REST API callback permissions
Add protection code to HTML template

1.0.0

Initial release with AJAX tracking
Cookie-based duplicate prevention
REST API integration
Shortcode for displaying views