Preferences

Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website. More information (Cookie Policy)

Marketing Attribution: Models, Limits and How to Credit Traffic From AI Assistants

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

Published on
19/10/2026
Updated on
19/10/2026
Reading time
16 min
Marketing Attribution: Models, Limits and How to Credit Traffic From AI Assistants

Tools

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?

Question 1 of 425%
What do you want to know first?

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.

What is marketing attribution?

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.

What are the main attribution models?

Models fall into two families: single-touch (one touchpoint takes all the credit) and multi-touch (the credit is shared).

First click

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.

Last click and last non-direct click

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.

Linear

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.

Time decay

Touchpoints closer to the conversion receive more credit. Suited to short sales cycles and promotions; it penalizes the content that started a long consideration.

Position-based (U-shaped)

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.

Data-driven

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.

ModelHow credit is splitBest forMain bias
First click100% to the first touchpointMeasuring discovery channelsIgnores closing
Last click100% to the last touchpointShort, simple journeysOvervalues brand search and retargeting
LinearEqual sharesA first multi-touch viewTreats all steps as equal
Time decayMore credit near conversionPromotions, short cyclesUndervalues early content
Position-based40% first, 40% last, 20% middleBalancing discovery and closingArbitrary weights
Data-drivenComputed from your conversion pathsSites with steady conversion volumeOpaque, sees only tracked clicks

First touch vs last touch attribution: which one should you use?

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.

CriterionFirst touchLast touch
Question it answersWhere do new buyers come from?What happened just before they converted?
Channels it tends to favorArticles, non-branded search, social posts, podcasts, display adsBranded search, email, retargeting, direct visits
Channels it hidesEverything that nurtures and closes the saleEverything that started the journey
Use it to decideHow much to spend on reaching new peopleWhich pages, offers and campaigns convert

Get both views from the same data

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.

Turn the gap into a decision

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.

Mistakes to avoid

  • Trusting the first touch blindly. It is only the first touch your tracking recorded: a visitor who refused cookies on the first visit, or switched devices, gets a later channel as their first touch.
  • Cutting an opener too fast. First touch credits today's conversions to channels that acquired users weeks or months ago, so the effect of a cut shows up late.
  • Comparing the two views on different conversions or windows. The gap then comes from the setup, not from the channels.
  • Forgetting journeys that start without a click. A colleague's recommendation or an AI answer is nobody's first touch, which is why the dark funnel needs other signals.

Which attribution models does Google Analytics 4 still offer?

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:

  • Data-driven: the default, computed by Google from your account's paths.
  • Paid and organic last click: all credit to the last channel clicked, direct visits excluded.
  • Google paid channels last click: credit to the last Google Ads click when there is one.

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.

What are view-through conversions?

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.

Why GA4 does not show them

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.

How to read them without fooling yourself

  1. Keep the two counts apart: report click-through and view-through conversions in separate columns, never as one total.
  2. Set the window on purpose: a short window keeps the credit close to the exposure. A long window on a product with a long decision inflates the figure.
  3. Compare with your CRM: ask each new lead how they heard of you, using a self-reported field. If view-through conversions rise while self-reported answers stay flat, the platform is probably crediting sales that would have happened anyway.
  4. Test before you cut: run a holdout, where a similar group never sees the campaign, and compare sales. An incrementality test is the only check that separates the real effect of the ad from the platform's count.

What to do with the number

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.

Why does attribution never show the full journey?

Every click-based model shares the same blind spots, whatever its formula:

  1. Consent and cookies: visitors who refuse tracking disappear from the paths, and browsers limit the lifetime of cookies.
  2. Several devices: a prospect who reads on a phone and buys on a laptop counts as two people unless they log in.
  3. Walled platforms: Google Ads, Meta and LinkedIn each attribute conversions with their own rules and do not deduplicate between them, so the sum of platform reports exceeds actual sales.
  4. Views without clicks: a video, a podcast or an AI answer can convince someone who never clicks.
  5. Long B2B cycles: several decision makers, months of consideration and offline meetings that no tag records.

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.

What is pipeline attribution in B2B?

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.

Three numbers to keep apart

MeasureCredit goes toUse it to
Sourced pipelineThe channel that created the opportunityJudge acquisition spend
Influenced pipelineEvery channel touched before the deal closedJudge content, events and nurture emails
Won revenueThe source of each closed dealCompare 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.

How to set it up

  1. Store the source on the contact and on the opportunity: keep the original source of the contact and the source of the opportunity when sales creates it. The two can differ, and both are useful.
  2. Agree on the stage that counts: most teams count pipeline when an opportunity is created with a qualified buyer, not when a lead signs up. Write the rule down so that marketing and sales count the same deals.
  3. Freeze the source at creation: if sales edits the source field after a deal is won, the report credits the wrong channel. Lock the field or keep its history.
  4. Log the touches: for influenced pipeline, record each marketing touch with the contact ID and the date, so you can list which touches came before each won deal.

