Revenue attribution: see which traffic sources pay
Revenue attribution shows which traffic sources bring paying customers, not just visitors. Onfus credits each Stripe payment to the source, campaign, page and country of the customer's first visit, on every plan from $9 a month.
By the Onfus teamChecked 17 November 2026
- Attribution model
- First touch
- One answer per payment
- Connects to
- Stripe
- Read-only restricted key
- History imported
- 90 days
- Payments and refunds
- Updates
- Every 6 hours
- Instant with a webhook
Example: one customer, two visits
- Day 1
- Visit from x.com
- First touch
- Day 8
- Visit from Google
- None
- Day 8
- Stripe payment, $49
- $49 to x.com
Made-up numbers. Refunds are subtracted from the source the payment was credited to.
What is revenue attribution?
Revenue attribution connects money to marketing. Instead of stopping at “the newsletter sent 400 visitors”, it answers “the newsletter brought $1,200 of new subscriptions”.
Every attribution tool makes two choices: how it ties a payment to a visitor, and which of that visitor's visits gets the credit (the attribution model). Onfus ties payments through Stripe metadata and gives the credit to the first visit.
How does Onfus attribute Stripe revenue?
01
Connect Stripe
02
Turn on the visitor cookie
03
Pass it into Stripe
Which attribution model should you use?
| Model | Who gets the credit | Good for |
|---|---|---|
| First touch | X, the first visit | Finding channels that bring new customers |
| Last touch | Google, the last visit before paying | Finding what closes the sale |
| Linear | Split 50/50 between X and Google | Seeing every channel involved |
| Position-based | 40% first, 40% last, 20% to visits in between | Weighting discovery and the close |
| Data-driven | A model trained on your conversion paths | Sites with enough conversions to train it |
- First touch
- Who gets the creditX, the first visit
- Good forFinding channels that bring new customers
- Last touch
- Who gets the creditGoogle, the last visit before paying
- Good forFinding what closes the sale
- Linear
- Who gets the creditSplit 50/50 between X and Google
- Good forSeeing every channel involved
- Position-based
- Who gets the credit40% first, 40% last, 20% to visits in between
- Good forWeighting discovery and the close
- Data-driven
- Who gets the creditA model trained on your conversion paths
- Good forSites with enough conversions to train it
Onfus uses first touch: one clear answer per payment, and it works with any amount of traffic. Google Analytics 4 offers data-driven, paid and organic last click, and Google paid channels last click; it removed first click, linear, time decay and position-based in November 2023.
How do analytics tools compare on revenue?
| Tool | Where revenue comes from | Plan |
|---|---|---|
| Onfus | Stripe payments and refunds, credited to the first visit | Every plan, from $9/month |
| Google Analytics 4 | Ecommerce events you send with the Google tag | Free |
| Plausible | Revenue values sent with custom events | Business, from $19/month |
| Fathom | Event values you send with each event | Paid only, from $15/month |
| Hotjar | Revenue attribution on Experience Platform Pro | Price on request |
- Onfus
- Where revenue comes fromStripe payments and refunds, credited to the first visit
- PlanEvery plan, from $9/month
- Google Analytics 4
- Where revenue comes fromEcommerce events you send with the Google tag
- PlanFree
- Plausible
- Where revenue comes fromRevenue values sent with custom events
- PlanBusiness, from $19/month
- Fathom
- Where revenue comes fromEvent values you send with each event
- PlanPaid only, from $15/month
- Hotjar
- Where revenue comes fromRevenue attribution on Experience Platform Pro
- PlanPrice on request
What are the limits?
Stripe only
First touch only
One cookie
One device
Safari storage
No free plan
Card required for the trial
No self-hosting
Comparing with a specific tool? See Onfus vs Google Analytics or Onfus vs Plausible.
Frequently asked questions.
What is revenue attribution?
Which attribution model does Onfus use?
Does Onfus work with payment providers other than Stripe?
Is the Stripe key safe to share?
Do I need a cookie banner for revenue attribution?
Are refunds subtracted?
Where do these facts come from?
Read on 17 November 2026. Onfus details come from the product itself; see pricing for plans.
Know what to fix by tomorrow.
Paste one line and start tracking in a minute. See where visitors drop off and what to fix. Free for 14 days, no cookie banner.