What Is Marketing Attribution? Data, Models and Tools

Marketing attribution credits each sale to the touchpoints behind it. See the data it needs, 5 models on one $120 sale, where it breaks and how to pick a tool.

Muzahid Maruf — Founder of TrackRev.io

Muzahid MarufUpdated

Marketing attribution · 13 min read
On this page
  1. 01How does marketing attribution work?
  2. 02Where does the attribution data come from?
  3. 03What are the main attribution models?
  4. 04What is an attribution window?
  5. 05What is the difference between marketing attribution and revenue attribution?
  6. 06What is advertising attribution?
  7. 07Where does marketing attribution break?
  8. 08What are marketing mix modeling and incrementality?
  9. 09How do you pick a marketing attribution tool?
  10. 10What does TrackRev do for revenue attribution?

Explore with AI

Opens this article inside the chosen assistant with a ready-made prompt.

Marketing attribution is the practice of assigning credit for a conversion, such as a signup or a payment, to the marketing touchpoints that came before the conversion.

Take a buyer who reads a blog post on March 3, clicks a newsletter link on March 17, then clicks a Google ad on March 24 and pays $120 on March 24.

Attribution is the rule that splits the $120 across the 3 touches, and the output is a ranked list of channels by the credit they earned.

Under one rule the blog post gets all $120, under another the Google ad does, and under a third each touch gets $40.

According to Google Analytics Help, Google Analytics 4 offers 3 models in 2026, and TrackRev's Q2 2026 benchmark shows 64% of workspaces default to last-touch.

This guide covers the data attribution needs, 5 models, 6 failure points and how to pick a tool.

Key takeaways

  • Marketing attribution splits the credit for a conversion across the touches before it, so a $120 sale can credit one touch $120 or three touches $40 each, depending on the model.
  • Four inputs feed it: UTM parameters, a first-party cookie, ad click IDs such as gclid and fbclid, and billing records. Safari deletes script-written cookies after 7 days without a visit.
  • Google Analytics 4 has offered only 3 models since November 2023: data-driven, paid and organic last click, and Google paid channels last click.
  • At median rates, paid search brings 24 customers and $2,200 per 1,000 clicks and organic search brings 22 customers and $2,900, so a conversion report and a revenue report rank them differently.
  • Pick a tool by where revenue is recorded: ad platforms for an ecommerce store (Triple Whale), a CRM for long B2B deals (Dreamdata), or the billing system for subscriptions (TrackRev, affiliate software with attribution built in).

How does marketing attribution work?

Marketing attribution works in 4 steps, and every setup runs the same sequence. First, log each touch with its source and a timestamp. Second, keep a visitor ID so later visits join earlier ones.

Third, record the conversion with its value. Finally, apply a credit rule to the joined path. Steps 2 and 3 fail without an error message.

The $120 payment still appears in Stripe or Paddle reports, with the wrong channel or none. According to TrackRev's Q2 2026 benchmark, the median buyer pays 6.3 days after the first click, and the slowest 10% reach 48.2 days.

For example, a buyer who clicks a Google ad on day 1 and pays on day 9 in Safari looks like a direct visit once the visitor ID expires.

The credit rule is the easy part, and the data feeding the rule decides whether the ranking can be trusted.

The multi-touch attribution setup guide walks through the full build, and the next sections cover the 4 signals that feed most setups in 2026.

Where does the attribution data come from?

Attribution data is the set of 4 signals that identify a touch, a visitor and a payment, per Google Analytics Help and WebKit documentation. First, UTM parameters carry source, medium and campaign. Second, a first-party cookie carries the visitor ID.

Third, ad click IDs such as gclid and fbclid link a click to an ad platform. Finally, billing records carry amount, plan, renewals and refunds.

Only 1 of the 4 signals, 25%, shows what a customer paid, and the other 3 show where the customer came from.

A setup that joins all 4 can answer both questions in 2026, and a setup missing any signal leaves gaps in the channel report, and no vendor dashboard repairs a missing signal after the visit has ended.

