Someone sees your ad on Instagram, a few days later reads one of your articles on Google, gets an email and, finally, clicks a search ad and buys. 🤔 Who deserves the credit for that sale? The answer changes how much you’ll invest in each channel next month, and that’s exactly what an attribution model decides.
In this guide, you’ll see the types of attribution model (with the same sale calculated in each one), where to set them up in GA4, Google Ads and Meta, how to choose and how to apply attribution to a digital product launch. 📊
| Question | Quick answer |
|---|---|
| What is an attribution model? | The rule that defines how much credit each touchpoint (ad, search, email) gets for a conversion |
| What are the types of attribution model? | Last click, first click, linear, time decay, position-based and data-driven |
| Which models do GA4 and Google Ads offer today? | Data-driven and last click. First click, linear, time decay and position-based were removed in 2023 |
| What is an attribution window? | The period, counted from the click or the view, in which a conversion can still be credited to the ad |
| Which model is best? | There isn’t just one: with enough data, data-driven tends to be the most complete; without volume, last click is the simplest starting point |
What is an attribution model?
An attribution model is the rule used to split the credit for a conversion (a sale, a sign-up, a lead) among the touchpoints a person had with your brand before converting. It’s what feeds the conversion reports in Google Analytics 4, Google Ads and Meta Ads Manager.
Marketing attribution is the whole process: tracking the touchpoints, connecting each one to the conversion and applying a model to divide the credit. Four terms come up all the time:
- touchpoint: each recorded interaction, such as an ad click, an organic visit or an email click;
- conversion: the action you want to measure, which GA4 now calls a key event;
- attribution window (also called conversion window or lookback window): the period after the click or view in which the conversion still counts;
- direct traffic: a visit from someone who typed the address or used a bookmark, with no trackable source.
With these concepts in mind, any paid traffic report becomes easier to read.
What marketing attribution is for
Marketing attribution helps you decide where to put the money and time in your strategy based on data. In practice, it helps you:
- compare channels fairly: a discovery ad rarely closes the sale, but it may have brought the person into your sales funnel;
- calculate the return per channel: ROAS and cost per sale depend on how much revenue was attributed to each campaign;
- understand the buyer’s journey: how many touchpoints and how many days separate the first click from the purchase;
- plan the budget: a good media plan spreads spending between channels that open sales and channels that close them.
Without a clear model, the channel at the end of the journey gets all the credit.
Types of attribution model
The types of attribution model fall into two groups: rule-based models, where you know in advance how much each touchpoint gets, and data-driven, where an algorithm calculates the credit from your account’s history. The six best-known marketing attribution models are:
- last click;
- first click;
- linear;
- time decay;
- position-based;
- data-driven.
The first five are the classic models, still used in third-party tools and spreadsheets.
Last click
The last click attribution model gives 100% of the credit to the last touchpoint before the conversion. It’s the simplest one and shows which channel “closed” the sale, but it ignores everything that came before. The most common variation is last non-direct click, which leaves direct traffic out: that’s how GA4’s paid and organic last click works.
First click
The first click attribution model gives 100% of the credit to the touchpoint that started the journey. It values discovery, but doesn’t show what convinced the person to buy.
Linear
The linear attribution model splits the credit equally among all touchpoints. It recognizes the whole journey, but gives a casual click the same weight as a decisive one.
Time decay
The time decay attribution model gives more credit to the touchpoints closest to the conversion. In Search Ads 360, the Google tool that still offers this model, the credit is cut in half for every 7 days between the touchpoint and the purchase, according to Search Ads 360 Help. It works well for short-deadline offers.
Position-based
The position-based attribution model (also called U-shaped) gives 40% of the credit to the first touchpoint, 40% to the last and splits the remaining 20% among the ones in between. It values whoever opened and whoever closed the journey.
Data-driven
The data-driven attribution model uses machine learning to estimate each touchpoint’s contribution, comparing the paths of people who converted with those of people who didn’t, based on your own account’s data, as Google Analytics Help explains. The advantage is that it adapts to your business; the limitation is that it works like a black box and depends on conversion volume.

