Skip to content

Attribution models

An attribution model decides how the value of a conversion is split between the ad clicks a person made before converting. amabledata implements six models for its ad reports: First click, Last click, Linear, U-shaped, Time decay and Windowed hybrid.

You choose the model in the Attribution menu of the Performance report (Analytics › Performance, /t/<workspace>/analytics/performance). The ⓘ button next to it (How models work) opens a short explanation of every model, with the current one highlighted. The LTV report offers the two single-touch models in its Credit to menu, and the Ads attribution cards of the analytics dashboard always use Last click.

Models work on the path of a person: the list of their tracked arrivals, oldest first, up to the moment of the conversion.

  • An arrival (entrance touch) is recorded each time someone comes in through a tracking link or a direct link of a traffic source. Each arrival carries its traffic source, campaign, ad set and ad.
  • When the report is grouped by Funnel step, every funnel touch counts (views, clicks and actions too), not only arrivals.
  • A person is every visitor id known to be the same individual: visitors merged by email, phone or session, and every visitor linked to the same CRM contact. Touches made on another device therefore count in the same path (see Contacts and identity).

Only touches at or before the conversion time belong to the path of that conversion.

Conversions come from two places:

  • approved sale and lead conversions recorded by postbacks;
  • payments recorded by the CRM, e-commerce or the tracker (refunded payments and free trials are left out; partial refunds are deducted). A payment whose transaction or order id equals the transaction id of a recorded conversion is the same sale and is counted once.

Only amounts in the site currency are credited (others count as 0).

The model produces a weight for each touch of the path. Weights always add up to 1. The revenue of the conversion is split by those weights in minor units, with rounding that keeps the parts summing exactly to the total (the leftover cents go to the parts with the largest remainders, earliest touch first on ties). Sales and leads are credited with the same weights, so with multi-touch models a row can show fractional sales such as 0.33.

A conversion whose person has no tracked touch before it is not lost: it goes to the (unattributed) row of the report (only when no drill-down filter is active).

Model (menu label) Credit
First click 100% to the first touch of the path.
Last click (default) 100% to the last touch before the conversion.
Linear Equal shares to every touch.
U-shaped 40% to the first touch, 40% to the last, the remaining 20% split equally between the touches in between. With one touch it takes 100%; with two touches, 50% each.
Time decay Each touch weighs 2^(−age ÷ 7 days), where age is the time between the touch and the conversion; the weights are then scaled to add up to 1. The weight halves every 7 days.
Windowed hybrid 100% to the first touch when it happened within the Window (in days) before the conversion; otherwise 100% to the last touch.

The in-app explanations read:

  • First click: All the credit goes to the first click of the customer. Shows which ads bring new people in.
  • Last click: All the credit goes to the last click before the conversion. Shows which ads close the sale.
  • Linear: The value is split evenly across every click of the journey.
  • U-shaped: 40% to the first click, 40% to the last, the remaining 20% split across the clicks in between.
  • Time decay: Recent clicks weigh more: the weight halves every 7 days before the conversion.
  • Windowed hybrid: First click when the conversion happens within the window (in days) of it, last click otherwise.

There is no lookback limit on the path: every tracked touch of the person before the conversion is considered, however old (as long as the touches are still stored; touches of anonymous visitors expire after 90 days, those of identified people are kept).

The only window is the one of Windowed hybrid:

Setting Values
Window menu (shown only with Windowed hybrid) 1 d, 5 d, 7 d, 10 d, 15 d, 30 d
Default 7 days
Accepted by the API (window_days) Any whole number from 1 to 30

The Time decay half-life is fixed at 7 days.

The Date by menu decides which period a credited conversion is reported in:

Option Meaning
Click date (default) Revenue is credited to the day of the click, including sales that came later. Only credited touches inside the selected range count, and sales made after the range are included.
Sale date Revenue is counted on the day of the sale (cash collected). Only conversions inside the selected range count; when grouping by Day, the row is the day of the sale.

