Skip to content

Revenue attribution

Marketing attribution software that starts from real payments

Marketing attribution software connects sales to the marketing touches that came before them, so you can see which channels produce revenue. Statsy does this with a small tracking script and signed payment webhooks. Each payment from Stripe, Lemon Squeezy, Paddle, Polar or Razorpay is credited to the posts, searches, referrers and campaigns that brought the buyer.

Last updated

Statsy attribution at a glance

Attribution models
Last touch, first touch, linear, time decay and position based
Lookback window
1 to 365 days, 90 by default
Revenue sources
Signed webhooks from Stripe, Lemon Squeezy, Paddle, Polar and Razorpay, plus an authenticated Payment API
Report columns
Visitors, customers, conversions, revenue, refunds, net revenue and revenue per customer, by channel
Also in the API
The same report through the REST API, the statsy CLI and an MCP server for AI assistants
Price
Free during the private beta, by invitation

What is marketing attribution software?

Marketing attribution software is a tool that records the marketing touches a customer had before buying, then splits credit for the sale among them. Touches include ads, social posts, searches, newsletters and referrals. The result is revenue by channel and campaign, instead of visits by channel. It tells you where to spend more and what to stop.

A useful attribution tool has to do three things well:

  1. Record where each visitor came from, every time they arrive.
  2. Know about each real payment, including refunds and renewals.
  3. Link the payment to the visitor, then apply a rule for sharing credit.

Most web analytics tools do the first step well. Payment dashboards do the second. The hard part is the join between them, which usually means tag managers, ecommerce event schemas and spreadsheets.

How does Statsy attribute revenue to marketing channels?

Statsy stores every visit that has a source as a touch: referrer, UTM tags, ad click identifier and landing page. Checkout links carry the visitor’s anonymous identifier to your payment provider. When the provider confirms the payment through a signed webhook, Statsy matches it to the visitor and credits the touches before it.

Where revenue comes from

Revenue is counted only from signed payment webhooks and the authenticated Payment API. Amounts reported from the browser are never counted, because they can be forged. One-time payments, renewals and refunds are all recorded, and retried webhooks are stored once.

How a payment is matched to a visitor

  1. The visitor identifier passed through checkout, such as Stripe’s client_reference_id.
  2. An email address the site linked to the visitor earlier with statsy.identify().
  3. A known customer record, matched by email or customer id.

A payment that cannot be matched still counts toward total revenue, but it is not credited to a channel. Direct visits earn credit only when the buyer had no other source in the lookback window, so a customer who returns by typing your address does not erase the campaign that found them.

Which attribution models does Statsy support?

Statsy supports five models: last touch, first touch, linear, time decay and position based. You choose the model and a lookback window from 1 to 365 days, with 90 days as the default. Only touches inside the window count. You can switch models on the same data to see how credit moves.

ModelHow credit is split
Last touch100% of the credit goes to the last touch before the payment.
First touch100% goes to the first touch inside the lookback window.
LinearEvery touch gets an equal share.
Time decayTouches closer to the payment get more. Weight halves every 7 days, normalised to 100%.
Position based40% to the first touch, 40% to the last, and 20% shared by the touches in between.

A simple way to use them: last touch shows what closes sales, first touch shows what finds new buyers, and linear or position based show the full journey. Visitor journeys in Statsy show each customer’s touches and payments in order, so you can check the model against real paths.

Who is Statsy’s attribution built for?

Statsy suits founders, marketers and small teams who sell online through Stripe, Lemon Squeezy, Paddle, Polar or Razorpay. It fits SaaS products, digital products and online services that promote through content, social posts, newsletters, search and communities, and want revenue by source without building a data pipeline.

  • Creators and indie builders who want to know which posts and newsletters turn into sales.
  • SaaS teams who need renewals and refunds counted, not only the first payment.
  • Teams with European audiences. Auto mode counts EU, EEA, UK and Swiss visitors without cookies, and keeps visitor-level attribution for everyone else.
  • People who prefer to ask questions in an AI assistant. The MCP server exposes the attribution report to Claude, Cursor and VS Code.

How does Statsy compare with Google Analytics 4 attribution?

Google Analytics 4 is free and deeply tied to Google Ads. Since November 2023 it offers data-driven and last-click models only. Statsy offers five rule-based models and takes revenue from payment webhooks rather than purchase events sent from the page. Many teams run both while they compare numbers.

StatsyGoogle Analytics 4
Attribution modelsLast touch, first touch, linear, time decay, position basedData-driven, paid and organic last click, Google paid channels last click
Lookback window1 to 365 days, 90 by default90 days by default for most key events (30 or 60 selectable); 30 days for acquisition events
Where revenue comes fromSigned webhooks from five payment providers, or the Payment APIPurchase and ecommerce events your site sends
PriceFree during the private betaFree; Analytics 360 is a paid contract

