AI Glossary / AI for business and adoption / Intermediate

Attribution modeling

Attribution Modeling (AI for business and adoption)

Definition

Attribution modeling is the practice of assigning credit for a sale, sign-up or other goal to the marketing touchpoints that came before it. A model applies a set of rules or statistical methods to a customer's path and splits the credit across channels. It is not proof of cause. Different models give different answers from the same data, and definitions vary by tool.

What it means

A customer rarely buys after one contact. They may see a social ad, read an email, search for your brand and then click a paid link. Attribution modeling answers a simple question: which of those steps should get the credit, and how much? The answer guides where a business puts its next marketing dollar.

The key point is that credit is a decision, not a fact. Each model embeds a view of how customers behave. Rule-based models are easy to explain. Data-driven models try to learn from past paths, which is where machine learning enters. Neither tells you what would have happened if an ad had never been shown, so treat the output as a guide to question, not a verdict.

How it works

First, the business collects touchpoints for each customer or visitor: ad clicks, email opens, site visits, store coupon use. These are stitched into a path using identifiers such as cookies, logins or email addresses. Gaps are common. A person who switches devices or declines tracking can look like two separate people, or can vanish from the path entirely.

Second, a model assigns credit. Rule-based options include last touch (all credit to the final step), first touch (all credit to the first), linear (equal credit to every step), time decay (more credit to steps nearer the sale) and position-based (extra credit to the first and last). Data-driven models compare paths that ended in a sale with paths that did not, then estimate how much each channel seems to add. Methods differ by tool and are often not fully disclosed.

Third, the credit is rolled up by channel and compared with spend. Teams usually read this as cost per sale or return on spend. Because attribution only sees tracked paths, many businesses pair it with controlled tests, such as turning a channel off in one region, and with marketing mix modeling, which uses aggregate data and does not need individual tracking.

Three practical examples

  • Online retailer: A shop sells running shoes. Customers often click a social ad, later open an email and finally search the brand name. Last touch gives all credit to branded search. A position-based model gives more credit to the social ad that started the path, so the shop stops cutting social spend by mistake.
  • Software company: A B2B software firm has a 60-day sales cycle with many contacts: a webinar, a whitepaper download and several sales calls. It uses a data-driven model on its CRM records to see which early touches tend to appear in won deals, then checks the result against a holdout test before shifting budget.
  • Local service business: A home cleaning company runs flyers, search ads and referrals. Few customers click anything trackable. It asks each new customer how they heard of the company and uses a unique phone number per channel. This simple approach is a form of attribution that fits its size and data.

Think of it this way

Think of a relay race where the team wins and a coach must decide how to split a bonus among the runners. Last touch pays only the final runner, linear pays everyone equally, and position-based pays the first and last more. The analogy stops working because runners are visible and timed, while marketing touches are partly hidden, overlap, and may have had no effect at all.

Worked example

A customer takes this path before buying a 100 dollar jacket: a social ad, then an email, then a branded search ad. Under last touch, search gets 100 dollars and the others get 0. Under linear, each of the three touches gets 100 divided by 3, about 33.33 dollars. Under position-based with 40 percent to the first, 40 percent to the last and 20 percent to the middle, social gets 40 dollars, email gets 20 dollars and search gets 40 dollars.

Now suppose the business spent 1,000 dollars on social ads in a month and the model credits those ads with 2,500 dollars of sales. Return is 2,500 divided by 1,000, or 2.5 dollars per dollar spent. If last touch credits social with only 600 dollars, return is 600 divided by 1,000, or 0.6. Same data, same spend, a very different conclusion about whether to keep the channel.

Illustrative case study

Fictional case: Harbor Lane Outfitters, a small online camping store, used last-touch reporting and saw that branded search produced most sales. The marketing lead moved money out of video ads and into more branded search. Within two months, total sales fell even though search spend rose. Branded search had been collecting customers whom the video ads had introduced to the store. The team then switched to a position-based view, ran a six-week test pausing video ads in two regions, and compared sales against regions where ads continued. The test showed a clear drop where video was paused. They restored the video budget and began using the test results to adjust their model weights each quarter.

Common misconceptions and mistakes

Attribution shows which channel caused the sale. It only divides credit among touches that were tracked. Cause needs a test, such as a holdout group, that compares what happens with and without the ad.

A data-driven model is always more accurate than a rule-based one. It can be wrong if tracking is patchy or data is thin. Rule-based models are less precise but easier to explain and audit.

