Skip to content
Sign in
Sales by State Report for WooCommerce icon

Sales by State Report for WooCommerce

See a yearly breakdown of WooCommerce sales by state / county / province for a given country, filterable by order status.

Not scanned yet WordPress plugin 10 installs

Install in

No install steps yet

Follow the steps on the source page.

Sales by State Report for WooCommerce adds a report showing net and gross sales grouped by state, county or province, for a chosen year and a chosen set of order statuses.

With WooCommerce Analytics enabled the report appears under Analytics, alongside Revenue and Orders, drawn with the same components so it looks like a built-in report. With Analytics disabled it appears under WooCommerce instead, and looks the same there.

It answers the question sales tax and territory planning actually ask: how much did each state buy in a given year, counting only the orders that matter.

This plugin requires WooCommerce.

Documentation: salesbystate.com

What the report shows

  • Net Sales and Gross Sales for every state in the selected country
  • A summary of both figures across all states
  • Sortable columns and paginated results
  • States with no sales, shown as zero rather than hidden

Filters

  • Country — any country WooCommerce defines states or provinces for. Defaults to the store’s base country.
  • Year — a rolling list that starts ten years back and gains a year each January without dropping one. Defaults to the current year.
  • Order status — a checkbox list of WooCommerce order statuses. Defaults to Completed.

How the figures are calculated

Gross Sales is the order total. Net Sales is the order total minus tax and shipping. Both use the values WooCommerce stores on the order, so they reconcile with WooCommerce’s own reporting.

Refunds are not modelled as separate records. An order that has been fully refunded carries the Refunded status, so the status filter controls whether it is counted. A partial refund is not deducted from its order’s total.

Performance

Sales for a whole year are answered by one indexed query that returns one row per state. The response size does not grow with the number of orders.

Data and privacy

The plugin creates one custom database table holding, per order: the order ID, order status, creation and payment dates, billing and shipping country and state codes, currency, and the order, tax, shipping and net totals. It stores no names, addresses, email addresses or any other personal data.

Nothing is sent anywhere. The plugin makes no external HTTP requests, includes no third-party services, and collects no analytics or telemetry.

Deleting the plugin removes the table and its options.

Compatibility

  • High-Performance Order Storage (HPOS)
  • Cart and Checkout blocks
  • WooCommerce Analytics — used for the menu location when enabled, never for the figures

Written by Joobi from the project's own listing. See the source page

analyticssales reportsales taxsales-by-statewoocommerce
26 Nov 2026
Version 1.0.6 released. Not scanned yet.

1.0.6

  • Fixed: no more deprecation notice on WooCommerce 11.1 and later when the report checks whether WooCommerce Analytics is on.
  • Tested with WooCommerce 11.3 and WordPress 7.1.

1.0.5

  • Changed: the plugin now requires WordPress 6.9 or later, the version that brought the Abilities API.

1.0.4

  • New: AI agents can read the report through the WordPress Abilities API (WordPress 6.9 or later), for example with the MCP Adapter plugin. Two read-only abilities: sales-by-state/get-report and sales-by-state/data-check.

1.0.3

  • Fixed: the report opened sorted smallest first. It now opens with the top states first, by net sales.
  • Tested up to WooCommerce 11.1.

1.0.2

  • Excluded a stray .wordpress-org directory from the shipped plugin files.

1.0.1

  • Tested up to WordPress 7.1.
  • Excluded doc-sync source files from the WP.org package.

1.0.0

  • Initial release.
17 Aug 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)