SignalWhat it carriesWhere it breaks
UTM parametersSource, medium and campaign, typed into the linkutm_source=google and utm_source=Google count as 2 rows
First-party cookieA random visitor ID that ties repeat visits togetherSafari deletes script-written cookies after 7 days without a visit
Ad click IDgclid from Google Ads, fbclid from MetaSafari can cap the cookie at 24 hours once a click ID is detected
Billing recordAmount, plan, renewals and refunds from Stripe or PaddleCarries no channel unless you pass one into checkout

Failure points by signal.

How do UTM parameters work?

UTM parameters are tags typed into a link that tell Google Analytics 4 where a visit came from. Google Analytics 4 reads the tags when a visitor lands.

Google's campaign URL documentation lists utm_id, utm_source, utm_medium, utm_campaign and utm_source_platform, and says to set the tags together or reports show "(not set)".

Values are case sensitive, so Email and email become 2 rows, and Email, email and e-mail become 3 channels. First, lowercase every value. Second, build links from a fixed list of values rather than typing each one.

The UTM parameters guide covers naming conventions, and the free UTM builder generates links from the fixed list.

For example, a $120 sale tagged Email and a $60 sale tagged email show up as 2 rows of $120 and $60 instead of 1 row of $180.

In practice, one typo splits 1 campaign into 2 rows in 2026 reports.

How do cookies and visitor IDs work?

A visitor ID is a random value stored in a first-party cookie, so repeat visits from one browser join into one journey.

Per WebKit's tracking prevention policy, Safari Intelligent Tracking Prevention deletes cookies created in JavaScript, plus LocalStorage and IndexedDB data, after 7 days of no user interaction with the site.

A buyer who clicks on day 1 and pays on day 9, with no visit between, looks like a new visitor, and the $120 payment loses the click.

In TrackRev's Q2 2026 benchmark, the 75th percentile of days from first click to first charge is 21.0, so at least 25% of buyers pay after the 7-day cap.

A cookie your own server sets in an HTTP response sits outside that cap, while WebKit separately caps cookies set through third-party CNAME or IP address cloaking at 7 days.

Safari ITP and SaaS attribution covers what the cap means for a pixel.

How do ad platform click IDs work?

A click ID is a unique value an ad platform appends to a landing URL so the platform can match a click to a conversion later. Google Ads auto-tagging appends a GCLID to the landing URL, and Meta uses fbclid.

Meta's developer documentation recommends reading fbclid on the server and storing it in an _fbc cookie with a 90-day expiry.

WebKit says ITP detects click IDs added to links and caps cookies created in JavaScript on the landing page at 24 hours, which covers 1 of the 30 days, or 3%, in a 30-day Google Ads click window, and Safari 17.0 blocks known tracking query parameters in Private Browsing.

First, read the click ID on the server. Second, store the value in a cookie your own server sets. Finally, send the stored value back with the conversion.

How does billing data fit into attribution?

Billing data is the one source that records what a customer paid, and joining billing data to a visit takes an identifier passed into checkout.

Without the identifier, a $120 charge arrives in Stripe with an amount, a plan and a customer, and no channel. Stripe Checkout takes a client_reference_id of up to 200 characters for reconciling a session with your own systems.

Stripe metadata holds up to 50 key-value pairs, with 40-character keys and 500-character values, and Payment Links return UTM parameters on the redirect URL within a 150-character limit.

A short visitor ID fits inside all 3 fields, and the 500-character metadata value is 2.5 times the 200-character reference field. First, pick the field. Second, write the visitor ID when the checkout is created.

Finally, read the ID back from the webhook. In 2026, the $120 charge then carries the channel. The walkthrough for Stripe revenue by channel shows the full join.

What are the main attribution models?

An attribution model is the rule for splitting credit among touches. Here is the $120 sale from the opening under 5 rules, using the blog post (March 3), the newsletter click (March 17) and the Google ad click (March 24).

ModelRuleBlog postNewsletterGoogle ad
First-touch100% to the first touch$120.00$0.00$0.00
Last-touch100% to the last touch$0.00$0.00$120.00
LinearEqual share to every touch$40.00$40.00$40.00
Position-based40% first, 40% last, 20% to the middle$48.00$24.00$48.00
Time decayWeight halves for every 7 days before the sale$9.23$36.92$73.85

Every row sums to $120. Time decay uses a 7-day half-life, so the weights are 0.125, 0.5 and 1.