One model gives the true answer. Models disagree by design. Comparing two or three views and noting where they differ is more useful than picking one and trusting it.

Attribution covers the whole customer journey. It misses offline word of mouth, untracked devices and users who opt out. Treat the results as partial and say so when reporting.

Business use

Start with the simplest model your tools support and compare it to one alternative, such as last touch versus position-based. Check that tracking is consistent: shared campaign tags, one customer identifier where possible and a clear rule for how long a touch counts. Then pick a small decision, such as moving ten percent of one channel's budget, and confirm the change with a controlled test before scaling it.

Measure cost per sale or return on spend by channel, the share of sales you cannot attribute, and how much results change between models. Costs include analytics software, staff time for data cleanup and, for data-driven models, enough volume to learn from. Risks include privacy rules on tracking and consent, over-trusting a single number, and shifting money based on credit rather than real impact. Keep records of which model was used so past and present reports stay comparable.

People also ask

What is the difference between attribution modeling and marketing mix modeling?

Attribution modeling works on individual customer paths and needs tracking data. Marketing mix modeling uses aggregate figures such as weekly spend and sales, so it does not depend on tracking individuals. Many teams use both and compare the results.

Which attribution model should a small business use?

Start with a simple rule-based model, such as position-based, and compare it to last touch. Add customer surveys or per-channel phone numbers if tracking is weak. Move to data-driven models only when you have enough volume and clean data.

Does attribution modeling need AI?

No. Rule-based models are simple formulas. AI and machine learning appear in data-driven models that estimate each channel's contribution from past paths, and in tools that fill gaps in tracking.

Check your understanding

In the worked example, how much credit does email get under linear attribution for the 100 dollar jacket?

Answer: About 33.33 dollars, because 100 divided by 3 touches is 33.33.

In the worked example, why does social ad return change from 2.5 to 0.6?

Answer: The two models credit social with different sales, 2,500 dollars versus 600 dollars, against the same 1,000 dollars of spend. Spend did not change, only the credit rule.

Why did Harbor Lane's sales fall after it moved money to branded search?

Answer: Last touch gave search credit for sales that video ads had started. Cutting video reduced the supply of new customers that search later captured.

What is the most reliable way to check whether a channel truly drives sales?

Answer: Run a controlled test, such as pausing the channel in some regions and comparing sales to regions where it continues.

Related terms

  • Marketing mix modeling
  • Predictive analytics
  • Return on investment (ROI)
  • Incrementality testing
  • Customer journey
  • Data-driven decision making
  • Customer data platform
  • Conversion rate
  • Return on investment

Learn next

Pick one recent campaign and compare how last touch and a position-based model credit its channels, then note where they disagree. Read next about incrementality testing and marketing mix modeling to learn how to check attribution results against controlled evidence.

  • Marketing mix modeling

More in AI for business and adoption

  • AIOps - AIOps means applying artificial intelligence and analytics to IT operations.
  • Algorithmic trading - Algorithmic trading is the use of computer programs to place buy and sell orders in financial markets by following a defined set of rules.
  • Anti-money laundering (AML) - Anti-money laundering (AML) is the set of laws, controls and procedures that regulated firms use to detect and report attempts to disguise the origin of...
  • Augmentation versus automation - Augmentation versus automation is the choice between using AI to support a person who still does the work and decides, and using AI to complete a task or...
  • Automated reconciliation - Automated reconciliation is the use of software to compare two or more sets of financial or operational records, such as bank transactions and ledger...
  • Build versus buy - Build versus buy is the decision between developing an AI capability with your own people and resources, or purchasing a ready-made product or service from...

Work in finance? Get the free CFO AI Prompt Pack: 7 prompts for finance leaders.

Sources

Gartner, Information Technology Glossary: https://www.gartner.com/en/information-technology/glossary IBM, Think topics: https://www.ibm.com/think/topics Google, Machine Learning Glossary: https://developers.google.com/machine-learning/glossary The sources were consulted for general definitions of analytics and machine learning concepts; the examples, analogy, worked example and case are original educational illustrations. Checked 9 Nov 2026.

Previous: Attribute-value system Next: Attributional calculus

  • Home
  • Daily AI Updates
  • Blog
  • AIFBL Academy
  • AI Glossary
  • Products and Tools
  • Store
  • Free CFO AI Prompt Pack
  • About Shihan Sheriff
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Cookie Policy
  • Earnings Disclaimer