How revenue is matched to visitors

The signals Boostra uses to tie a Stripe payment or Shopify order to a tracked visitor, and why totals can differ from Stripe.

Updated

Boostra only credits revenue to a visitor when it can actually link the payment to a visit on your site. It never invents a visitor for a payment it can't place. This article explains how that link is made and what it means for your numbers.

Stripe: matching order#

For each payment, Boostra tries these signals, strongest first, and uses the first one that matches:

  1. Checkout metadata: boostra_visitor_id, boostra_session_id and boostra_external_id on the Checkout Session or subscription. See Link Stripe Checkout to visitors.
  2. Client reference ID: set automatically on Stripe Payment Links by the tracker.
  3. Return session: the visitor who comes back to your site from the Stripe checkout.
  4. Email: the checkout email, hashed, matched to a visitor you have identified.
  5. Stripe customer: a customer already linked to a visitor by an earlier payment.

When the metadata carries boostra_external_id, Boostra also identifies that visitor, so their later visits join the same profile.

Shopify: matching orders#

For Shopify, orders are matched through the order's note or custom attributes, which Boostra's Shopify tracking sets, and through a hash of the order email. See Connect Shopify.

Why Boostra can show less than Stripe#

Orders, conversions and average order value count matched payments only. A payment made without any of the signals above stays unattributed, so totals in Boostra can be lower than in your Stripe Dashboard. That is by design: every dollar you see is tied to a real visit.

To raise the match rate:

  • Pass the metadata IDs from your checkout.
  • Identify signed-in users, so email and customer matching work.
  • Make sure the snippet is on every page, including your app on a subdomain.

If the match rate drops, Boostra can raise an insight called "Payment attribution quality needs attention" (or "Order attribution quality needs attention" for Shopify) in your Inbox.

Other rules#

  • Revenue is net of refunds; refunds and disputes are imported.
  • Subscription renewals are told apart from new orders.
  • Revenue is shown in the site's one display currency, which comes from the connected source.
  • Only live payments count: test-mode data is ignored.

Related articles