Marketing attribution explained: the main models compared, what
GA4 still offers, why clicks miss part of the journey and how to credit AI traffic.

On this page
In short
marketing attribution is the method of giving each marketing touchpoint (an ad, an article, an email, an AI answer) its share of credit for a conversion. Rule-based models such as last click, first click, linear or position-based split that credit with a fixed formula; data-driven models compute it from your own conversion paths. Since November 2023, Google Analytics 4 only offers data-driven and last-click models, and no click-based model sees the influence of AI answers and zero-click searches, so attribution must be completed with self-reported data, AI mention tracking and incrementality tests.
Want to go further? Ask
Quick quiz
Which way of measuring your marketing fits you?
Sorank matches your answers
Test it for 3 days on your own site and see where you stand on Google, ChatGPT and the other AIs.
Start 3-day free trial3 days free, then stop whenever you want. 90-day results guarantee, conditions apply.
Marketing attribution answers the question every budget meeting asks: which channels actually produce customers? Wikipedia's entry on attribution in marketing defines it as identifying the user actions that contribute to an outcome and assigning a value to each. This guide compares the models, explains what they miss, and shows how to account for the visitors who first meet your brand in ChatGPT, Gemini or Perplexity.
A customer rarely converts after a single interaction. A typical B2B journey might look like this: a LinkedIn ad, a Google search that lands on a blog article, a newsletter, a comparison asked to ChatGPT, then a branded search and a demo request. Each step is a touchpoint; the demo request is the conversion. Attribution decides how much of that conversion each touchpoint earns.
The answer changes budgets. Under last click, the branded search takes 100% of the credit and the article looks useless; under first click, the LinkedIn ad takes everything. Attribution sits at the heart of marketing analytics and should be read alongside each stage of your marketing funnel, because upper-funnel channels are systematically undervalued by models that favor the last step.
Models fall into two families: single-touch (one touchpoint takes all the credit) and multi-touch (the credit is shared).
The first recorded interaction receives 100% of the credit. Useful to see which channels bring new people into the journey, blind to everything that closes the sale.
The final interaction before conversion receives 100%. Last non-direct click ignores direct visits and credits the last identifiable channel instead. Simple and stable, it overvalues branded search, retargeting and email, which often harvest demand created elsewhere.
Every touchpoint receives an equal share. Fair in appearance, but it gives a newsletter opened by habit the same weight as the article that triggered the purchase.
Touchpoints closer to the conversion receive more credit. Suited to short sales cycles and promotions; it penalizes the content that started a long consideration.
The first and last touchpoints receive 40% each, and the remaining 20% is spread across the middle. It values both discovery and closing, with fixed weights that are arbitrary by design.
An algorithm compares the paths that convert with those that do not and estimates the incremental contribution of each touchpoint. It adapts to your business but needs enough conversion volume and remains a black box.
| Model | How credit is split | Best for | Main bias |
|---|---|---|---|
| First click | 100% to the first touchpoint | Measuring discovery channels | Ignores closing |
| Last click | 100% to the last touchpoint | Short, simple journeys | Overvalues brand search and retargeting |
| Linear | Equal shares | A first multi-touch view | Treats all steps as equal |
| Time decay | More credit near conversion | Promotions, short cycles | Undervalues early content |
| Position-based | 40% first, 40% last, 20% middle | Balancing discovery and closing | Arbitrary weights |
| Data-driven | Computed from your conversion paths | Sites with steady conversion volume | Opaque, sees only tracked clicks |
First touch gives all the credit for a conversion to the channel that brought the buyer in. Last touch gives it to the channel used just before the conversion. First touch shows which channels create demand, last touch shows which ones turn it into sales, so run both on the same conversions and read the gap between them.
| Criterion | First touch | Last touch |
|---|---|---|
| Question it answers | Where do new buyers come from? | What happened just before they converted? |
| Channels it tends to favor | Articles, non-branded search, social posts, podcasts, display ads | Branded search, email, retargeting, direct visits |
| Channels it hides | Everything that nurtures and closes the sale | Everything that started the journey |
| Use it to decide | How much to spend on reaching new people | Which pages, offers and campaigns convert |
Google Analytics 4 no longer offers first click as a model, but its dimensions still give you both views. Google's help page on the scopes of traffic-source dimensions explains that “First user” dimensions keep the source that acquired the user, even when that user comes back, and feed the User acquisition report. Session dimensions take a new value at each visit and feed the Traffic acquisition report. Neither changes when you switch the attribution model in your settings. Put key events by first user channel next to key events by session channel, over the same dates, and you have a first touch vs last touch table. In a CRM, do the same with an original source field and a latest source field on each contact.
Opener ratio = first-touch conversions / last-touch conversions
Compute it per channel, over the same period. Above 1, the channel starts more journeys than it closes, and last-touch reports undervalue it. Below 1, it mostly harvests demand created elsewhere. Branded search is the usual closer: our guide to branded keywords shows how to split it from non-branded search before you compare. Give openers a target on first-touch conversions and closers a target on last-touch conversions, then split the money as our guide to the marketing budget explains.
Google simplified the choice. According to the Google Analytics help center, the first click, linear, time decay and position-based models are no longer available as of November 2023. Google Analytics 4 now offers three options:
To keep a first-touch view, use the first user source and medium dimensions in GA4 acquisition reports, or store the first source of each lead in your CRM. To compare channels, build a dedicated report: our guide to the Google Analytics dashboard shows how.
A view-through conversion is a sale or sign-up from someone who saw your ad without clicking it, then converted within a set window. Ad platforms such as Google Ads and Meta count them next to click conversions, and each account has its own window, which you can change in the settings. Someone who watches a video on Monday, searches your brand on Wednesday and buys on Friday can count as a view-through conversion for the video and as a branded search for the search ad.
The idea is simple. The difficulty is that a view-through conversion proves exposure, not cause. The platform matches the person to your site and sees a conversion after the impression. It cannot tell whether the ad changed their mind or whether they were already going to buy.
Google Analytics 4 measures visits. An ad that was seen but not clicked never starts a session, so it never appears in the paths GA4 analyzes. The ad platform sees the exposure, while GA4 sees only the click. When the two reports disagree, do not assume one is wrong: they count different events.
Use view-through conversions to see which campaigns reach people who later buy, not to set budgets on their own. A campaign with strong view-through counts and weak click results deserves a test before it gets more money. Solid tracking comes first: our guide to conversion tracking covers the GA4, Google Ads and Meta settings, and our article on enhanced conversions explains how matched customer data is used under consent rules.
Every click-based model shares the same blind spots, whatever its formula:
Wikipedia's article notes that multi-touch and rule-based models frequently diverge from lift measured in controlled experiments. Attribution gives a direction, not an exact accounting.
Pipeline attribution assigns the value of open and won opportunities to the channels that produced them, instead of counting only clicks or closed revenue. It answers the question sales teams ask: which sources create deals worth pursuing? In B2B, where a sale can take months, it is often the most useful view, because revenue arrives long after the first touch.
| Measure | Credit goes to | Use it to |
|---|---|---|
| Sourced pipeline | The channel that created the opportunity | Judge acquisition spend |
| Influenced pipeline | Every channel touched before the deal closed | Judge content, events and nurture emails |
| Won revenue | The source of each closed deal | Compare return on spend |
Influenced pipeline always adds up to more than the total pipeline, because one deal can be influenced by many channels. That is expected. Report it on its own line, and never add it to sourced pipeline.
Do not count a deal twice in one report. Watch for sources typed differently by different people, such as 'LinkedIn' and 'linkedin ads', because they split one channel into several rows. Check how referrals from customers and partners are recorded too: if they are entered as direct, the channel that sends the most deals looks like it sends none.
Pipeline numbers only help when sales and marketing use the same definitions. Our guide to sales and marketing explains how to align the two teams, and our article on SaaS lead generation covers the channels that feed the pipeline.
This is the newest blind spot. A growing share of research happens inside ChatGPT, Gemini, Perplexity, Claude or Google's AI Overviews, and much of it produces no click at all.
AI-referred traffic is visible when the assistant passes a referrer or a tag. OpenAI states in its publisher FAQ that ChatGPT adds utm_source=chatgpt.com to the links it cites. Other assistants appear as referrers such as perplexity.ai, gemini.google.com or copilot.microsoft.com. Create a custom channel group in GA4 that gathers these sources; our tutorial on measuring AI citations with Google Analytics gives the regular expression to use.
Part of the traffic generated by AI arrives without a referrer: links copied into a browser, mobile apps, or a user who reads the answer then types your brand name. This AI dark traffic inflates direct visits and branded searches. Watch the trend of these two lines in parallel with your AI visibility.
Zero-click attribution relies on upstream signals: how often AI assistants cite your brand for the questions your buyers ask, and your AI share of voice against competitors. Sorank's AI mention tracking follows 10 to 50 prompts on ChatGPT, Claude and Gemini (plus Grok from the Pro plan) and shows who is cited in your place. Our ChatGPT citation study details which sources the assistant favors.
Mature teams triangulate three methods instead of trusting a single model:
| Method | What it measures | Strength | Limit |
|---|---|---|---|
| Multi-touch attribution | Tracked clicks per conversion | Daily, granular, per campaign | Blind to views, AI answers, offline |
| Marketing mix modeling | Statistical link between spend and sales over time | Covers all channels, needs no cookies | Needs two to three years of data, monthly view |
| Incrementality tests | Sales with and without a campaign (holdout, geographic tests) | Measures true causal impact | One question per test, needs volume |
| Self-reported attribution | The "How did you hear about us?" field | Captures podcasts, word of mouth, AI | Memory bias, free text to clean |
Marketing mix modeling has become accessible: Google publishes Meridian, an open-source model. For smaller companies, the self-reported field is the quickest win: add "ChatGPT or another AI assistant" as an explicit answer and you will see a channel that click data hides.
Multi-touch attribution follows each buyer's path through several touchpoints and splits the value of the conversion across them. It needs three things: a stable identity for each buyer, a lookback window that matches your sales cycle, and one conversion record per deal. Without them, the model shares credit across people who are not the same buyer.
Tie touches to a person. Logged-in users can be matched across devices with an account ID, while anonymous visitors cannot, so their paths stop at the cookie. Set the lookback window to the typical time from first visit to conversion. A 30-day window ignores the early article of a six-month deal, and a 365-day window credits a visit from a year earlier. Count each conversion once, even when the ad platform and your analytics both report it.
Take one path with four touches and a deal worth 10000. The total stays the same, but the story changes:
| Touchpoint | Linear | Position-based |
|---|---|---|
| LinkedIn ad | 2500 | 4000 |
| Blog article | 2500 | 1000 |
| Newsletter | 2500 | 1000 |
| Branded search | 2500 | 4000 |
Linear credits the newsletter as much as the LinkedIn ad. Position-based gives the first and last touch the most weight, which suits a team that wants both discovery and closing visible. Run both models on the same data and report the spread between them, not just one number.
Before you model the path, list the touchpoints you need to track. Our guide to customer journey mapping shows how to build that list.
You attribute AI search revenue by tagging the visits that arrive from assistants, carrying that tag into your CRM, and comparing how those leads close with the rest. Visits without a referrer cannot be tagged, so the result is a floor for the revenue, not the full figure.
Start with the AI channel group described above, then make sure the source survives the form. The referrer is only available on the first page of a visit, so capture the first source at that moment, store it in a first-party cookie and copy it into a hidden field on your forms. Without this step, a visitor who arrives from ChatGPT on Monday and books a demo on Friday shows up as direct.
Once the visits are tagged, the calculation is straightforward. Use the conversion rate of AI visits, not the site average, because people who arrive after reading an AI answer often behave differently from people who arrive from a search result:
AI-referred revenue = AI-referred sessions × AI conversion rate × average deal value With illustrative numbers: 200 sessions at a 5% conversion rate give 10 deals, and 10 deals at an average value of 2000 give 20000 in revenue. Replace each figure with your own data, and use the same attribution window you use for other channels.
Tip
Ask the self-reported question, 'How did you hear about us?', with an explicit option for AI assistants. When the self-reported count is higher than the tagged count, the gap is a sign of influence your tags missed.
To see how AI answers turn into visits in the first place, read our guide to the AI visibility audit, and use the conversion rate calculator to check your figures.
Revenue attribution adds up the money each channel brings in, using one rule for which customers count toward which channel. Pick the rule first, usually the first source of each customer or the model you chose as your reference, then count net revenue from those customers over a fixed window. Recurring businesses should count revenue over the customer's life, not only the first invoice.
Channel revenue = sum of net revenue from customers whose attributed source is the channel, within the window Net revenue means revenue after refunds, chargebacks and discounts, in one currency. A channel whose customers cancel quickly can look strong on first-month revenue and weak on the lifetime view. Report both.
Revenue lags the click. A deal signed 90 days after the first touch should land in the period of the signature, but its source stays the first touch. Keep two dates for each customer: the date of the first touch and the date of the revenue. Compare channels by cohort, meaning all customers who arrived in the same month, so that a late-month campaign does not look weaker just because its revenue has not arrived yet.
Tip
Build the channel view every month and freeze the rule you used for past cohorts. Changing the rule halfway through a year makes this year's numbers impossible to compare with last year's.
Once you have revenue by channel, divide it by spend with a ROAS calculator. Our guide to marketing ROI explains the formula and the difference between ROAS and ROMI.
Organic content suffers most from last-click attribution: articles and guides start journeys that end on a branded search or an email. The same applies to GEO, where an AI citation influences a buyer who will never click. Measure organic search and AI visibility together in a GEO and SEO dashboard, and judge content on first-touch conversions, assisted conversions and citations, not only on last-click revenue.
The right attribution model is the one you keep stable, cross-check with other methods and extend to AI answers. To see how often ChatGPT, Claude and Gemini cite your brand and which competitors take your place, start with Sorank, the SEO and GEO software in autopilot, with a 3-day free trial.
No model is best for every company. Data-driven attribution is the most accurate when you have enough conversions, because it learns from your own paths. With low volume, last non-direct click is more stable, provided you also check first-touch reports to avoid undervaluing the channels that start journeys.
Attribution follows individual tracked clicks and splits the credit of each conversion between them. Marketing mix modeling works on aggregated data, linking spend per channel to sales over time with statistics. Attribution is granular and fast but blind to untracked influence; mix modeling covers every channel but needs years of data and gives a monthly view.
Visits from ChatGPT carry the source chatgpt.com, and other assistants appear as referrers such as perplexity.ai or gemini.google.com. Create a custom channel group in GA4 with a regular expression matching these domains and place it above the Referral channel. Watch direct and branded traffic too, because part of AI-driven traffic arrives without a referrer.