Last-touch pays $120 to the March 24 ad and $0 to the March 3 blog post that started the journey, and first-touch reverses that. Linear pays every touch whether or not the touch mattered.

Position-based and time decay hard-code a guess. Data-driven models learn the weights instead. Google's attribution documentation describes data-driven attribution as machine learning over converting and non-converting paths, built separately for each advertiser and each key event.

For example, the blog post earns $120 under first-touch and $0 under last-touch, so the 5 rules produce 5 different channel rankings from 1 sale in 2026.

Which attribution models does Google Analytics 4 offer?

Google Analytics 4 is limited to 3 models: data-driven, paid and organic last click, and Google paid channels last click. The current list is a fixed set.

First-click, linear, time decay and position-based stopped being available in November 2023, so comparing fixed rules on the same sales takes another tool. Google adds that conversions can be reattributed for up to 7 days after they happen.

In TrackRev's Q2 2026 benchmark data, 64% of workspaces default to last-touch, 22% to linear and 14% to first-touch. The comparison of last-touch, first-touch and linear covers when each model misleads a subscription funnel.

First, check which model a report uses. Second, rerun the same sales under another model before moving budget.

In practice, a switch from last-touch to first-touch moves the $120 sale from the March 24 ad to the March 3 blog post, a 100% change in credit for 2 channels.

What is an attribution window?

An attribution window is the number of days a conversion can look back for a touch to credit, and each tool picks its own default.

Google Analytics 4 defaults to 30 days for acquisition events and 90 days for other key events. TrackRev's benchmark puts the median at 6.3 days from first click to first charge.

For example, a $120 first payment on day 40 falls outside a 30-day window and goes to the wrong touch or to nothing.

SettingDefaultRange or percentile
Google Analytics 4 lookback, acquisition events30 days7 or 30 days
Google Analytics 4 lookback, other key events90 days30, 60 or 90 days
Google Ads click-through window30 days1 to 90 days, by conversion source
TrackRev benchmark, first click to first charge6.3 days at the median21.0 days at the 75th percentile, 48.2 at the 90th, 73.5 at the 95th

Sources: Google Analytics Help (key event lookback window), Google Ads Help (conversion windows) and the TrackRev benchmark, Q2 2026.

With a 90th percentile of 48.2 days, a 30-day window misses at least the slowest 10% of buyers, and the benchmark counts only conversions inside each workspace's own window, so the true tail is longer.

Google Ads also keeps separate windows for engaged-view and view-through conversions, so its totals can differ from analytics totals, and the platform recommends windows of at least 7 days.

What is the difference between marketing attribution and revenue attribution?

Marketing attribution is a count of credited conversions: a signup, a trial start or a purchase event.

Revenue attribution is the same credit applied to money read from billing, meaning the charge amount, upgrades, renewals and refunds, with a refunded charge subtracted from the channel that earned it.

On a one-time sale at one price the two rank channels almost alike. A subscription separates them, because its value arrives over months and can be reversed. TrackRev's Q2 2026 benchmark shows how far apart they land.

ChannelClick-to-paidRevenue per clickCustomers per 1,000 clicksRevenue per 1,000 clicks12-month LTV multiplier
Newsletter4.8%$4.4048$4,4001.9x
Affiliate or partner3.9%$4.1039$4,1001.4x
Paid search2.4%$2.2024$2,2000.9x
Organic search2.2%$2.9022$2,9002.1x
Paid social1.2%$1.3012$1,3000.8x
Display0.6%$0.506$5000.5x

Per-workspace medians, Q2 2026. The 2 per-1,000 columns multiply the medians by 1,000 clicks, so they illustrate the arithmetic and are not a forecast.

Paid search converts more often than organic search, 2.4% against 2.2%, and earns $700 less per 1,000 clicks. A conversion report ranks paid search third and a revenue report ranks paid search fourth.

The lifetime multipliers, 0.9x against 2.1x, put an organic customer at more than twice the 12-month value. For example, 12 conversions at $9 outrank 1 conversion at $149 in a count and total $108 against $149 in dollars.

Refunds and chargebacks remove value that a count never subtracts.

What is advertising attribution?

Advertising attribution is the ad platform's own version of the same job. Google Ads and Meta Ads Manager credit conversions to campaigns, ad sets and creatives, using click IDs and windows.

