TapCub is live — analytics, insights and live chat, free on one platform
Glossary

Closed-loop attribution: definition and what breaks the loop

Closed-loop attribution joins marketing touches to the revenue that actually closed through one shared ID. The four links of the loop, a ten-deal example that ranks channels by revenue instead of leads, and the gaps that break it.

Lin Zhou Reviewed by Emma Collins Also called closed loop attribution Last updated Nov 29, 2026 Glossary

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.

LinkWhat is recordedThe shared key
1. TouchSession with channel, UTM parameters, landing pageAnonymous visitor ID (cookie or device)
2. IdentificationSignup, form submit, chat, loginVisitor ID tied to a user ID or email
3. OutcomeDeal won, order paid, subscription startedUser ID (or order ID) on the revenue record
4. Return tripRevenue sent back to the analytics or ad systemUser 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.

DealValueFirst touchLast touch
1$6,000Paid searchDirect
2$4,000Paid searchEmail
3$5,500Paid searchPaid search
4$3,500Paid searchOrganic
5$7,000OrganicDirect
6$4,500OrganicEmail
7$3,000OrganicOrganic
8$5,000EmailDirect
9$4,500EmailEmail
10$5,000EmailPaid search

Credited revenue under two models:

ChannelFirst touchShareLast touchShare
Paid search$19,00039.6%$10,50021.9%
Organic$14,50030.2%$6,50013.5%
Email$14,50030.2%$13,00027.1%
Direct$00.0%$18,00037.5%
Total$48,000100.0%$48,000100.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 attributionMulti-touch attribution
What it isA data practice: link touches to final revenueA family of models: split credit across several touches
AnswersWhich channels produced revenue that closed?How should credit for one conversion be shared?
NeedsA shared ID from first visit to paymentA list of touches per conversion
Can use the other?Yes, runs any model on revenueYes, 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

  1. Identify people. With identified mode on (Pro plan and above), call tapcub.login with 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.
  2. Send revenue from the server. When a deal closes or a payment succeeds, send a purchase event 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.
  3. 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.
  4. 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

Was this explanation clear?

We use your answers to fix and expand this page.

Lin Zhou

Product Experience Specialist

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

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is closed-loop attribution in marketing?

It is the practice of linking marketing touches to revenue that actually closed, using one identifier carried from the first visit through the lead, the deal and the payment. Sales or billing outcomes flow back to marketing data, so each channel is credited with closed revenue rather than with leads or clicks.

Is closed-loop attribution an attribution model?

No. It is the data plumbing that attaches revenue to people. Any model can run on top of it: first touch, last touch, linear or time decay. What changes is the outcome being credited, deal value instead of lead count, which can reorder channels completely.

What breaks a closed loop?

Deals closed offline without the identifier, lost cookies or new devices without a login, sales cycles longer than the lookback window, revenue that arrives too late to be stamped on the right date, and B2B deals where the signer is not the person who clicked. Measure the gap monthly as closed revenue minus attributed revenue.

Do I need a CRM for closed-loop attribution?

You need a system of record for revenue, which can be a CRM, a billing system or your order database, and a way to put the same user ID on that record. The analytics side only needs the outcome sent back as an event with the user ID, value and an order ID.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics