Integrations · Shops and payments

SureCart, every checkout counted once.

SureCart carts, checkouts and purchases, each purchase joined to the buyer’s visit and counted once. Test-mode purchases stay out of revenue.

Switches itself onCounted onceShop funnel made for you
Events from this shopSureCart
  • Added to cartSureCart’s own event
  • Checkout startedSureCart’s own event
  • PurchaseWhen the checkout is confirmed

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 cartSureCart reports a product added to the cartFrom SureCart’s own browser event. Two adds within half a second count once
Checkout startedSureCart reports a checkout startedFrom SureCart’s own browser event
PurchaseSureCart confirms the checkoutRevenue is the checkout total in its currency, with the number of items and any promotion code

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.

Test mode

Test purchases stay out of revenue.

Purchases made in SureCart’s test mode are left out, so test money never shows as revenue. A one-line filter counts them too, for example while setting up a shop with a client.

  • Amounts arrive in cents and are converted to units, zero-decimal currencies included
  • Roles you don’t count are left out too
  • Each checkout is counted once, whatever happens next
Read the SureCart docs →
functions.phpPHP
// Count SureCart test-mode purchases too.
add_filter( 'nahnu_analytics_connector_surecart_test', '__return_true' );

For developers

Change the Purchase, or skip a checkout.

A filter on the client’s WordPress changes or skips the Purchase for a SureCart checkout. To stop shop events, switch off SureCart in the connector’s What to count.

  • Sent from the server when SureCart confirms the checkout
  • The browser counts it only when the connection code is too old
  • Counted stats stay when you switch it off
Events, filters and actions →
functions.phpPHP
// Change or skip the Purchase for a SureCart checkout.
add_filter( 'nahnu_analytics_connector_surecart_purchase', function ( $event, $checkout ) {
    $event['p']['plan'] = 'annual';
    return $event; // Return null to skip this checkout.
}, 10, 2 );

Questions

SureCart questions

Something else? Ask us.

Do I need to set anything up?

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

Why are test purchases missing?

Test mode is left out on purpose. Use the filter to count those purchases too.

Why do some purchases have no source?

The connection code is old, so the browser counted them and they may miss the visit. Paste a new connection code.

Why is there no Added to cart?

SureCart sends it from its own scripts. Check that the cart is SureCart’s, not a custom form.

Try it on every client site.

Unlimited websites, every feature, one license.