Skip to content
Docs menuTrack revenue › How revenue is counted

How revenue is counted

On this page

CentPath counts every sale and puts it beside the visit that brought it, so your dashboard shows which sources, campaigns and pages bring paying customers. This page explains where a sale comes from, how it is tied to a visit, and what the dashboard does with a sale it can't tie to one.

Where a sale comes from

A sale reaches CentPath in one of three ways. Setup → Sales shows the ones that fit how buyers pay you.

  1. The buyer's browser reports it. The buyer comes back to your success page, and the snippet there reads the order's id that your checkout put in the page's address: Stripe Checkout's, Polar's, or an order id you add yourself. Or your own code reports the sale, with its amount. Either way the sale is counted in the visit it was sent from.
  2. A read-only key lists it. With a key from Stripe, Polar or Paddle, CentPath lists your sales from the provider about every 10 minutes, with their amounts, including the ones whose buyer never came back to your site.
  3. Both. A sale the browser reported under the provider's own id, as the snippet does on a Stripe Checkout or Polar success page, is the same sale the key lists, counted once: the provider's amount and currency replace what the browser sent.

A site holds one read-only key, for one provider. Saving another provider's key replaces it.

The guides: Stripe, Polar, Paddle, and any other checkout.

How a listed sale is tied to a visit

A sale the key lists says nothing of the visit it came from, and CentPath stores nothing on a visitor's device to recognise them by. What ties the sale to a visit is the checkout itself.

  • The browser reported it already: the sale stays in that visit, at the provider's amount.
  • The visitor started the checkout on your site: when a visitor clicks a Stripe Payment Link, a Polar checkout link or a Paddle button, uses a Stripe Buy Button or Pricing Table, or your code opens a Paddle checkout with the line Setup shows, the snippet adds a one-time reference to that checkout, kept in the page's memory only. When the key lists a sale that carries it, the sale is added to the visit the checkout started in.
  • Neither: the sale is not linked to a visit. For about a day, CentPath keeps looking for the checkout it came from, and a buyer who comes back to your success page later still links it.

We keep each sale's order id, amount, currency and time, never who bought.

Sales not linked to a visit

Some buyers leave no visit to hold their sale: their browser blocked the script, or they paid and never came back. A sale the key lists that no visit holds is never guessed onto one. A sale whose only visit came from a cloud server, which your site leaves out, is not linked either. Under the dashboard's figures, a quiet line counts them:

Stripe: 16 sales · 1 not linked to a visit ($10.80)

  1. The first part is every sale the provider reported in the dates you picked, in the selected currency.
  2. The second is how many of those no visit holds, and their amount. Hover over or tap the count for what it means.
  3. These sales aren't in Revenue, nor in any source's or page's figures.
  4. They count on the day they were paid. Revenue counts a sale on the day its visit started.

The line shows only on the whole site's dashboard, with no filter, and only when the dates you picked hold a sale or a renewal that isn't linked. It has one line per payment provider.

Renewals

A subscription's first payment is a sale. Each later payment is a renewal, and a read-only key lists those too. A Stripe key needs Invoices: read for it.

  1. A renewal adds to Revenue on the day it was paid, under the channel, source, campaign and landing page of the visit that brought the first sale.
  2. It adds no order, no buyer and no visit, so Orders, Conv. rate and AOV count first sales alone.
  3. A renewal whose first sale is not linked to a visit isn't in Revenue either. The line under the figures counts it: · 3 renewals · 1 not linked to a first sale ($19.00).

Sales with no amount

A sale can arrive with no amount: Stripe Checkout or Polar without a key, or an order id in your thank-you page's address. It counts as an order, in Orders and Conv. rate, and adds nothing to Revenue or AOV. When some amounts are missing, the line under the figures says how many, like 2 amounts unknown. A read-only key fills in the amounts of the sales it lists.

Which day a sale counts on

Revenue counts a sale on the day the visit that brought it started, in your site's time zone, so a source's revenue sits beside the visits it sent. Renewals, and sales not linked to a visit, count on the day they were paid.

With a read-only key, a payment that settles later, like a bank debit, counts once the provider reports it paid. One that fails never counts.

Only amounts from your payment provider

Once a site holds a read-only key, Setup → Sales → Currency and amounts offers to accept amounts from that provider alone. With it on, every sale your own code sends with an amount is refused, so nobody can send a fake one from your pages: the snippet's script and your site id are public. Sales your provider lists, and the order ids your success pages report, still count. Turn it on only if every sale goes through that provider.

The figures

FigureWhat it counts
RevenueWhat the sales and renewals in the dates you picked brought, in the selected currency.
OrdersEvery sale, its amount known or not.
Conv. rateBuyers ÷ visitors.
AOVRevenue from sales ÷ the orders whose amount is known.
Rev/visitorRevenue ÷ visitors.

Each currency is counted apart and never converted: see Currency.