Attribution model example: the same sale in 6 models
A numerical attribution model example shows how the choice changes the result. Picture the sale of a $400 online course, with this journey:
| Day | Touchpoint |
|---|---|
| Day 1 | Click on an Instagram ad (Meta Ads) |
| Day 5 | Organic visit to a blog article, coming from Google |
| Day 8 | Click on an email from the nurture sequence |
| Day 10 | Click on a Google Ads search ad and purchase on the same day |
Here’s how much of the $400 each channel gets in each model (rounded values):
| Model | Organic | Google Ads | ||
|---|---|---|---|---|
| Last click | $0 | $0 | $0 | $400 |
| First click | $400 | $0 | $0 | $0 |
| Linear | $100 | $100 | $100 | $100 |
| Time decay (7-day half-life) | $58 | $86 | $115 | $141 |
| Position-based (40/20/40) | $160 | $40 | $40 | $160 |
| Data-driven | calculated by the algorithm |
In time decay, each touchpoint’s weight is cut in half for every 7 days before the purchase (Instagram 0.41, organic 0.61, email 0.82, Google Ads 1), and each channel gets its weight divided by the total (2.84).
Notice the effect: under last click, Instagram seems to sell nothing and would be the first channel cut; under first click, it’s the hero. Data-driven tries to settle this by comparing thousands of similar paths, which is why you can’t calculate it by hand.

Where to set up the attribution model: GA4, Google Ads and Meta
The attribution model is set up in each tool, with its own rules and windows, which is why the same sale shows up with different numbers. The biggest recent change came in 2023, when Google removed the first click, linear, time decay and position-based models from Google Ads and GA4. Here’s what applies today (checked in December 2026):
- GA4: data-driven and two versions of last click;
- Google Ads: data-driven (default) and last click;
- Meta: attribution setting based on click, view and engagement windows.
Attribution model in GA4
GA4 currently offers three attribution model options, according to Google Analytics Help:
- data-driven, the one Google recommends;
- paid and organic last click, which ignores direct traffic;
- Google paid channels last click, which credits the last Google Ads click and, if there isn’t one, falls back to paid and organic last click.
The linear, position-based, first click and time decay models stopped being available in GA4 in November 2023. To change the reporting model, go to Admin, Data display, Events, Key events attribution, with the Marketer role or above on the property, as described in Google Analytics Help on changing the model.
The GA4 lookback window is 30 days for acquisition events (first visit and first app open), with a 7-day option, and 90 days for all other key events, with 30- or 60-day options. To install it, check out our guide to Google Analytics.
Attribution model in Google Ads
Google Ads currently offers two attribution models: last click and data-driven, which is the default for most conversion actions, according to Google Ads Help. The other models were removed between July and September 2023, as stated in the deprecation notice, and the actions still using them were switched to data-driven.
Google Ads conversion windows, according to the Help article on conversion windows, are 30 days after a click by default (adjustable from 1 to 90 days, depending on the source), 3 days after an engaged view and 1 day after a view (both adjustable from 1 to 30 days).
Attribution in Meta (Facebook and Instagram ads)
Meta doesn’t let you choose a cross-channel model: it credits the ad with the conversions that happen within the ad set’s attribution setting. That setting combines 1- or 7-day click windows with a 1-day view or engagement window, and the most common setup is 7-day click and 1-day view, as shown in the Meta Business Help Center. Two recent changes matter:
- 7-day and 28-day view: these windows stopped being returned by the Ads Insights API on January 12, 2026, according to the Meta for Developers blog;
- link clicks only: since late March 2026, in campaigns optimized for website or in-store conversions, click-through attribution counts only link clicks. Likes, shares and saves moved to engage-through attribution, following Meta’s March 3, 2026 announcement, as reported by PPC Land.
As a result, Meta’s click-through conversions are now closer to GA4’s.

How to choose the right attribution model
The right attribution model is the one that answers your business question with the data you have. Before changing any settings, go through these criteria:
- conversion volume: data-driven needs history; with only a few sales a month, last click is more stable;
- journey length: if the journey takes weeks, last click underestimates whoever sparked the interest;
- goal of the analysis: discovery campaigns call for looking at the weight of the first touchpoint; conversion campaigns, at last click;
- consistency: pick a default model and stick with it, otherwise month-over-month comparisons lose meaning;
- a window that matches the cycle: a 7-day window can’t see someone who took 20 days to decide.
The table sums up the most common situations:
| Situation | Most helpful model |
|---|---|
| Few sales a month and ads on a single channel | Last click |
| Good conversion volume and several paid and organic channels | Data-driven |
| Evaluating top-of-funnel campaigns | Compare with the weight of the first touchpoint |
| Short-deadline offer, like an open cart | Look at the most recent touchpoints (time decay logic) |

