=== 360 Analytics for WooCommerce ===
Contributors: Inscript
Tags: woocommerce, analytics, reports, dashboard, sales
Requires at least: 5.8
Tested up to: 7.0
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A powerful analytics dashboard for WooCommerce, providing insights into products, categories, taxonomies, taxes, and customers.

== Description ==

Gain full visibility over your store's performance with **360 Analytics for WooCommerce**. Designed for WooCommerce store owners who need actionable insights without bloated interfaces, this plugin provides a clean, modern, and high-performance reporting dashboard.

Track your revenue, analyze sales trends, monitor taxonomy performance (such as product categories, brands, or publishers), and get detailed tax breakdowns in real-time.

### Key Features
* **Modern Overview Dashboard:** A professional KPI grid displaying Total Revenue, Lifetime Revenue, Orders Count, Items Sold, and Average Order Value, alongside an interactive Sales Evolution line chart.
* **Product Performance Reports:** Identify your top-performing products, quantities sold, total revenue generated, and order counts.
* **Category Analysis:** See which product categories drive the most sales to optimize your inventory.
* **Custom Taxonomy Reports:** Fully supports custom taxonomies (e.g., brands, publishers, tags) with customized bar charts and performance breakdowns.
* **Tax Breakdown Reports:** View clear reports on taxes collected per order.
* **Customer Insights:** Keep track of returning customer behaviors, item counts, and revenue contribution.
* **Quick CSV Exports:** Export any report to CSV with a single click for offline auditing and sharing.

== Installation ==

1. Ensure you have **WooCommerce** installed and activated on your store.
2. Upload the plugin files to the `/wp-content/plugins/360-analytics-for-woocommerce` directory, or install the plugin through the WordPress plugins screen directly by uploading the `.zip` file.
3. Activate the plugin through the 'Plugins' screen in WordPress.
4. Navigate to **360 Analytics** in your WordPress admin menu to access your new reporting dashboard.

== Frequently Asked Questions ==

= Does this plugin require WooCommerce? =
Yes. 360 Analytics for WooCommerce retrieves data directly from WooCommerce tables, so WooCommerce must be installed and active.

= Where do I find the reports? =
A new top-level menu item named "360 Analytics" will appear in your WordPress admin sidebar once the plugin is active.

= Can I export the data? =
Yes. Every report table (Products, Categories, Taxonomies, Taxes, Customers, etc.) features an "Export CSV" button to download data instantly.

= Does it support custom product taxonomies? =
Yes, it automatically detects and aggregates sales data for custom taxonomies like Brands or Publishers, displaying them in dedicated tabs.

= Does this plugin slow down my site? =
No. The plugin is built with optimized custom database queries (`$wpdb`) and handles aggregation directly via the database, ensuring fast load times even with large volumes of orders without bloating your site.

= Are there any extra configurations needed? =
No configuration is required! Just activate the plugin, and it will immediately start pulling in your existing WooCommerce order data.

== Screenshots ==

1. Overview dashboard with revenue, orders, items sold, and sales evolution chart.
2. Product performance report with top-selling products.
3. Category performance breakdown.
4. Taxonomy performance overview (all taxonomies combined).
5. Author taxonomy performance report.
6. Publisher taxonomy performance report.
7. Translator taxonomy performance report.
8. Category taxonomy performance report.
9. Tags taxonomy performance report.
10. Customer LTV insights and customer table.

== Changelog ==

= 1.0.0 =
* Initial release.
* Added Overview, Products, Categories, Taxonomies, Taxes, and Customers tabs.
* Integrated Chart.js for beautiful visual data representation.
* Added CSV Export option for all tables.

== Upgrade Notice ==

= 1.0.0 =
This is the initial release of 360 Analytics for WooCommerce. Install and enjoy!