Each counts the conversions it can link to its own ads, so one purchase can appear in two reports.

Suppose Google Ads and Meta together report 150 purchases in a month while Stripe shows 100 new customers: the extra 50, or 33% of reported purchases, are overlap or conversions with no payment behind them.

On October 17, 2025, Google said it would retire the Attribution Reporting API for Chrome and Android, along with other Privacy Sandbox technologies, and pointed to the W3C's Private Advertising Technology Working Group for a future standard.

Until one ships, click IDs, first-party records and server-side events are the working tools.

Where does marketing attribution break?

Marketing attribution breaks in 6 recurring ways, and each break has a standard fix. First, inconsistent UTM values and stripped parameters corrupt the source. Second, an expired script cookie in Safari and a checkout on another domain corrupt the path.

Third, a cross-device journey and a declined consent banner remove touches. Finally, Google Analytics 4, Stripe and Paddle each keep separate records, so reports keep loading and totals keep adding up while a gap grows unseen.

The check is a monthly reconciliation of attributed revenue against billing totals (see why GA4 shows no revenue by channel).

For example, a month with $10,000 in Stripe charges and $8,000 attributed to channels leaves 20% of revenue without a source in 2026.

BreakWhat you seeFix
Inconsistent UTM valuesEmail, email and e-mail show up as 3 channelsLowercase every value and build links from a fixed list
Parameters stripped in transitSome tagged clicks arrive with their parameters removed, as in Safari 17Log the click on a server before the redirect
Script cookie expiresA day-9 payment from a day-1 click looks like a new visitor in SafariSet the visitor ID from your server
Checkout on another domainThe payment page becomes the referrerAdd the payment domain to Google Analytics 4's unwanted referrals list and pass an ID into checkout
Cross-device journeyA phone click and a laptop payment count as 2 peopleMatch on login or email at conversion
Consent declined0 touches recorded for that visitorTreat visit data as a sample and reconcile totals against billing

Does privacy law affect marketing attribution?

Yes, privacy law covers attribution tracking in the European Union.

Per the European Data Protection Board, Guidelines 2/2023 (version 2.0, adopted 7 October 2024) analyze URL and pixel tracking under Article 5(3) of the ePrivacy Directive and treat tracking links and pixels as covered, even when the storage is not permanent.

The guidelines' example of a tracked link is an affiliate link carrying an identifier in the URL. Covered means consent is required unless an exemption applies.

The guidelines leave exemptions to case-by-case analysis under national law, so ask a lawyer about the markets you sell into. A declined consent banner records 0 touches.

Suppose 70% of visitors accept the banner: the other 30% of visits leave nothing to attribute, so reconcile visit data against Stripe or Paddle totals.

What are marketing mix modeling and incrementality?

Marketing mix modeling is a statistical method that fits weekly spend against weekly sales with no user-level tracking, and Google's open-source Meridian is one option.

Attribution shows which touches preceded a sale and cannot show whether the sale would have happened anyway. First, an incrementality test holds back a slice of the audience, say 10%, and compares its conversions with the exposed 90%.

Second, for a small paid budget, a holdout test or a survey question usually tells you more than a model can in 2026.

Finally, a podcast mention or a group-chat recommendation leaves no click, and a "How did you hear about us?" field at signup records the mention. For how to combine the two, see self-reported versus tracked attribution.

How do you pick a marketing attribution tool?

A marketing attribution tool is software that joins touches to conversions and applies a credit rule. Start from where the revenue is recorded and which decision the report will drive.

Ad-first tools begin at ad spend, and billing-first tools begin at the charge. Entry prices in October 2026 run from $0 for Google Analytics 4 and Triple Whale Free to $3,500 a month for Northbeam Professional.

