ShopAnalytics Lite – Sales, Customer & Coupon Reports for WooCommerce
Sales, customer, product and coupon reports for WooCommerce, shown in your WordPress admin.
Install in
ShopAnalytics Lite adds a ShopAnalytics menu to your WordPress admin with tables and charts for revenue, orders, top customers, top products and coupon usage. Reports are read from your own database; the plugin makes no remote requests and sets no tracking.
Known limitations: ShopAnalytics Lite reads orders from the legacy WordPress order tables (wp_posts and wp_postmeta). Stores that use WooCommerce High-Performance Order Storage (HPOS) will see empty reports until a future update adds support. You can check your setting under WooCommerce > Settings > Advanced > Features.
Features
- Dashboard: total revenue, orders, average order value and repeat purchase rate, with a comparison to the previous period and a date range filter.
- Sales Trends and Order Trends: monthly revenue and order charts, and a product category breakdown by revenue and quantity.
- Customers: top customers ranked by total spend and order count.
- Top Products: product ranking by revenue and quantity sold.
- Coupons: coupon usage, total and average discount, revenue per coupon, usage rate and a monthly trend for the top coupons. The coupon data can be exported to CSV.
- Settings: a lightweight mode that turns charts off, and event logging with a configurable retention period. The event log can be exported to CSV.
Third-party code: Chart.js 4.5.0 (MIT license, https://www.chartjs.org/) is bundled as assets/js/chart.min.js.
Support
Need help or have feature requests?
Visit: https://dynamicweblab.com
Written by Joobi from the project's own listing. See the source page
1.5.2
- Compatibility: corrected the tested-up-to header (WordPress 7.1).
1.5.1
- Compatibility: tested with WordPress 7.1. Fixed the internal version number used for cache busting.
1.5.0
- New: Coupon Analytics page — track coupon usage, discount cost, and revenue impact.
- New: Top coupons bar chart (discount vs. revenue) and monthly trend line chart.
- New: CSV export for coupon data.
- New: Coupon usage rate metric (% of orders using a coupon).
1.4.0
- Performance: Replaced
wc_get_orders(limit=-1)with direct SQL queries on Sales Trends, Order Trends, and Top Products pages — eliminates instantiating thousands of WC_Order objects on large stores. - Performance: Sales Trends category breakdown now uses a single SQL join instead of per-item
wp_get_post_terms(). - Performance: Top Products page now queries directly from
woocommerce_order_itemsmeta tables.
1.3.0
- New: Period-over-period comparison on dashboard metric cards — revenue, orders, AOV, and repeat rate now show percentage change vs the previous equivalent period with color-coded trend arrows.
- Improved: Dashboard subtitle now indicates the comparison context.
1.2.0
- Performance: Replaced per-month wc_get_orders() loops with single SQL queries on dashboard.
- Performance: Eliminated N+1 query in top customers — CLV now computed in same query.
- Performance: AOV now calculated via single AVG() query instead of two separate queries.
- Performance: Batch product category lookups in sales trends (was per-order).
- Performance: Batch user lookups in customers page (was per-customer get_user_by).
- Security: Replaced esc_sql() concatenation with $wpdb->prepare() placeholders in all queries.
- Cleanup: Removed unused class-data-exporter.php, templates/dashboard.php, unused helper functions, and dead engine methods.
1.1.0
- Fixed: Customer Insights page now renders correctly and is accessible from the menu.
- Fixed: Removed duplicate Reports submenu registration.
- Fixed: Removed duplicate activation hook that caused double initialization.
- Fixed: Cache invalidation now works correctly (wildcard patterns replaced with specific keys).
- Fixed: Uninstall now drops the logs table, clears cron, and removes all plugin options.
- Fixed: Deactivation hook now properly clears the scheduled cron job.
- Fixed: Removed duplicate asset enqueue that caused version conflicts.
- Updated: Tested up to WordPress 7.0.
1.0.0
- Initial release: Sales dashboard, customer insights, CSV export, Freemius integration.
Follow this listing's changes (Atom feed)