Last-touch attribution is an attribution model that gives 100% of the credit for a conversion, such as an app install or a purchase, to the last tracked click before it happened. If a user taps three different links on the way to installing your app, last-touch attribution credits only the third. It is the default model in most link and install tracking because it is simple, needs only one data point per conversion and is easy to check.
This guide explains how last-touch attribution works for app installs, how it compares with first-touch, last non-direct and multi-touch models, and what an attribution window is and how to choose one. A worked example follows one shopper who clicks two creators' links before buying, scored under each model. The last section shows exactly which models and settings Smler supports, and which it doesn't.
What is last-touch attribution?
Last-touch attribution is a single-touch model that credits a conversion entirely to the final touchpoint the user interacted with before converting. In link and app tracking, the touchpoint is almost always a click, so the model is also called last-click attribution. The two names mean the same thing in practice.
The model answers one question: what closed the deal? It doesn't ask what introduced the user, or what kept them interested along the way. That focus is both its strength and its limit.
Last-touch attribution has three parts:
- Touchpoints: the tracked clicks a user made, each tied to a link, campaign, channel or partner.
- A conversion: the event being credited, such as an install, a signup or a sale.
- An attribution window: how far back from the conversion a click can still be counted. A click older than the window gets no credit, even if it was the last one.
How does last-touch attribution work for app installs?
Last-touch attribution for app installs credits each install to the most recent tracked click that led to the app store before the app was first opened. The hard part isn't the model, it is matching the install to the click at all, because the app store sits between them and drops the URL the user tapped.
Tracking tools get the click back on first open in one of these ways:
- Android Play Install Referrer: the store passes a referrer string from the click to the installed app. This is deterministic: the install is tied to one exact click.
- iOS clipboard matching: the link copies its data so the app can read it on first open. Some tools add probabilistic matching as a fallback.
- Probabilistic matching: device and network signals at click time are compared with those at first open. It is less certain, so good tools report it at lower confidence.
With a deterministic match there is often only one candidate click, so the model has nothing to choose between. The model matters when several clicks from the same user are eligible, which is common on the web and for later events like purchases. For the matching methods in depth, see deterministic vs probabilistic attribution, and for the install flow itself, the guide to deferred deep linking.
What is the difference between first-touch and last-touch attribution?
The difference between first-touch and last-touch attribution is which end of the journey gets the credit. First-touch attribution, also called first-click attribution, credits the conversion to the first tracked click inside the window. Last-touch credits the last one.
| First-touch (first click) | Last-touch (last click) | |
|---|---|---|
| Credits | The click that introduced the user | The click right before the conversion |
| Answers | What brings new people in? | What gets people to act? |
| Favours | Awareness: creators, content, top of funnel ads | Closing: retargeting, email, promo codes, search |
| Risk | Ignores what convinced the user later | Ignores what introduced the user first |
| Good fit | Judging which partners find new audiences | Judging which links drive the final action |
Neither is wrong. They measure different jobs. A team paying creators to reach new audiences may care most about first touch, while a team optimising a checkout campaign may care most about last touch.
What is last non-direct attribution?
Last non-direct attribution is a version of last-touch that skips direct visits, the ones with no source, and credits the last click that came from a campaign, partner or link. A direct visit is a user typing your URL or opening a bookmark. It usually means they already knew you, so crediting it says little about what brought them back.
Last non-direct keeps last-touch's simplicity but stops direct traffic from taking credit that belongs to the campaign before it. If no campaign click exists inside the window, the conversion stays unattributed or direct.
How do the models credit the same sale? A worked example
The clearest way to compare attribution models is to score one journey under each. Here a shopper sees two creators before buying, with a 90-day window:
| Day | What the shopper does |
|---|---|
| Day 1 | Taps Creator A's link in a video, browses, leaves. |
| Day 12 | Taps Creator B's link in a story, adds to cart, leaves. |
| Day 20 | Types the store's URL directly and buys a $60 order. |
Who gets credit for the $60 sale depends on the model:
| Model | Creator A | Creator B | Direct | Why |
|---|---|---|---|---|
| Last touch (counting direct) | $0 | $0 | $60 | The direct visit was the last touch. |
| Last click (link clicks only) | $0 | $60 | n/a | Creator B's was the last tracked link click. |
| Last non-direct | $0 | $60 | $0 | The direct visit is skipped, so Creator B gets it. |
| First touch / first click | $60 | $0 | $0 | Creator A introduced the shopper. |
| Linear (fractional) | $30 | $30 | $0 | Each campaign click gets an equal share. |
The linear row splits credit between the two creator clicks only. Some tools count the direct visit as a third touch and give each $20. Now change one fact: if Creator A's click had come 100 days before the sale, a 90-day window would drop it, and first touch would credit Creator B instead. The window decides which clicks are even in the running.
What is fractional or multi-touch attribution?
Fractional attribution, also called multi-touch attribution (MTA), splits the credit for one conversion across several touchpoints instead of giving it all to one. Common rule-based versions are:
- Linear: every touch gets an equal share.
- Time decay: touches closer to the conversion get more credit than older ones.
- Position-based (U-shaped): the first and last touches get the largest shares, and the touches in between split the rest.
Multi-touch models give a fuller view of long journeys, but they need every touch tracked for the same user, often across devices and channels, and the split itself is a choice someone has to defend. With incomplete data, a fractional model can look more precise than it is.
How does multi-touch attribution use machine learning?
Multi-touch attribution with machine learning, often called data-driven attribution, learns the credit split from the data instead of a fixed rule. The model compares journeys that converted with journeys that didn't and estimates how much each kind of touch changed the chance of converting. Touches that appear often in converting paths, and rarely in others, earn more credit.
Data-driven models need a lot of conversion data to be stable, and their weights are hard to explain to a partner who wants to know why they were paid less. They suit teams with high volume, many channels and an analyst to check the output. Smaller teams, and programmes that pay partners per conversion, usually get more from a clear single-touch model and a well-chosen window.
What is an attribution window?
An attribution window is the period after a click during which a conversion can still be credited to that click. With a 30-day window, a purchase on day 31 after the last click goes unattributed by that click. The window is a setting in the tracking tool, and every model above works inside it.
The window answers a practical question: how long does it take your users to decide? An impulse install may happen within minutes of a tap. A subscription or a considered purchase can follow weeks later, after the user has seen several links.
Why is 90 days a common default?
A 90-day window catches purchases that follow a click by weeks without crediting clicks so old they no longer had any real effect. Smler uses 90 days as its default and recommended window, because, as its settings docs put it, purchases driven by creator content often land 30 to 90 days after the first click, far past what a normal click report would connect.
How do you choose an attribution window?
- Match the decision time. Look at how long your converting users take from first click to conversion, and set the window to cover most of them.
- Go shorter for impulse events. Installs from a direct app promo usually happen fast, so a long window mostly adds noise.
- Go longer for considered purchases. Subscriptions, high-priced orders and creator-driven sales need room.
- Keep it stable. Changing the window changes every report, so compare periods only under the same window.
- Agree it with partners. If you pay creators or affiliates per conversion, the window is part of the deal and both sides should know it.
A window can only credit clicks the system still remembers. If the identifier that links the user to the click expires sooner than the window, conversions near the end of the window will be lost anyway, so check both.
Which attribution model should you use?
The attribution model you should use is the one that matches the decision you are making with the data:
- Last click to judge which links, channels and partners drive the final action. Start here if you are unsure.
- First click to judge which creators or campaigns bring in new people.
- Last non-direct when many users return by typing your URL and you don't want direct traffic to hide your campaigns.
- Multi-touch or data-driven when you have high volume, complete cross-channel data and a team to interpret it.
Whatever you pick, write it down and use it consistently. Switching models changes who gets credit, which changes what looks profitable.
How does Smler handle last-touch attribution?
Smler handles last-touch attribution as its default: its attribution model is last click unless you change it. On the Settings tab of the Attribution page, set per domain, you choose from three models and a window, as described in Smler's settings docs. These settings apply to web leads and sales only, not to app installs:
| Setting | What Smler supports |
|---|---|
| Attribution model | Last click (default), first click, or last non-direct, which skips clicks with no source and credits the last campaign link before them |
| Attribution window | 1 to 365 days, with a 90-day default |
| Cookie lifetime | Up to 400 days, with a first-party cookie set when your link domain and site domain match |
| Device matching | An optional last resort match on device and network, reported at low confidence |
Smler doesn't split credit across several clicks. It has no linear, time decay, position-based or machine learning multi-touch model: each web lead or sale is credited to one click, chosen by the model you set. If your team needs fractional credit across many channels, that is a job for a dedicated multi-touch tool; if you need to know which link, creator or campaign drove each lead or sale, single-touch credit is what Smler gives.
Long windows only work if the click can still be found when the sale arrives. Smler's developer quickstart covers the pieces that make that possible: a snippet that binds the click to the visitor's browser, an identify call that lets a later purchase on another device match the original click through a hashed email or your own user ID, and a sale event sent from your server. Every match is scored, with a click ID sent with the conversion counted as the strongest signal and device matching the weakest, as the attribution API reference explains. The attribution introduction gives the overview.
App installs work differently. Smler's attribution window and models don't apply to them. The click that brought the install is matched through deferred deep linking, deterministically where it can be: the Play Install Referrer on Android, and on iOS the click ID that the link copies to the clipboard, which the app reads back on first launch and sends in a match call. When no deterministic match exists, a probabilistic fallback compares IP address, OS, device model and how recent the click was. On iOS this approximate matching is off unless you enable it for the app. That works through the Smler SDK or by calling Smler's API directly, and the SDK is the easier route. See mobile app attribution for the product view, and influencer marketing tracking and referral links for creator and referral programmes.