Integrations · Shops and payments

WooCommerce, counted from the server.

Every WooCommerce order counted once, from the shop’s own server, and credited to the source, campaign and page that brought the buyer. Nothing to set up.

Switches itself onServer-side purchasesAny currency
Events from this shopWooCommerce
  • Added to cartAny Add to cart button
  • Checkout startedClassic or block checkout
  • PurchaseFrom the server, once

Plus a Shop checkout funnel, made for you.

Illustration

At a glance

A sale counted once, with its source.

What changes for a shop on a client’s website.

  • Switches itself on

    Starts as soon as the connector is connected and the shop plugin is active.

  • Joined to the visit

    Each purchase carries the buyer’s visit, so it isn’t a stray sale.

  • Credited to the source

    Revenue goes to the source, campaign and landing page that brought the buyer.

  • Never twice

    Each order is counted once, whichever way it arrives.

What is counted

Three events, from product to paid order.

The first time one arrives, the website gets the three shop goals and a Shop checkout funnel by itself.

EventWhenDetails
Added to cartA product is added to the cartAny Add to cart button: product pages, shop lists and the cart and product blocks
Checkout startedThe checkout page is openedClassic checkout and the Checkout block
PurchaseThe order is paid, or placed with a pay-later methodRevenue is the order total, with the number of items, the payment method and any coupon

Where it shows

Where you see it.

Shop numbers sit next to the rest of the stats, for you and your client.

  • Revenue

    Revenue and conversion rate in the key numbers.

  • Goals and events

    Added to cart, Checkout started and Purchase, with revenue.

  • Funnels

    The Shop checkout funnel, with drop-off at each step.

  • Paths to conversion

    Sources, campaigns and pages that lead to purchases.

  • Sources and campaigns

    Revenue per source and per campaign.

  • Reports and portal

    In email reports and the client portal.

Several currencies

Every currency, counted in the shop’s own.

When a buyer pays in another currency, the total is converted back at the rate saved on the order at checkout. Later rate changes never change past sales.

  • The amount actually paid is kept with each sale
  • All sites and the client portal add up shops in different currencies
  • Another plugin can supply the amount with a filter
More about revenue →
Multi-currency pluginsAutomatic
  • WooPayments multi-currency (WC Currency Switch)Supported
  • CURCYSupported
  • FOX (WOOCS)Supported
  • Aelia Currency SwitcherSupported

For developers

Change the Purchase, or leave an order out.

A filter on the client’s WordPress lets you add properties, count revenue without tax and shipping, or skip an order. To stop shop events, switch off WooCommerce in the connector’s What to count.

  • Counted stats stay when you switch it off
  • Signed-in roles you don’t count are left out, such as your own test orders
  • Failed, canceled, refunded and draft orders are never counted
Events, filters and actions →
functions.phpPHP
// Add a property, or count revenue without tax and shipping.
add_filter( 'nahnu_analytics_connector_purchase', function ( $event, $order ) {
    $event['p']['shipping'] = $order->get_shipping_method();
    $event['m']['a']        = (float) $order->get_subtotal();
    return $event; // Return false to skip this order.
}, 10, 2 );

Questions

WooCommerce questions

Something else? Ask us.

Do I need to set anything up?

No. It starts as soon as the connector is connected and WooCommerce is active.

What if the buyer blocks the tracking script?

The purchase is still counted. It is sent from the shop’s server when the order is paid, even after the buyer has left.

Can a purchase be counted twice?

No. Each order is marked as sent before the request goes out, so a retry or a second status change never counts it again.

Are refunds taken off?

No. A refund after the purchase was counted does not take the revenue back off the chart.

Why do some purchases show as Direct?

The order has no buyer address, such as one made by hand in wp-admin, or the connection code is an old one. Paste a new connection code in Site settings › Installation.

Try it on every client site.

Unlimited websites, every feature, one license.