Field Notes

Source to Invoice: B2B Attribution That Survives

Source-to-invoice attribution keeps the original lead source attached to the record from first touch through the deal, the contract, and the paid invoice. It lets a B2B company group revenue by the channel that produced it, instead of grouping form fills by the channel that produced clicks. It breaks at handoffs, so the work is at the handoffs.

Most B2B marketing reports end at the form.

They show traffic by channel, form fills by campaign, and cost per lead. They are accurate as far as they go. Then the lead goes to sales, the deal takes four months, the contract goes to finance, and the connection between the invoice and the campaign that started it disappears.

So budget follows what can be measured: clicks and form fills. Channels that produce many small inquiries look better than channels that produce a few large contracts. Nobody decides this on purpose. The data simply stops at the point where it would get interesting.

Source stays attached to the invoice. Here is how to make that true, and what to do about the parts you cannot measure.

Why does marketing spend follow clicks?

Because clicks are the last thing the reports can see.

Ad platforms and web analytics measure what happens on the website. The CRM measures what happens in sales. Accounting measures what happens after the contract. Each system is accurate inside its own walls. None of them, by default, passes the original source to the next.

When the CEO asks which channel produced last year’s best clients, someone opens three systems and a spreadsheet. The answer arrives a week later and nobody fully trusts it. The following year’s budget gets set on click data anyway, because that is what is available on the day the decision is made.

Where does the source get lost?

At three handoffs.

  1. Website to CRM. The form captures a name and email but not the campaign parameters, referrer, or landing page. Or it captures them in hidden fields that nobody maps to CRM properties.
  2. Contact to deal. The source sits on the contact record. The deal is created later, by a rep, and nobody copies the source to it. Reports on deals show “unknown.”
  3. Deal to invoice. Accounting creates invoices from the signed contract. The invoice knows the customer and the amount. It has no idea where the customer came from.

Each gap is small. Together they mean that by the time money arrives, the story of how it was earned is gone.

What fields have to travel with the record?

A short list, captured once and copied forward automatically.

FieldCaptured atTravels to
Original source (channel)First touchContact, company, deal, invoice
Campaign and contentFirst touchContact, deal
Landing pageFirst touchContact
Latest source before the dealDeal creationDeal
Referral name, if anyIntake or rep entryContact, deal

The rule: capture at the first touch, never overwrite the original, and copy forward at every handoff by automation. A person should never have to type a source.

The invoice needs only the original source and the deal it came from. With those two, finance can group revenue by channel at month end without a separate project.

First-touch, last-touch, or both?

Both, stored separately. Then decide which to use for what.

  • First-touch answers “what introduced this customer to us?” It is the fairest measure for channels that create awareness, like content, events, and referrals.
  • Last-touch before the deal answers “what brought them back when they were ready?” It is useful for channels that convert, like retargeting and direct outreach.

Multi-touch models that spread credit across every interaction exist, and larger teams use them. For most growing B2B companies with long cycles and small numbers of deals, they add complexity without adding confidence. Start with first and last. Add more only when the volume justifies it.

What is not measurable, and what to do about it?

More than most attribution vendors admit. Say so plainly.

  • Referrals and word of mouth. A partner mentions you at dinner. The prospect searches your name. Analytics records “direct” or “branded search.”
  • Dark social. A link shared in a private message or a Slack channel shows up as direct traffic.
  • Long memory. A prospect read a post last year, forgot, and came back through a search.

You cannot fully measure these, but you can reduce the blind spot:

  1. Ask. A required “How did you hear about us?” field on the intake form or first call, with a short picklist and an “other” box.
  2. Record it as its own field. Self-reported source lives next to the tracked source, not instead of it.
  3. Compare the two. When they disagree, the self-reported answer is often the better story. Over a year, the comparison tells you which channels your analytics undercounts.

Admitting what cannot be measured makes the rest of the report more credible, not less.

What about events, calls, and offline sources?

Give them a front door into the same record.

