Analytics and marketing attribution for SaaS

Updated 2026-11-07

SaaS marketing has a measurement problem that most analytics tools don't solve. The visit happens on your marketing site, the signup happens in your app, and the money arrives in Stripe weeks later, often as a renewal with no visit at all. Headstream connects those three so you can see which marketing produces paying customers, not just signups.

The questions SaaS teams ask

  • Which channels bring customers who actually pay, and keep paying?
  • Is our content working, or just bringing traffic?
  • Where did the customers who never clicked anything come from?
  • Why does our analytics revenue not match Stripe?

How to set it up

  1. Install one script on your marketing site and your app. Events are pooled across sites, so one project can cover both domains. See install the script.
  2. Identify people at signup with the email they'll pay with. Their earlier anonymous visits join their profile. See identify people.
  3. Connect Stripe with read-only access. Payments, refunds and disputes are imported and credited back to visits every hour.
  4. Ask how they heard about you on the signup form, with a field named heard_about.
  5. Create goals for signup and activation steps, so you can see conversion by channel before revenue arrives.

The reports that matter

ReportWhat it answers
Revenue by channel and campaignWhich marketing produced Stripe revenue, under four models
Self-reported sourcesWhat customers say, next to what was tracked
FunnelsWhere visitors drop between landing page, pricing and signup
Unattributed revenueWhich payments had no visit to credit, and why
Data qualityFreshness, duplicates and filtered bots

An example dashboard

This example uses made-up numbers. One month of a SaaS company's revenue by first touch:

ChannelSignupsPaying customersRevenue
Organic search42031$9,300
Paid search26014$4,200
Direct30022$7,800
Referral9011$3,900

Direct looks like the second-best channel. Self-reported answers from those 22 customers say 9 heard about you on a podcast and 7 from a colleague. That's a channel tracking couldn't see, and it's worth more than paid search.

Why revenue from Stripe matters

Most analytics tools learn about revenue from a purchase event fired in the browser. For SaaS that misses renewals, upgrades by invoice, and any payment blocked by an ad blocker, and it never subtracts refunds. Headstream reads payments from Stripe itself and publishes attribution only when it adds up to the ledger to the cent. See why analytics and Stripe disagree.

Pricing for SaaS

Plans are priced by events a month, with unlimited sites and team members, so your marketing site, app and docs share one allowance. It's free up to 10,000 events. See pricing.

Questions

Does it work if signup happens in my app on a different domain?
Yes. Install the script on both and add both domains to the same project. Identifying people at signup joins their visits across domains.
Can it replace Google Analytics?
For most SaaS marketing questions, yes. Many teams run both for a few weeks and compare before removing GA.

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