See which orders were tracked, and why the rest were not

Last updated ·

What this is for

Your analytics show fewer purchases than WooCommerce shows orders. GTM Kit Premium records, for every order placed through checkout, how far its purchase event got in the shopper’s browser. You can then see where orders drop out, and open any single order to see what happened to it.

It answers “what happened in the browser”. It does not tell you what Google Analytics or an advertising platform did with the event after Google Tag Manager read it.

The three steps

Every order goes through the same three steps. Each step can only lose orders, never gain them.

StepWhat it means
Eligible ordersOrders a shopper placed through checkout and that were not abandoned, cancelled or failed.
Purchase added to the pageThe shopper opened the order confirmation page, and GTM Kit added the purchase event to it.
Container stateWhat happened to Google Tag Manager on that page view.

Eligible orders

An order counts when a shopper placed it through the classic checkout or the block checkout, and its status is processing, completed, on hold or refunded.

These do not count, because no shopper would be shown an order confirmation page for them:

  • orders created by hand in the admin
  • orders created through the REST API, for example by a point of sale app
  • subscription renewals
  • orders still pending payment, and failed or cancelled orders

Purchase added to the page

GTM Kit adds the purchase event once per order, the first time the order confirmation page is shown to the shopper. An eligible order that never reaches this step usually means one of the following:

  • The shopper paid at an external payment provider and never came back to your store.
  • The shopper closed the tab before the order confirmation page loaded.
  • The browser purchase event is switched off under Commerce, because you rely on the server-side purchase webhook.
  • WooCommerce asked the shopper to confirm their email address before showing the order, and they did not.

Container state

For orders that reached the page, one of these is recorded:

StateWhat happenedWhat usually helps
LoadedGoogle Tag Manager loaded and read the purchase event.Nothing to fix.
BlockedThe shopper’s browser or a content blocker refused to load Google Tag Manager.A server-side purchase webhook, or serving the container from your own domain.
ReplacedA content blocker served an empty stand-in script in place of Google Tag Manager, so nothing read the purchase event.The same as for blocked.
HeldGoogle Tag Manager was deliberately not loaded while it waited for consent.Review your consent settings. A server-side purchase webhook can respect consent and still report the order.
Not reportedThe purchase event was added to the page, but the page did not report a state. The shopper left at once, or the report itself was blocked.Nothing to fix for single orders.

A shopper who grants consent while still on the order confirmation page is recorded with what happened after the grant, not as held.

Where you see it

On the dashboard

Go to GTM Kit > Dashboard. The Purchases tracked card shows the three steps for the last 7 or the last 30 days:

  • Orders placed through checkout.
  • Purchase added to the order confirmation page, and how many orders never reached that page.
  • What happened to Google Tag Manager: loaded, blocked, replaced by a content blocker, held for consent, or not reported.

Each number is also shown as a share of the eligible orders. A line that lost orders carries one sentence about what it means and a link to the setting that addresses it.

The card can also show one of these instead of numbers:

  • Not enough data yet. With fewer than 20 eligible orders in the period, the card shows counts only. Percentages appear from 20 orders.
  • The browser purchase event is switched off. Purchases then reach Google Tag Manager from your server only, and there is nothing to measure on the order confirmation page.
  • No orders in this period.
  • Not counted yet. The first count runs within a few minutes of switching the record on, and then once a night.

The card needs GTM Kit 2.25 or later. On an older version the card is not shown; the record on each order works either way.

On an order

Open an order. The GTM Kit Attribution box has a line called Purchase tracking with the order’s outcome in words. The line is not shown for orders that are not eligible.

Recovered purchases

If you use the server-side purchase webhook as a fallback, GTM Kit also counts the orders it sent from your server because the browser never confirmed the purchase event. These are purchases the browser missed and your server delivered anyway.

How the numbers are kept up to date

The per-order record is written as it happens. Counting starts when the record is switched on: orders placed before that, or while it was switched off, are not counted. The totals per day are counted once a night, for the last 35 days. Each night the most recent 7 days are counted again, because an order’s facts can arrive late: a shopper who pays by bank transfer may open the order confirmation page days after ordering.

What it sends and stores

  • One request per order, from the order confirmation page to your own site. It contains the order number, the order key that is already part of the order confirmation link, and one word for the state.
  • No cookie is sent with that request, and it contains no visitor or session identifier.
  • Nothing is stored on the shopper’s device: no cookie, no local storage, no session storage.
  • Nothing leaves your site. No data is sent to GTM Kit or to any other service.
  • The request is sent whatever the shopper’s consent choice is. It describes your own page for an order you already hold, and it identifies nobody beyond that order.
  • On your site, one value is stored on the order, and one set of daily totals is stored in the database.

Switching it off

The record is on by default when GTM Kit Premium has an active license and WooCommerce is active. To switch it off, go to GTM Kit > Commerce and turn off Record whether each purchase was tracked.

When it is off, nothing is added to the order confirmation page, nothing is recorded and nothing is counted. Values already stored on orders stay where they are.

Deleting GTM Kit Premium removes the daily totals and the nightly job. The value stored on each order is kept, like the rest of the order’s data.

Good to know

  • How often “blocked” appears depends a lot on how your container is loaded. Content blockers recognise the standard Google Tag Manager address far more often than a container served from your own domain with a custom loader.
  • With few orders, look at counts rather than percentages. A handful of orders either way moves a percentage a long way.
  • The order confirmation page is not served from a page cache, so the record works the same with a caching plugin.

← Previous

Previous article

Next →

Next article