Much B2B demand never touches a website form. A prospect meets a partner at a trade show, calls the main line, or emails someone they already know. If those paths do not capture a source, they show up as “unknown” and look worthless.

  • Events. Import badge scans and meeting notes into the CRM within a day, with the event name as the source and campaign. A contact created by the import keeps that source as original.
  • Phone calls. Use tracked numbers on ads and printed materials where it is practical. For the main line, the first call logs a self-reported source.
  • Direct email to a person. A rule creates or updates the contact when a new prospect emails a partner, and prompts the partner to set the source in one click.
  • Referrals. Record the referrer by name. Over time, you will see which partners and clients send the best work.

None of these are perfect. All of them beat a blank field.

How often should you review attribution?

Monthly for the numbers, quarterly for the decisions.

A monthly look at revenue by source catches broken handoffs early. A rising “unknown” line is the first sign a form or import stopped passing data. A quarterly review sets budget. Long B2B cycles mean a single month’s revenue reflects work started two or three quarters ago, so budget moves should follow trends, not one good month.

How do you report revenue by source in under a minute?

Build it once, from the invoice back.

  1. Start from paid invoices for the period, not from deals or leads.
  2. Join each invoice to its deal, and each deal to its original and last-touch source.
  3. Group revenue by original source, then by last-touch source, side by side.
  4. Show the “unknown” line honestly. It should shrink every quarter as capture improves. If it grows, a handoff broke.
  5. Add cost per channel where you have it, to show revenue per dollar spent.

Most CRMs can hold this report natively once the fields travel correctly. The report is easy. The plumbing is the work.

What does this look like in a real firm?

Illustrative — not a client result.

A 12-person professional services firm spends on paid search, sponsors two industry events a year, and gets a steady flow of partner referrals. Marketing reports show paid search producing the most leads by far. The partners believe referrals produce the best clients, but cannot prove it.

After a build, forms capture campaign data into CRM properties, deals inherit the original source automatically, and invoices carry the source from the deal. A self-reported source field sits on every intake. At year end, revenue grouped by original source shows the picture the partners suspected: fewer referral deals, larger contracts. Next year’s event budget is set from invoices, not from badge scans.

Why not just configure HubSpot harder?

Sometimes that is enough.

If your forms, deals, and invoices all live in one platform, its own attribution features may cover most of this. We’ll tell you plainly when the platform is enough. The gap usually opens when invoicing happens in a separate accounting system, which is the case for most firms. That last handoff is where attribution quietly dies. The B2B systems page shows how the connection works, and A CRM Is Not a Filing Cabinet covers the rest of the revenue system.

Take the next step

If your budget follows clicks because revenue cannot be traced, the fix is at the handoffs.

Request an Operational Fit Review | Explore B2B systems

FAQ

What is source-to-invoice attribution?

It keeps the original lead source attached from first touch through the deal and the invoice, so revenue can be grouped by the channel that produced it.

Should we use first-touch or last-touch attribution?

Store both. First-touch shows what introduced the customer. Last-touch shows what brought them back when ready. Most growing firms do not need multi-touch models.

How do we handle referrals and word of mouth?

Ask on every intake with a required self-reported source field, and compare it to tracked source. It will not be perfect, but it shrinks the blind spot.

Why does attribution break?

At handoffs: website to CRM, contact to deal, and deal to invoice. Each needs automation that copies the source forward.

Where should we start?

Start with an Operational Fit Review. It maps your lifecycle, stack, handoffs, and manual work, then tells you what to fix first.

Joshua Pyne, MBA — Founder and Principal of Conjai Growth Systems Engineering

Who Builds It: Joshua Pyne, MBA, Founder & Principal

Joshua Pyne has sat on both sides of the table. As an executive, he sold and scaled digital, data, and media programs for Fortune 500 brands. Now he builds the same kind of systems for growing companies, and he writes them himself: commerce platforms, multi-agent tools, and the rules that let automation run unattended.

Career figures from before Conjai, not client results:

$25M Multi-year client retention across complex delivery programs (enterprise career record; Accenture, Deloitte, Tata, Cognizant and PwC)
$5.5M/mo Media strategy under management, tying spend to measurable outcomes
$400K → $4M Startup go-to-market scaled to 10x annual revenue and acquisition

The through-line is adoption. An MBA in Organizational Leadership and twenty years of change work taught him one rule: a system only matters if people use it.

More about Joshua and Conjai