Attribution limits: cookies, iOS and offline sales
The limits of marketing attribution exist because no model sees the whole journey, and knowing the blind spots prevents bad decisions:
- iOS: since iOS 14.5, apps must ask for permission through App Tracking Transparency to track people across other companies’ apps and websites; without it, the advertising identifier comes back as all zeros, according to Apple’s documentation;
- cookies and consent: blockers, private browsing and people who reject cookies leave gaps, and data collection must follow privacy laws such as the GDPR in Europe and state laws like the CCPA in California (in Chrome, third-party cookies are still on by default, according to the Privacy Sandbox blog from April 2025);
- device switching and offline touchpoints: a phone and a laptop can look like two different people, and referrals, text messages or events rarely leave a trace;
- double counting: each platform credits the sale using its own window, so adding up Meta and Google conversions usually gives you more sales than you actually had.
That’s why your total sales should come from the platform where the sale happens; the model only splits that total among channels.
How to apply the attribution model to a digital product launch
Applying an attribution model to a digital product launch starts before the first ad. A product launch has long journeys (lead generation, warm-up, free classes, open cart) and several traffic sources at the same time, the scenario where last click distorts things the most. Here’s the step by step:
- standardize your UTMs;
- tag links with src and sck;
- set up the pixel on the product;
- match the windows to the calendar;
- compare sources at the end.
1. Standardize your UTMs
Define a pattern for utm_source, utm_medium and utm_campaign before creating ads, emails and posts, always in lowercase and without variations (instagram, not Instagram or IG). Use the same pattern in every channel so the reports group the visits correctly.
2. Tag links with src and sck
On Hotmart, the source of sales is identified by three types of parameters, according to the Hotmart Help Center: src, for affiliate links and alternative sales pages; sck, for campaigns that lead straight to the checkout page; and UTMs. After the sale, the source field shows the value used, and the sales source panel has a tab for each parameter. Example: ?src=instagram at the end of the link (or &src=instagram if there’s already another parameter). Underscores (_) aren’t accepted in these values.
3. Set up the pixel on the product
The conversion pixel tells Meta and Google Ads that the sale happened, and it also feeds remarketing audiences. On Hotmart, the tracking pixel is set up per product, under Tools, Tracking Pixel, with events such as purchase completed and checkout page visit. Data can be sent through the browser, through the Conversions API or both, and there’s an option to fire the purchase event only for instant payments, leaving out payments that haven’t cleared yet, as detailed in the Hotmart Help Center.
4. Match the windows to the calendar
If lead generation starts three weeks before the cart opens, a 7-day window won’t connect the lead ad to the sale. Evaluate lead generation by cost per lead, the open cart by sales, and use windows that cover the whole period.
5. Compare sources at the end
After the launch, cross-check the sales source on Hotmart, the channel breakdown in GA4 and what each ad platform reports. Differences are normal: the channels that perform well in more than one view are the ones that count. This analysis helps you choose among the types of Facebook ads and plan the next cycle.

Ready to find out where your sales come from?
The attribution model is the rule that decides who gets the credit for each sale, and understanding it changes the way you read any report. Today, GA4 and Google Ads work with data-driven and last click, Meta has its own attribution setting, and none of them sees the whole journey.
Start simple: standardize your UTMs, tag your links, set up the pixel and choose a default model to compare month to month. If you’re not selling your knowledge online yet, signing up for Hotmart is free, and the fee is 9.9% + US$1.00 per approved sale. 🚀
Frequently asked questions about attribution models
Still have questions? Below, we answer some of the most frequently asked questions about attribution models.
What is the best attribution model?
There's no single best attribution model for every business. With good conversion volume and several channels, data-driven usually gives the most complete picture and is the one Google recommends. With only a few sales a month, last click is more stable and easier to interpret.
Can you still use linear or first click attribution in Google Analytics?
No. GA4 stopped offering the linear, first click, position-based and time decay models in November 2023, and Google Ads also removed them in 2023. To use that logic, you'll need a spreadsheet or a third-party tool.
What's the difference between an attribution model and an attribution window?
The attribution model defines how the credit for a conversion is split among touchpoints. The attribution window defines up to how many days after the click or view the conversion can still be credited. The two settings work together and change the numbers in your report.
Why do Meta Ads and Google Analytics show different sales numbers?
The numbers differ because each tool uses its own model and window: Meta can credit a sale to someone who only saw the ad, while GA4 only sees people who reached the website. Cookie blocking, device switching and iOS permissions also create gaps. Use your sales platform as the reference for the total.




