Quick answer
Closed-loop attribution connects marketing touchpoints to the revenue they eventually produce by carrying one shared ID from first visit to lead, sale and payment, then sending the outcome back to marketing data, so channels are credited with closed revenue instead of clicks or leads.
Formula: Revenue credited to channel c = Σ over closed deals (deal value × credit share of c under the chosen model)
What is closed-loop attribution?
Closed-loop attribution is the practice of joining marketing touchpoints to the revenue they eventually produce, by carrying one shared identifier from the first visit through the lead, the sale and the payment. The "loop" is closed when the outcome recorded by sales or billing flows back to the marketing data, so each channel can be credited with closed revenue rather than with clicks, form fills or leads.
It is not a separate attribution model. First touch, last touch, linear or time decay can all run on closed-loop data; what changes is the thing being credited. An open-loop report says "paid search produced 120 leads". A closed-loop report says "paid search started deals worth $19,000 that actually closed". The second number is the one budgets should follow, and the gap between the two is often large.
How the loop is closed
Every closed-loop setup has the same four links. If any link is missing, the loop is open again.
| Link | What is recorded | The shared key |
|---|---|---|
| 1. Touch | Session with channel, UTM parameters, landing page | Anonymous visitor ID (cookie or device) |
| 2. Identification | Signup, form submit, chat, login | Visitor ID tied to a user ID or email |
| 3. Outcome | Deal won, order paid, subscription started | User ID (or order ID) on the revenue record |
| 4. Return trip | Revenue sent back to the analytics or ad system | User ID, order ID or ad click ID |
Link 2 is where most loops break: the visit is anonymous, the deal is in a sales or billing system, and nothing records that they belong to the same person. Link 4 is the second weak point: revenue sits in a finance system and never travels back. Ad platforms close their own loops with click identifiers; Google Ads, for example, lets you upload offline conversions keyed by the Google Click ID, and warns that conversions within one day of the click may not be recordable yet and that imports can take 24–48 hours to show in reports.
Formula
Once revenue is attached to each converting person, channel credit is a weighted sum:
Revenue credited to channel c = Σ over closed deals (deal value × credit share of c in that deal)
The credit share comes from whichever model you choose: 100% to one touch under first or last touch, equal shares under linear, and so on. Because the deal value multiplies the share, a channel that starts few but large deals can outrank a channel that starts many small ones, which a lead count can never show.
Worked example: ten closed deals
Sample data: ten deals worth $48,000 in total, each traced back to its first and last recorded session through a shared user ID.
| Deal | Value | First touch | Last touch |
|---|---|---|---|
| 1 | $6,000 | Paid search | Direct |
| 2 | $4,000 | Paid search | |
| 3 | $5,500 | Paid search | Paid search |
| 4 | $3,500 | Paid search | Organic |
| 5 | $7,000 | Organic | Direct |
| 6 | $4,500 | Organic | |
| 7 | $3,000 | Organic | Organic |
| 8 | $5,000 | Direct | |
| 9 | $4,500 | ||
| 10 | $5,000 | Paid search |
Credited revenue under two models:
| Channel | First touch | Share | Last touch | Share |
|---|---|---|---|---|
| Paid search | $19,000 | 39.6% | $10,500 | 21.9% |
| Organic | $14,500 | 30.2% | $6,500 | 13.5% |
| $14,500 | 30.2% | $13,000 | 27.1% | |
| Direct | $0 | 0.0% | $18,000 | 37.5% |
| Total | $48,000 | 100.0% | $48,000 | 100.0% |
Now compare with the open-loop view. Suppose the same quarter's leads by first touch were paid search 120, organic 60 and email 40 (220 in total). By lead count, paid search is 54.5% of the pipeline, organic 27.3% and email 18.2%. With revenue attached, revenue per lead is $158 for paid search ($19,000 ÷ 120), $242 for organic ($14,500 ÷ 60) and $363 for email ($14,500 ÷ 40). Email looks like the weakest channel on leads and the most valuable one per lead once the loop is closed.
The last-touch column shows a second lesson: "direct" closes 37.5% of the revenue but starts none of it. Closing the loop is what lets you see that direct visits are returning buyers who were found by other channels.
What breaks the loop
- Offline and sales-led closes. If deals 8–10 had been closed over the phone and never tied back to a user ID, $14,500 (30.2% of revenue) would be unattributed and email would show $0 first-touch revenue. The loop breaks wherever a deal is created without the identifier.
- Identifier loss. Cleared cookies, a new device, a private window or a strict privacy setting gives the same person a new visitor ID. Without a login or email capture, touches from before the change cannot join the deal.
- Long sales cycles. If the cycle is longer than the lookback window, the early touches drop out. Ad platform windows are capped too: Google Ads click-through conversion windows go up to 90 days at most.
- Late or back-dated revenue. Revenue that arrives weeks later must still land on the right person and date. Systems that accept server-side events often limit how far back an event can be stamped: Google Analytics 4's Measurement Protocol, for example, ties an event to a session's device and location only if it is sent within 24 hours of the session start.
- Many people, one deal. In B2B, the person who clicked the ad is rarely the one who signs. Unless people are grouped into accounts, the deal credits only the signer's touches.
Closed-loop attribution vs multi-touch attribution
| Closed-loop attribution | Multi-touch attribution | |
|---|---|---|
| What it is | A data practice: link touches to final revenue | A family of models: split credit across several touches |
| Answers | Which channels produced revenue that closed? | How should credit for one conversion be shared? |
| Needs | A shared ID from first visit to payment | A list of touches per conversion |
| Can use the other? | Yes, runs any model on revenue | Yes, can run on leads (open loop) or deals (closed loop) |
The two are complementary: multi-touch attribution without a closed loop shares credit for leads; a closed loop with only last touch credits revenue to one touch. For revenue models compared on orders, see revenue attribution; for following a lead from first visit to deal, see lead tracking.
How to set it up
- Pick the outcome record. A paid order, a won deal or a first subscription payment. Decide which system is the source of truth for value and date.
- Capture an identifier early. Ask for an email or account at signup, demo request or chat, and link the anonymous visitor ID to it the moment it is known.
- Put that identifier on the revenue record. The order or deal must carry the same user ID (or the visitor ID) that the analytics tool knows.
- Send revenue back when it happens. Push the outcome as a server-side event at close time, with value, currency and a dedupe key such as the order ID.
- Audit the gap. Every month, compare total closed revenue with attributed revenue. The difference is the size of your open loop; track it like any other metric.
Closed-loop attribution in TapCub
Here is how the ten-deal example would be measured in TapCub. TapCub is not a CRM and does not pull deals from one; it measures what you send it.
- Identify people. With identified mode on (Pro plan and above), call
tapcub.loginwith your user ID when someone signs up or logs in. The first login on a device backfills that device's earlier anonymous events with the user ID, so the paid search session from three weeks ago and today's signup sit under one person in All-platform analytics › Users › People. For B2B,tapcub.group('company', …)groups people into an account, so the signer and the person who clicked the ad roll up together in All-platform analytics › Users › Accounts. - Send revenue from the server. When a deal closes or a payment succeeds, send a
purchaseevent through the server HTTP API with the same user ID, the order ID, amount and currency. It lands in All-platform analytics › Business › Commerce & revenue, and the order ID stops a retry from creating a second order. Send it at close time: historical events imported through the server API that are more than 72 hours old are stamped with the time they were received. - Attribute the outcome. In All-platform analytics › Behavior › Behavior analysis, choose attribution with the purchase event as the measurement and select first touch and last touch together. Each model is a column of credited conversions, with a lookback window of up to 90 days.
- Bring in spend and chat. All-platform analytics › Business › Channel ROI puts imported ad spend next to purchases, with cost per acquisition and return on ad spend by channel, source and campaign. If chat is part of the sale, Live chat › Reports › Conversion attribution compares the goal rate of visitors who chatted with those who did not.
Two limits to state plainly. The attribution report counts credited conversions, not deal values, so for value-weighted credit like the table above, export the events from All-platform analytics › Data › Data export and multiply. And on the strict privacy preset the visitor ID rotates daily, so anonymous touches from earlier days cannot join a later deal unless the person logs in.
Sources
- Google Ads Help, Import conversions from ad clicks into Google Ads using files (click ID uploads, conversions within one day of the click, 24–48 hour processing; checked 2026-11-29).
- Google Ads Help, About conversion windows (click-through windows up to 90 days; checked 2026-11-29).
- Google for Developers, Measurement Protocol for Google Analytics 4 (server-to-server and offline events; session data within 24 hours; checked 2026-11-29).
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Product Experience Specialist
Writes about product experience, practical workflows, and growth, turning complex processes into clear steps for everyday decisions.