ToolBuilt forModelsEntry price
Google Analytics 4Behavior on your site and appData-driven, paid and organic last click, Google paid channels last clickFree
Triple WhaleEcommerce brands tracking orders back to adsFirst and last click on Free; 7 models including Linear and Total Impact on paid plans, with lookback windows of 1, 7, 14 or 28 days or lifetimeFree plan with 10 users and 12 months of data; paid plans sold through a walkthrough, price not published
NorthbeamBrands spending from under $1.5 million a year to over $500,000 a month on adsMulti-touch attribution, with media mix modeling and incrementality as optionsProfessional lists $3,500 a month; every plan is sold by quote
DreamdataB2B teams that report on CRM dataCustom attribution models on Advanced; Free covers B2B web analytics and company identificationFree at $0 a month with 5 seats and 2 months of history; Advanced is custom
CometlyB2B SaaS teams syncing conversions to 7 ad platformsMulti-touch attribution with server-side trackingUsage-based on monthly pageviews; no free trial; 20% off annual
TrackRevSubscription revenue by channelFirst-touch, last-touch, linearFree plan with 1,000 tracked events a month; paid plans $29 a month (Indie, 1 workspace) and $299 a year (Growth, up to 10 workspaces)

Prices from each vendor's pricing page, October 2026.

Triple Whale and Northbeam are built around a store with heavy Meta and Google spend, where ad-level data matters every day. Dreamdata fits B2B teams that report from CRM data.

Cometly's pricing page lists server-side Conversion API connections to Meta, Google, LinkedIn, TikTok, Microsoft, Reddit and Snapchat.

Subscriptions whose channels are content, email, affiliates and partners fit a billing-first tool such as TrackRev, because the channel behind each renewal is the number such teams need.

Google Analytics 4 is enough when you only need behavior on your own site, and the guide to measuring marketing ROI for SaaS covers the spend side.

Which four questions should you ask an attribution vendor?

The shortlist test is a set of 4 questions to ask each vendor before paying for a tool in 2026. First, does conversion value come from an ad platform's report or from your billing records?

Second, does the tool keep the raw touches, so a new model can rerun on old sales? Third, how does the visitor ID get past Safari's 7-day script cap?

Finally, what happens to a channel's revenue when a charge is refunded?

For example, a vendor that answers "ad platform report" to the first question inherits the overlap between Google Ads and Meta Ads Manager described above, and a vendor that answers "billing records" ties each renewal in Stripe to a channel.

With 150 reported purchases against 100 Stripe customers, the platform report claims 50% more purchases than payments.

What does TrackRev do for revenue attribution?

TrackRev is SaaS affiliate software for indie hackers and small SaaS teams, with link tracking and revenue attribution built in, from $29 a month and with 0% fees. First, we built TrackRev to record each click on its own server.

Second, TrackRev sets a first-party visitor ID on your domain. Finally, TrackRev ties charges from Stripe, Paddle Billing, Polar, Lemon Squeezy, Creem and Dodo Payments back to the click that earned them in 2026.

Renewals, upgrades and refunds adjust the channel that earned the first sale.

TrackRev stores the raw clicks apart from any model, so you can view the same sales under any of 3 models, first-touch, last-touch or linear, without re-tagging a link.

What does TrackRev cost and what does it leave to other tools?

First, the Free plan covers 50 links and 1,000 tracked events a month and hides revenue figures, which every paid plan shows.

Indie costs $29 a month for 1 workspace and 1 tracked domain, and Growth costs $299 a year for up to 10 workspaces and 10 tracked domains.

Second, no plan caps the sales revenue or affiliate commission TrackRev attributes, and Growth works out to $24.92 a month.

Finally, per the pricing page in October 2026, TrackRev has no data-driven model, no media mix modeling and no incrementality testing, and TrackRev does not adjust Meta or Google bids.

Pick Triple Whale, Northbeam or Cometly for that, and Dreamdata if your deals live in a CRM. A team that wants attribution alone, with no partner program, can choose a dedicated tool instead.

The revenue attribution page shows the connections and models in the product.

Found this useful? Share it.

PostLinkedIn

Frequently asked questions

Muzahid Maruf — Founder of TrackRev.io

Written by

Muzahid Maruf

Founder, TrackRev.io & Contant.io

Muzahid Maruf founded TrackRev.io, SaaS affiliate software with no limit on tracked revenue, and Contant.io. He writes about affiliate programs.

Writes about Marketing attribution · Link tracking · Revenue analytics · SaaS growth

Run your affiliate program without a revenue cap.

Affiliate software for indie hackers and small SaaS teams: $29 a month flat, 0% fees, link tracking and revenue attribution built in. Free to start, no card.