Separate from the ad models above, each site has a default attribution model for the Revenue attribution card of the web analytics dashboard. It credits payments to the visitor’s sessions by channel rather than to ad clicks, and offers First touch, Last touch, Last non-direct (default for new sites), Linear and Position based (40/20/40). See Analytics settings and Dashboard.

All examples use one person who clicked three ads and then bought for €100.00:

Touch Source Time before the sale
A Meta, campaign “Prospecting” 14 days
B Google Ads, campaign “Brand search” 7 days
C Meta, campaign “Retargeting” 0 days (same moment)
Model A B C
First click €100.00 — —
Last click — — €100.00
Linear €33.34 €33.33 €33.33
U-shaped €40.00 €20.00 €40.00
Time decay €14.29 €28.57 €57.14
Windowed hybrid, window 7 d — — €100.00
Windowed hybrid, window 15 d €100.00 — —

How the numbers come out:

  • Linear: 10,000 cents ÷ 3 = 3,333.33 each. The three floors add to 9,999; the leftover cent goes to the earliest touch on a tie, so A gets 3,334.
  • Time decay: raw weights are 2^(−14/7) = 0.25, 2^(−7/7) = 0.5 and 2^0 = 1, total 1.75. Scaled: 14.29%, 28.57%, 57.14%. In cents: 1,428.57, 2,857.14 and 5,714.29; floors add to 9,999 and the leftover cent goes to A (largest remainder, 0.57).
  • Windowed hybrid: the first touch is 14 days old. With a 7-day window it is outside, so the last touch wins; with 15 days it is inside, so the first touch wins.

With four touches, U-shaped gives 40% / 10% / 10% / 40%. A sale counts as 1 sale in total, split the same way: with Linear each of the three campaigns above shows 0.333 sales.

With Click date, if your report covers only the last 10 days, touch A (14 days ago) is outside the range: under First click the €100.00 does not appear in that report at all, while under Last click it appears on touch C. With Sale date, the €100.00 appears as long as the sale falls in the range, credited to whichever touch the model picks.

  1. Open Analytics › Performance and select the site and date range.
  2. Open Attribution and pick a model. With Windowed hybrid, also choose the Window.
  3. Choose Date by: Click date to judge ads by the revenue they eventually brought, Sale date to match your cash.
  4. Switch models and compare the Revenue, ROAS and Sales columns. Campaigns whose numbers rise under First click start journeys; those that rise under Last click close them.
  5. Copy the URL to share the exact view: the model (am), window (win) and basis (basis) are kept in the address.
Setting Values Default URL parameter (dashboard) API parameter
Attribution first_click, last_click, linear, u_shaped, time_decay, windowed_hybrid last_click am model
Window 1–30 days (menu presets 1, 5, 7, 10, 15, 30) 7 win window_days (only with windowed_hybrid)
Date by click_date, sale_date click_date basis basis
Constant Value
U-shaped shares 40% first, 20% middle, 40% last
Time decay half-life 7 days
LTV report models First click, Last click
Dashboard Ads attribution cards Last click, Click date
  • Viewing reports with any model needs analytics:read (owner, admin, marketer, analyst, viewer).
  • Models are a view setting: changing them never modifies stored data and is not saved per user.
  • Revenue in a currency other than the site currency is not credited.
Symptom Cause Fix
Large (unattributed) row Many conversions come from people with no tracked arrival. Send ad traffic through tracking links, pass hit or vid in postbacks, and identify visitors. See Tracking quality.
Revenue changes when switching Date by Click date moves revenue to the period of the credited click. Expected. Use Sale date to match accounting.
First click and last click give the same numbers Most people convert after a single tracked arrival. Expected; multi-touch models only differ on multi-touch paths.
Fractional sales Multi-touch models split each sale. Expected.
Old campaigns gain revenue after a merge Merging visitors joins their paths retroactively. Expected: identity merges apply to past conversions.