=== Product View Count ===  
Contributors: al-imran-akash  
Tags: product view count, woocommerce product view count, view count, product view number, product view  
Requires at least: 6.0  
Tested up to: 6.7  
Stable tag: 2.0.0
Requires PHP: 7.4  
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

Track and display the number of times a WooCommerce product page is viewed with an advanced React-based analytics dashboard, helping you gain deep insights into customer interest and behavior.

== Description ==
WooCommerce is a popular e-commerce plugin for the WordPress platform. The **Product View Count** plugin allows store owners to track how many times a product page has been viewed on their website with a powerful, modern analytics dashboard. This comprehensive solution provides detailed insights into customer behavior and product performance through interactive charts, statistics, and data visualization.

The plugin now features a **React-based analytics dashboard** that displays view trends, top-performing products, and comprehensive statistics in an intuitive interface. Store owners can analyze data over custom date ranges, track product performance over time, and make data-driven decisions about their inventory and marketing strategies.

Additionally, this feature can help identify which products may need more visibility on the site or which products may need additional marketing efforts. Store owners can use the analytics dashboard to identify trends, seasonal patterns, and customer preferences. The detailed reporting helps determine which products may need to be restocked or which products may be overstocked, enabling better inventory management.

Furthermore, store owners can use the comprehensive analytics to evaluate the performance of different marketing campaigns and strategies. The interactive charts and date range filtering make it easy to correlate marketing efforts with product view increases, helping measure campaign effectiveness and ROI.

Overall, the **Product View Count** plugin with its advanced analytics dashboard provides valuable insights and actionable data for store owners to make informed decisions about their products, marketing efforts, and business strategy.

👉 **Features of Product View Count**  

The **Product View Count** feature in WooCommerce includes the following features:  

- **Interactive Analytics Dashboard**: Modern React-based dashboard with real-time charts, statistics, and data visualization for comprehensive product view analysis.
- **View Trends Visualization**: Interactive charts showing product view trends over time with customizable date range filtering.
- **Top Products Analytics**: Detailed table displaying the most viewed products with sorting and filtering capabilities.
- **Statistics Overview**: Comprehensive stats cards showing total views, unique visitors, average views per product, and top-performing products.
- **Date Range Filtering**: Flexible date range selection to analyze data for specific time periods (daily, weekly, monthly, custom ranges).
- **Reset Functionality**: Ability to reset view counts for individual products or all products with confirmation dialogs.
- **View count tracking**: Tracks and records the number of times a product page has been viewed on the website.
- **View count display**: Displays the view count on the product page, in the product list, or in the admin area, depending on the configuration.
- **Grid view with pagination**: Displays products in a WooCommerce grid layout, complete with customizable columns and pagination for improved navigation.
- **View count threshold**: Allows store owners to set a threshold for the number of views. Products that exceed this threshold will be tagged.
- **Tag management**: Enables store owners to create and manage tags based on the view count of products, to create product lists or collections.
- **Marketing tool**: Utilizes view count data to inform marketing and sales decisions, such as creating targeted campaigns and promotions.
- **Inventory management**: Helps identify which products may need restocking or additional marketing efforts.
- **Advanced Reporting**: Enhanced reporting features with REST API endpoints for analyzing view count data over time.
- **Customizable**: Offers extensive customization options to fit specific store needs and branding requirements.
- **Popular Products Widget**: Includes a widget to display the most-viewed products, with customizable order (ASC/DESC).
- **Grid View Shortcode**: Added grid view with WooCommerce design and pagination. Improved layout customization. Use shortcode [product_view_grid columns="4" orderby="view_count" order="DESC" products_per_page="6"]

== Installation ==
1. Upload the `product-view-count` folder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to **Product View Count** in your WordPress admin menu to configure the plugin settings and access the analytics dashboard.

== Screenshots ==

1. **Product View Count Displayed on the Product Page**
   ![Screenshot 1](assets/screenshot-1.png)

2. **Interactive Analytics Dashboard with Charts and Statistics**
   ![Screenshot 2](assets/screenshot-2.png)

3. **Product List with View Counts**
   ![Screenshot 3](assets/screenshot-3.png)

4. **Grid View with Pagination**
   ![Screenshot 4](assets/screenshot-4.png)

5. **Popular Products Widget Settings**
   ![Screenshot 5](assets/screenshot-5.png)

6. **Analytics Dashboard - View Trends and Top Products**
   ![Screenshot 6](assets/screenshot-6.png)

7. **Plugin Settings Page with Analytics Tab**
   ![Screenshot 7](assets/screenshot-7.png)

== Changelog ==  

= 0.9 =  
* Initial version release  

= 1.0 =  
* Minor bug fixes and updates  

= 1.1 =  
* Tested compatibility with WooCommerce 6.5.3  
* Added customizable options for view count display  

= 1.02 =  
* Tested compatibility with PHP 7.4  
* Added customizable options for view count display  

= 1.03 =  
* Tested compatibility with WordPress 6.7  
* Added customizable options for view count display  

= 1.04 =  
* Added a widget to display popular products with customizable order (ASC/DESC)  
* Minor bug fixes  

= 1.05 =
* Added grid view with WooCommerce design and pagination
* Improved layout customization

= 2.0.0 =
* **Major Update**: Added React-based interactive analytics dashboard
* New analytics features: view trends charts, statistics cards, and top products table
* Added date range filtering for comprehensive data analysis
* Implemented reset functionality for individual and bulk view count management
* Enhanced REST API endpoints for analytics data retrieval
* Moved analytics from WooCommerce submenu to dedicated plugin settings page
* Improved user interface and user experience with modern design
* Added comprehensive error handling and loading states
* Enhanced data visualization with Chart.js integration
* Improved performance and responsiveness of analytics features

== Support ==  

“Product View Count” supports WooCommerce. If you have any questions or concerns, please visit [help.wpplugines.com](https://help.worzen.com/). We'll try our best to respond as soon as possible.  

For more exciting plugins, visit 👉 [wpplugines.com](https://worzen.com/)  
