Skip to content
Guide · Revenue & attribution

Attribution models explained, with one journey worked through

An attribution model is the rule that splits the credit for a sale between the visits that led to it. The quickest way to understand the common models is to run one customer journey through each of them, which is what this guide does before showing what Linqry reports and why.

Updated · 8 min read

One customer, four visits, one sale

Here's the journey used throughout. A founder comparing analytics tools visits a site four times over nine days, then buys a $120 annual plan:

An illustrative journey. Real ones are messier, and most tools only see part of them.
DayHow they arrivedChannelWhat they did
Day 1Clicked a Google search resultSearchRead a blog post
Day 3Clicked a LinkedIn postSocialViewed pricing and started a trial
Day 6Clicked a newsletter link tagged utm_medium=emailEmailRead the docs
Day 9Typed the address into the browserDirectBought the $120 plan

Every model below answers the same question, who gets the $120, and each gives a different answer. None of them is wrong. They're different rules for different decisions, and the attribution glossary entry gives the short definitions.

First touch

First-touch attribution gives all the credit to the visit that started the journey. Search gets $120; LinkedIn, the newsletter and the direct visit get nothing.

It rewards whatever introduces people to you: articles, communities, launches, word of mouth. That makes it useful when you're deciding where to find new audiences, and when the first visit and the sale are far apart. Its blind spot is everything after the introduction. Here, the newsletter that brought a quiet trial user back gets no credit at all.

Last touch, with and without direct

Last-touch attribution gives all the credit to the final visit. Two variants are common, and in this journey they disagree:

  • Last click, or pure last touch: the day-9 visit owns the sale, so Direct gets $120.
  • Last non-direct click: direct visits are skipped when an earlier source exists, so the newsletter, and with it the Email channel, gets $120.

Last touch is easy to explain and to check, because you can open the converting visit and see where it came from. It shows which channels close sales. It undervalues the channels that start journeys, and the pure variant lets Direct soak up credit whenever customers come back by typing your address, which buyers often do. See last-touch attribution for more on the variants.

Linear

Linear attribution splits the credit equally across every touch. With four visits, each gets a quarter:

TouchChannelCredit
Day 1Search$30
Day 3Social$30
Day 6Email$30
Day 9Direct$30

Some tools leave direct visits out of multi-touch models when other sources exist. Do that here and the three remaining touches get $40 each. Linear is a fair default when you believe every touch mattered and don't know which mattered most. Its weakness is the flip side: a two-second accidental visit counts as much as the visit that convinced someone.

Position-based

Position-based attribution, also called U-shaped, favours the first and last touches, on the theory that the introduction and the close are the moments that matter most. A common split gives 40% each to the first and last touch and shares the remaining 20% across the touches in between:

TouchChannelShareCredit
Day 1Search40%$48
Day 3Social10%$12
Day 6Email10%$12
Day 9Direct40%$48

Leave the direct visit out and the newsletter becomes the last touch: Search $48, Email $48 and Social $24. With only two touches, the usual convention is 50/50, and a single touch gets everything.

The models side by side

One journey, one $120 sale, five different reports.
ChannelFirst touchLast clickLast non-directLinearPosition-based
Search$120$0$0$30$48
Social$0$0$0$30$12
Email$0$0$120$30$12
Direct$0$120$0$30$48

If this customer were typical, a first-touch report would say search brings customers in, a last non-direct report would credit the newsletter, a last-click report would hand the sale to Direct, and a linear report would call all four channels equal. The model you pick decides the story, so pick it on purpose.

Two more models you'll meet

  • Time decay gives more credit to touches closer to the sale, usually halving a touch's weight for each fixed period, called the half-life, between it and the purchase. With a seven-day half-life, the four visits here would get about $20, $24, $32 and $44.
  • Data-driven models use statistics over a tool's own conversion data to estimate each channel's contribution. They need a lot of conversions to be stable and are hard to inspect from the outside.

Tools change their menus over time. Google has removed first-click, linear, time-decay and position-based models from Google Ads and Google Analytics 4 (the Google Ads change took effect in 2023), keeping data-driven and last click. If you compare reports with GA4, you're comparing against one of those two.

Choose the model by the decision

The decisionModel that fitsWhy
Where should we look for new people?First touchCredits whatever starts journeys
Which channels close sales?Last non-directCredits the final source and ignores typed-in returns
Is a channel pulling its weight across the journey?Linear or position-basedSpreads credit so supporting channels show up
What did this paid campaign actually add?An experiment, not a modelPause it for a period or a region and compare

The last row matters most when money is involved. Every model redistributes credit for sales that happened; none of them says which sales wouldn't have happened without a channel. For a big budget decision, a simple holdout, such as pausing a campaign in one region or for two weeks and comparing outcomes, tells you more than any model.

What every multi-touch model needs

To credit more than one visit, a tool must know that the four visits above were the same person. That takes a persistent identifier: a long-lived cookie, a login, or an ID in your own database. The source of each visit still comes from its referrer or UTM tags, and most tools only look back a fixed number of days.

In practice the journey a tool sees is incomplete. A phone visit and a laptop purchase are two people to a cookie, and cleared cookies, private windows, ad blockers and declined consent banners all cut journeys short. Multi-touch reports built on that data look precise, but they can only share credit among the touches the tool happened to see.

