WooCommerce reporting for agencies: net sales that match Analytics
In short
Pullsy connects to a WooCommerce store with a read-only REST key the client creates, and counts net sales by WooCommerce Analytics' default rules. On our test store it matched Analytics to the cent. Repeat guests are recognised through a keyed hash of the billing email. Orders deleted in WooCommerce currently stay in Pullsy.
Why does a client paste a key when other platforms use a login?
Because a WooCommerce store is the client's own server, so there's no central account to sign in to and no Pullsy app for WooCommerce to review. The client creates a key under WooCommerce → Settings → Advanced → REST API, sets it to Read, and pastes three things: the store address, the consumer key and the consumer secret.
- You create a one-time connection link for the client's workspace.
- They open it, see your agency's name and what will be read, and follow the steps on that page. WooCommerce shows the secret only once, so they should paste it straight away.
- Pullsy checks the store's index, confirms the REST API is on, proves the key works and reads the store's currency and time zone.
- One link makes one connection, and the first order sync starts.
The key goes from the client's admin to Pullsy, so your team never handles it. Your client should know two things. WooCommerce doesn't expose a key's permission over REST, so Pullsy can't tell Read from Read/Write. It only ever sends GET requests, and the form asks for Read. And disconnecting can't revoke a key from outside, so ask your client to delete it under REST API when you part ways.
A store must be on HTTPS, on port 443, under a real hostname. Pullsy follows no redirects, for security reasons, so a store that redirects www gets an error naming the correct address to enter. Our read-only key guide has steps you can forward to your client.
Which orders count as sales?
Those WooCommerce Analytics counts by default, on every store. Pending payment, failed and cancelled orders are left out. Processing, on-hold, completed and any custom status count, and refunded orders count as orders whose refund takes the money back. An order lands on the day it was paid, in the store's own time zone.
Pullsy applies WooCommerce Analytics' default settings to every store, whatever that store has set: pending, failed and cancelled orders left out, and days by date paid. That keeps a whole client roster on one rule, but a store owner who changed those settings will see a difference, and Pullsy's coverage note says why.
The date rule has a consequence you may need to explain. An order with no paid date, such as an unpaid bank transfer on hold, or cash on delivery before completion, is in no day's figures until it's paid. So a cash-on-delivery client's recent days can look light and fill in later. That matches WooCommerce Analytics, and it can surprise someone comparing with an order list.
How is net sales worked out, and does it really match?
By the formula WooCommerce's own documentation gives, gross sales minus returns minus coupons, with tax and shipping kept out. Fees stay in. We read the Analytics source code to copy it, and checked it against a real store: WooCommerce 11.2 with HPOS on, about 290 made-up orders over 90 days, seeded with deliberate edge cases.
| Step | Calculation | Result |
|---|---|---|
| Order total, including tax and shipping | 1,300 | |
| Net of the order | 1,300 − 180 tax − 120 shipping | 1,000 |
| Gross sales (net + coupons) | 1,000 + 100 coupon | 1,100 |
| Refund, a week later | 590 − 90 refunded tax | 500 returned |
| Net sales over a range holding both days | 1,100 − 100 − 500 | 500 |
The refund falls on the day it was made. Report only the first week and net sales read 1,000, while the following week carries the 500 return. That's correct, and a likely reason for a client question. Day by day, orders, gross sales, coupons, net sales, items sold, shipping and taxes all matched WooCommerce Analytics to the cent on our test store.
That was only true after a fix, which is why we run this kind of test. Refunds were at first read without their fee lines, so a refunded fee's tax counted as returns. Three other differences remain, and they're by design:
- Returns. WooCommerce's Returns column includes refunded tax and shipping, so it's larger than Pullsy's net figure. Net sales still agree.
- Products. WooCommerce's Products report dates by order creation and keeps unpaid orders. Pullsy's top products follow the paid day, like every other figure, so its totals differ.
- Other currencies. With a multi-currency plugin, WooCommerce adds orders across currencies as if they were one. Pullsy counts only the store currency and tells you how many orders it left out.
How can repeat guests count as returning without storing their email?
With a keyed hash. Many WooCommerce stores take most orders as guest checkouts, so counting by account would mark nearly everyone as new. Pullsy does read the billing email, but only in memory while it reads a page of orders. It turns it into a keyed code and doesn't write the address to a table, a log or a raw copy.
The key is secret and specific to the store, so a database dump can't test a guessed address, and one person buying from two stores becomes two unrelated codes. An account's orders are linked to guest orders sharing its email, so a guest who later registers is one buyer, and an address typed in capitals joins the same one.
Be straightforward if your client's data protection lead asks: Pullsy does process the billing email briefly to make the code, and our privacy policy says so. It requests fields by name, so names, addresses and phone numbers never arrive. Personalisation text on line items and refund reasons are dropped on arrival. An order with no key is reported as unknown, and one with a net of zero or less counts as neither new nor returning.
What are the known gaps?
The main one is deletions. An order deleted or trashed in WooCommerce stays in Pullsy, because neither shows up in a read of recently modified orders. A weekly reconciliation that would catch this isn't built yet. If a client bulk-deletes test orders, your figures will carry them until that's in place, so compare with Analytics after any clean-up.
| Area | How it works |
|---|---|
| History | The first sync reads up to 400 days whatever your plan, at 5,000 orders per run, and continues on the next run |
| Frequency | Every 3 hours by default, one request at a time |
| Rate limits | None from WooCommerce itself. The host's limits apply, and a 429 is waited out |
| Refunds | A refund updates its order's modified date, so new refunds on old orders are picked up |
| Auth fallback | For servers that strip the Authorization header, the key moves to the query string, as WooCommerce documents. That puts it in the store's own access log. We haven't exercised this on a live server |
Pullsy can't change anything in a store, and doesn't read subscriptions or stock. It also won't replace a dedicated WooCommerce analytics plugin for cohort or customer-level work, since it holds no customer profiles. Where it helps is the agency question: what ad spend did for the store. Net sales, orders, new and returning customers and average order value flow into the All channels view, set against Meta, Google and LinkedIn spend. Shopify takes priority as the sales source if a workspace ever holds both, once that connector opens.
Questions people ask
Does the client need a Pullsy account to connect their store?
No. They open the one-time link you send, see the agency's name and the data involved, and paste the store address and key on that page. The connection lands in the workspace that asked. The link is spent by that connection, so a second store needs its own link.
Can one WooCommerce store connect to two workspaces?
No. A store can have only one live connection across all of Pullsy, in any organization, identified by its canonical address so that www and a pasted subpage can't make a duplicate. If the holder's key has been deleted, Pullsy finds that out when it checks, and the store is freed.
What does a Pullsy average order value include?
It's gross sales minus coupons, divided by orders, which is WooCommerce's own average order value. Returns don't reduce it, so Pullsy labels it AOV before returns. Tax and shipping are excluded. Our [explanation of AOV](/ad-metrics/aov) covers how this compares with figures that include them.
Can Pullsy read a WordPress store hosted in a subdirectory?
Yes. The address can include a path, such as example.com/shop, because WordPress may live in a subdirectory. You can also paste an admin address, and Pullsy trims it back to the site. It reads the store's own index to find the canonical address, which must be on HTTPS.
Sources
- WooCommerce: REST API documentation: Where to create keys, the Read and Read/Write permissions, and that the secret is shown once.
- WooCommerce: Analytics documentation: Default excluded statuses, Date Paid as the default date type, refunded orders can't be excluded, and the net sales formula.
- WooCommerce: REST API developer docs: Basic auth with key and secret, and the query string fallback for servers that don't parse the Authorization header.
Read next
- How to create a WooCommerce read-only API key, and revoke itCreate a WooCommerce REST API key with Read permission: the exact steps, which WordPress user to pick, what Read still exposes, and how to revoke the key later.
- WooCommerce agency reporting: running many client storesReporting across many client WooCommerce stores: one counting rule per client, read-only keys they make themselves, and what breaks on real hosts and plugins.
- How to compare ad spend to store orders when the numbers won't matchWhy Meta and Google report more purchases than your store has orders, a worked reconciliation you can copy, and the part of the gap that no tool can explain.

