Documentation
Commerce Admin Reports
Current
Current Features
- Admin menu with report pages: Designer Sales, Top Choices, Artist Commissions, Artist Management, Pattern Management, Coupon Reports, Customer Sources, Traffic Sources, and Source Settings.
- Designer Sales Report with hidden detail pages for revenue and pattern breakdowns.
- Top Choices snapshots stored in
commerce_topchoices_snapshotswith HPOS order batching. - Artist commission tracking with
commerce_artist_commissionstable. - Customer source attribution stored in
commerce_customer_sourceswith session-based tracking. - Frontend source tracking script writes attribution records on page load and updates conversions on checkout/thank-you.
- AJAX endpoints for source stats and source tracking (
commerce_get_source_stats,commerce_track_customer_source). - Analytics events emitted via
\Luperiq\Modules\CommerceReports\Services\EventEmitter.
Admin page: wp-admin/admin.php?page=commerce-main-reports
Dependencies: WooCommerce (uses HPOS tables such as wc_orders and order item meta).