What Linqry reports, and why

Linqry keeps no persistent identifier. Visitors are counted with a hash that changes every day, so Linqry can't tell that the day-1 and day-9 visitors in this journey were the same person. It sees four unrelated visitors on four days, and it doesn't run multi-day models. That's a deliberate trade: nothing is stored on the visitor's device and nobody can be followed from one day to the next, and the price is that attribution happens one visit at a time.

Within a visit, the rules are exact:

  • Each visit has one source: its first referrer and its first UTM source, medium and campaign. The traffic sources guide lists the channel rules.
  • Events inherit the visit's source. A signup or purchase sent from the browser carries the source of the visit it happened in.
  • Revenue follows the visit that was under way. The Insights page ranks referrers, UTM sources and countries by the revenue their events carry, and the channel donut credits each payment to the channel of the visit that was open when it arrived.

In model terms, browser revenue is last touch at the visit level, within one day, without skipping direct. In this journey, a purchase sent from the browser on day 9 is credited to Direct.

Server-side revenue: you choose the touch

Revenue sent from your backend works differently. A server-side event carries exactly the url and referrer your server sends and inherits no source from other events, so you decide which touch gets the credit by deciding what to store and send:

What you send with the $120Credited toWhat that amounts to
No url or referrerDirect, with (none) as the sourceNo attribution
The landing URL and referrer you stored when they signed up on day 3Social, linkedin.comFirst touch of the signup visit
The landing URL and referrer of their first ever visit, day 1Search, google.comFirst touch
Nothing from the server; a browser purchase event on day 9 insteadDirectLast touch at the visit level

Storing the signup visit's landing URL in sessionStorage until the form is submitted covers the second row, and the server-side revenue guide shows the code. The third row needs storage that survives between visits, such as localStorage or a cookie on your own domain. That's the kind of persistent storage Linqry itself avoids, so confirm your own obligations before you add it.

There's also POST /api/revenue, which attaches a payment to a visitor's most recent event from the last 30 days when you pass Linqry's visitor ID. That ID is a daily hash that the tracker never exposes to your page or backend, so the url-and-referrer approach is the practical one. See the revenue docs.

Run multi-touch models in your own database

If you need linear or position-based numbers, compute them where you can recognise customers: your own database. Visits after signup are easy to record against the account, because the user is signed in. Visits before signup need first-party storage on the visitor's device, with the same obligations as above. With a table of touches per customer, the models are a few lines of SQL:

-- touches:   one row per visit you recorded before the purchase
--            (user_id, touched_at, channel)
-- purchases: one row per customer (user_id, revenue_cents)
with ranked as (
  select user_id, channel,
         row_number() over (partition by user_id order by touched_at) as pos,
         count(*)     over (partition by user_id)                     as n
  from touches
)
select r.channel,
       round(sum(p.revenue_cents * 1.0 / r.n) / 100, 2) as linear,
       round(sum(p.revenue_cents * case
                   when r.n = 1 then 1.0
                   when r.n = 2 then 0.5
                   when r.pos in (1, r.n) then 0.4
                   else 0.2 / (r.n - 2)
                 end) / 100, 2) as position_based
from ranked r
join purchases p using (user_id)
group by r.channel
order by position_based desc;

For the journey above this returns $30 per channel in the linear column and $48, $12, $12 and $48 in the position-based one. Customers who buy more than once need one set of touches per purchase. Then pick one touch to send to Linqry with each payment, so the Insights page and the channel donut tell the story you've chosen, consistently.

Practical rules for small teams

  • Write the model next to the report. "Revenue by channel, last touch at the visit level" prevents arguments later.
  • Tag every link you control. Untagged links opened from email, chat apps and documents usually arrive without a referrer, so every model files them under Direct and none can credit their real source. The guide to measuring marketing campaigns shows a tagging plan.
  • Compare channels over months, not days. A single week is too noisy for any model.
  • Read visit-level numbers for what they are: what happened in the visits a channel sent, which is narrower than everything the channel influenced.

Frequently asked questions

Which attribution model should I use?

Match the model to the decision: first touch to judge what brings new people in, last non-direct to judge what closes sales, and linear or position-based to see the channels in between. Use one model consistently for a given report, and run an experiment when you need to know what a channel actually adds.

Does Linqry support multi-touch attribution?

No. Visitor IDs rotate daily, so Linqry can't link visits from different days to one person, and it credits each conversion to the visit it happened in. You can send server-side revenue with a landing URL and referrer you stored, to credit the touch you choose, and run multi-touch models in your own database.

Why does Direct get so much of my revenue?

Revenue sent from the browser is credited to the visit in which the purchase happened, and returning buyers often type your address or use a bookmark. Sending payments from your backend with the source you stored at signup, and tagging the links you send, moves that credit to real channels.

How is position-based attribution different from linear?

Linear splits the credit equally across all touches. Position-based gives most of it to the first and last touch, commonly 40% each, and shares the remaining 20% across the touches in between.

Sources

  1. Google Ads Help: First click, linear, time decay, and position-based attribution models are going away (Google Ads and Google Analytics 4) (checked Nov 14, 2026)

See your own funnels and revenue by channel

No card required · 30-day trial · No cookies