Common mistakes

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.

How do you attribute traffic from AI and zero-click searches?

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.

Measure the visits that do arrive

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.

Estimate the visits that hide

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.

Credit the answers that produce no click

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.

What complements attribution?

Mature teams triangulate three methods instead of trusting a single model:

MethodWhat it measuresStrengthLimit
Multi-touch attributionTracked clicks per conversionDaily, granular, per campaignBlind to views, AI answers, offline
Marketing mix modelingStatistical link between spend and sales over timeCovers all channels, needs no cookiesNeeds two to three years of data, monthly view
Incrementality testsSales with and without a campaign (holdout, geographic tests)Measures true causal impactOne question per test, needs volume
Self-reported attributionThe "How did you hear about us?" fieldCaptures podcasts, word of mouth, AIMemory 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.

How does multi-touch attribution work in practice?

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.

Build the path

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.

Compare the models on the same path

Take one path with four touches and a deal worth 10000. The total stays the same, but the story changes:

TouchpointLinearPosition-based
LinkedIn ad25004000
Blog article25001000
Newsletter25001000
Branded search25004000

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.

Mistakes to avoid

  • Counting touches after the conversion. A remarketing click that happens after the deal closed should not get credit.
  • Comparing two models that use different windows. The difference may come from the window, not the model.
  • Trusting a model built on a few dozen conversions. Results on small volumes move with every deal.

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.

Tag the visits and the leads

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.

Estimate the revenue with a simple formula

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.

Mistakes to avoid

  • Applying the AI conversion rate to dark traffic, which may behave differently.
  • Adding AI revenue to deals already counted under branded search. Check for overlap before you report a total.
  • Judging AI visits on a few weeks. Assistant traffic is often small, so use several months of data.

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.

How do you set up marketing attribution step by step?

  1. Define your conversions: demo request, purchase, sign-up, with a value for each.
  2. Tag every campaign with a written UTM convention (lowercase, fixed source names) using a UTM builder.
  3. Connect analytics and CRM so that each lead keeps its first source, last source and revenue.
  4. Choose a reference model (data-driven if your volume allows, otherwise last non-direct click) and keep it for a full year to compare periods.
  5. Compare with first touch every quarter to see which channels open journeys.
  6. Add the AI layer: AI channel group, self-reported field, citation tracking.
  7. Judge by return: compute revenue per channel with a ROAS calculator and move budget accordingly.

How do you attribute revenue to each channel?

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.

Use the formula with the right inputs

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.

Match the timing

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.

Mistakes to avoid

  • Adding up channel revenue from several models. Each customer should count once.
  • Reporting revenue without the cost next to it. Pair each channel's revenue with its spend to get a return.
  • Treating the channel with the most customers as the one that earns the most.

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.

Attribution, SEO and GEO

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.

Frequently asked questions

What is the best attribution model?

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.

What is the difference between attribution and marketing mix modeling?

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.

How do I track ChatGPT traffic in Google Analytics?

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.

Get your content plan for 30 days for free

We analyse your competitors, your website and your AI visibility to create a tailored content plan for free.

Our free SEO tools

See all our free tools

Get your content plan for 30 days for free

We analyse your competitors, your website and your AI visibility to create a tailored content plan for free.

Man with dark hair and beard wearing a light brown shirt speaks in front of a microphone on a podcast or recording setup.Portrait of a man with short dark hair wearing a white shirt and dark jacket, looking directly at the camera with a neutral expression.Man with short dark hair, beard, and clear glasses wearing a black t-shirt with a white circular logo, standing in front of a stone wall.Celio fabianoSmiling young woman with long brown hair wearing a red top and necklace, outdoors in a tree-filled background.Profile photo of Xavier Breull, Sorank customer
Google
Solid yellow five-pointed star icon on transparent background.Solid yellow five-pointed star icon on transparent background.Solid yellow five-pointed star icon on transparent background.Solid yellow five-pointed star icon on transparent background.Solid yellow five-pointed star icon on transparent background.
5/5
+5,000
users

Testimonials from ambitious founders

0 to 10000 visitors in 5 months

Celio Fabianomonrobotlavevitre.frGoogleE-commerce

0 to 5000 visits in 8 months

Thibault BMsorank.comGoogleSoftware

0 to 1104 clicks in 4 months

Dominiqueflight-sensations-idf.comGoogleLeisure and aviation

0 to 163 clicks in 6 months

Coworking Pariscoworking-paris.frGoogleOffice broker

x92 clicks in 7 months

Guide Zanzibarguidezanzibar.comGoogleTravel