Marketing attribution for Stripe businesses

Updated 2026-11-07

Stripe tells you who paid and how much. It doesn't tell you how they found you. Your analytics knows how visitors arrived but usually not who paid. Headstream joins the two, so every Stripe payment is credited to the marketing that came before it.

Who this is for

Any business that takes payments through Stripe and markets online: SaaS, digital products, memberships, courses and services billed by invoice. If you've ever tried to match a Stripe export to an analytics report in a spreadsheet, this is that work done for you, every hour.

How it connects

  1. Connect Stripe with read-only access. Headstream never changes anything in your account.
  2. History is imported. Successful charges, then refunds, then disputes.
  3. New activity arrives by webhook and goes into an append-only ledger. A refund is a new negative row, never an edit.
  4. Payments link to people by Stripe customer ID, then by a visitor ID you can add to the charge metadata, then by billing email.
  5. Attribution runs hourly under four models and publishes only when credits equal the ledger.

The Stripe setup guide covers each step, including how to pass a visitor ID through Stripe Checkout.

What you can see

  • Revenue by channel, source, campaign and landing page
  • Revenue under first-touch, last-touch, linear and U-shaped models, side by side
  • Renewals credited back to the customer's original journey, within the lookback window
  • Refunds and disputes credited back to the sale they reverse
  • Every payment that couldn't be attributed, with the reason
  • A trail from any payment to the visits it credited

A worked example

This example uses made-up numbers. In March, Stripe shows $18,400 of net revenue. Headstream credits it:

First-touch channelRevenue
Organic search$6,200
Newsletter$4,100
Paid social$3,300
Referral$2,000
Unattributed: never identified$2,800

The total matches Stripe exactly. The $2,800 unattributed came from customers who paid by invoice without ever signing in on the site. Identifying people at signup, or adding the visitor ID to Checkout, shrinks that line.

What it doesn't do

Headstream doesn't calculate MRR, churn or other billing metrics. Stripe's own reports do that well. It also doesn't import ad spend, so ROAS and CAC are divided out from your own spend figures. See the ROAS calculator and SaaS metrics guide.

Questions

Does Headstream need write access to Stripe?
No. It uses Stripe's read-only scope.
Can one Stripe account cover several sites?
A Stripe account connects to one project, and a project can include several domains, such as a marketing site and an app.

See which marketing makes money.

10,000 events a month free · Every feature · No card

Start free
Sion · the wide valley floor46.27° N 7.45° E