Sources for GA4, checked September 2026: attribution models, which notes that first click, linear, time decay and position-based models are no longer available as of November 2023; lookback windows; ecommerce measurement; and Google Analytics overview.

Choose GA4 for Google Ads bidding, audiences and app plus web analytics at scale. Choose Statsy when you want revenue by channel from your payment provider with little setup. Statsy has no ad platform integrations and does not report ad spend or return on ad spend.

How does Statsy compare with other revenue analytics tools?

Several privacy-focused analytics tools now handle revenue in some form. Plausible, Fathom and Umami attach revenue values to events or goals. DataFast is built around revenue attribution with payment integrations. The table summarises what each vendor documents, as of September 2026.

ToolHow revenue gets inWorth knowing
StatsySigned webhooks from Stripe, Lemon Squeezy, Paddle, Polar and Razorpay; Payment APIFive models; replays and heatmaps with a revenue view; private beta
Plausible“Ecommerce revenue attribution” listed on its Business planCookieless; open-source Community Edition; 30-day free trial
FathomA value (in cents) sent with each event completionCookieless analytics; 7-day free trial
UmamiEvents sent with revenue and currency propertiesOpen source; self-host or Umami Cloud; no cookies
DataFastNative integrations with Stripe, LemonSqueezy, Polar and ShopifyCookies by default, with an optional cookieless script

Each tool is a reasonable choice for the job it was designed for. If you want open source or self-hosting, look at Plausible or Umami. Check each vendor’s own site before deciding; plans and features change often.

What are the limits of attribution?

Attribution figures are estimates, in Statsy and in every other tool. Ad blockers, browser privacy features and consent choices reduce what can be measured. In Statsy, visitor-level attribution needs Full mode. Payments from cookieless visitors count in revenue but are credited to a channel only when matched by email or customer id.

  • Cookieless visitors cannot be linked across days by design, so multi-day journeys are only visible for Full mode visitors.
  • Offline sales and payment systems without a webhook need the Payment API, sent from your server.
  • Credit models are rules, not proof of cause. Compare models and look at real journeys before moving budget.

How do you set up revenue attribution in Statsy?

Setup takes three steps: add the script, connect your payment provider, and tag your campaign links. The webhook URL and signing secret are pasted once. Hosted checkout links from Stripe, Lemon Squeezy, Polar, Paddle and Razorpay carry the visitor identifier automatically for visitors in Full mode, so most sites need no code changes.

  1. Add the Statsy script (about 3 KB gzipped) to every page of your site.
  2. In Statsy, choose your payment provider, copy the webhook URL into the provider and paste its signing secret back.
  3. Tag links with UTM parameters, for example utm_source=newsletter&utm_campaign=launch. Referrers are recognised without tags.
  4. For checkouts created on your server, pass statsy.visitorId() as statsy_vid in the checkout metadata.

Want replays and heatmaps of the buyers too? See how Statsy works as a Hotjar alternative.

Marketing attribution FAQ

What is the difference between web analytics and marketing attribution software?

Web analytics counts visits, pages and sources. Marketing attribution software connects those visits to real sales and splits credit for each sale among the touches before it, so you see revenue by channel instead of traffic by channel.

Which payment providers does Statsy attribute revenue from?

Stripe, Lemon Squeezy, Paddle, Polar and Razorpay, through signed webhooks. Other systems can send payments from a server to the authenticated Payment API. Amounts reported from the browser are never counted.

Does Statsy count refunds and subscription renewals?

Yes. Renewals are recorded as payments and refunds reduce net revenue. Subscription cancellations mark the customer as churned. Each payment is stored once per provider payment id, so retried webhooks do not double count.

Can I see which social posts or newsletters bring paying customers?

Yes. Tag links with UTM parameters or rely on referrers, then connect your payment provider. The attribution report and revenue breakdowns show revenue, customers and refunds by source, campaign and page.

Does Statsy attribution work without cookies?

Partly. Cookieless visitors are counted, and their payments count in total revenue. Crediting those payments to a channel needs a match by email or customer id, because cookieless visits cannot be linked across days.

Does Statsy import ad spend or calculate ROAS?

No. Statsy has no ad platform integrations and does not report ad spend or return on ad spend. It reports revenue, refunds, customers and revenue per customer by channel.

How much does Statsy cost?

Statsy is free during its private beta, with every feature included. Paid plans have not been announced, and you will be told the price in advance before any plan applies to your account.
Marketing attribution software for revenue · Statsy