Tag every ad link with UTM parameters, capture them on the contact through hidden form fields, carry the original campaign onto the deal, and once a month join won deals with ad spend in a spreadsheet. The output is cost per meeting and cost per closed deal by campaign, which tells you where to move budget. It works on any CRM tier; paid attribution tools only automate the join.
“Which of our campaigns made money last quarter?” It sounds like a question any business that spends on ads can answer. In practice the answer usually comes back in leads: this campaign produced 400, that one 150. Then someone in sales points out that most of the 400 never picked up the phone, and the meeting ends without a decision.
The fix is mostly plumbing. Seven fields, one naming rule and a monthly join. We explain the reasoning in stop measuring marketing at the lead; this post is the build.
Follow one buyer from click to contract
It helps to picture a single lead. Suppose Aoife clicks a LinkedIn ad for your “operations audit” offer in March, fills in the form, gets a call, goes quiet, comes back in May after a nurture email, and signs in June.
For that deal to show up against the right campaign, four things have to survive the trip. The ad link must carry the campaign name. The form must record it on her contact. The contact must keep it even after she comes back through an email in May. And when the rep creates the deal in June, the campaign must travel onto the deal, which is the record your revenue report reads. The two weak points are the second link (the form never records the campaign) and the fourth (the deal never gets it).
Step one: a naming rule for every ad link
Agree the rule before touching any settings, and write it where the people who build ads will see it. A simple one:
UTM naming rule
utm_source = the platform, lowercase: meta, google, linkedin, [portal name] utm_medium = paid utm_campaign = [offer]-[audience]-[yyyymm], e.g. ops-audit-founders-202603 utm_content = the ad or angle, e.g. video-case, static-checklist Never reuse a campaign name for a different offer. Never leave a paid link untagged.
Lowercase matters. “Meta”, “meta” and “facebook” become three sources in a report, and somebody will spend an afternoon merging them.
Step two: capture the UTMs on the contact
Add hidden fields to every form for utm_source, utm_campaign and utm_content, filled from the page URL. Most form builders support this; check yours with a test submission from a tagged link. Make sure these fields are only written the first time, so a later visit from an email does not overwrite the ad that first brought the person in.
Also add a clean “Lead source” dropdown with a short fixed list. Free-text sources split one channel into many: “LinkedIn”, “LI”, “linkedin ad” and “Linkdin” all turn up.
Step three: carry the campaign onto the deal
Revenue lives on deals, and leads live on contacts. On HubSpot Professional and above, a workflow can copy the contact’s campaign onto a new deal. On lower tiers, either make “Original campaign” a required field when a rep creates a deal, with the value shown on the contact next to it, or have an AI assistant connected to the CRM fill it for every deal created that week. A weekly prompt is enough:
Prompt: weekly deal source check
List every deal created in the last 7 days. For each, find the primary associated contact and read its utm_source, utm_campaign and Lead source. If the deal's "Original campaign" is empty, fill it from the contact. If the contact has no UTM values either, do not guess. List those deals for the owner to check.
Step four: the fields, in one place
| Field | Where it lives | Values |
|---|---|---|
| utm_source | Contact (hidden form field) | meta, google, linkedin, portal-name |
| utm_campaign | Contact (hidden form field) | One name per campaign, from the naming rule |
| utm_content | Contact (hidden form field) | The ad or angle, so you can compare creatives |
| First form date | Contact | Set once, never overwritten |
| Lead source (clean) | Contact, dropdown | Paid social, Paid search, Portal, Referral, Partner, Outbound, Organic |
| Original campaign | Deal | Copied from the contact when the deal is created |
| Closed-won amount and date | Deal | Already standard in most CRMs |
Step five: the monthly join
On the first working day of each month, export two things. From the ad platforms, spend by campaign for the month. From the CRM, every contact created in the month with its campaign, plus every meeting booked and every deal won, with original campaign and amount. Put them in one sheet with one row per campaign:
- Spend
- Leads and cost per lead, which you already had
- Meetings and cost per meeting
- Deals won, revenue won and cost per closed deal
- Revenue per unit of spend
Keep a rolling view as well as the monthly one. Deals won in June often came from March leads, so a quarter-by-quarter view by lead month (“March leads have produced this much revenue so far”) is fairer to campaigns with longer sales cycles.
Reading the report
The interesting rows are the ones where the ranking flips. A campaign with expensive leads and a low lead count that produces most of the meetings. A cheap campaign that fills the CRM and never produces a deal. Those are budget decisions, and they are the reason to do this at all.
Before you cut anything, check the sales side. A campaign can look bad because its leads were never followed up: low meetings with high unworked leads is a sales problem, not an ad problem. Add “share of leads with two or more touches” per campaign to the sheet, and you will see the difference. Our follow-up cadence guide covers the fix.
Sending revenue back to the ad platforms
Once deals carry their campaign, you can go one step further and upload qualified leads or closed deals back to the ad platforms as offline conversions, so their bidding optimises towards buyers rather than form fills. Both Meta and Google support this. It is worth doing only after the CRM data is reliable; feeding a platform bad conversions teaches it the wrong thing.
What to expect in the first quarter
The first month of data mostly measures how well the tagging works. Expect gaps: untagged links, old forms without hidden fields, deals created before the rule existed. Fix them as you find them and do not draw budget conclusions from one month. By the end of one full sales cycle you will have a report that answers the question you started with.
Source-to-revenue reporting is part of the sales reporting we set up for clients, usually on the CRM they already have. Everything above works with a spreadsheet and an hour a month.
Frequently asked questions
What is closed-loop attribution?
Connecting each signed deal back to the campaign, ad or source that first brought the buyer in, then reporting revenue and cost per deal by source. It closes the loop between marketing spend and sales results, instead of stopping at lead counts.
Can I do this on HubSpot’s free or Starter plan?
Yes, with a monthly spreadsheet. Capture UTMs on the contact with hidden form fields, have reps fill the original campaign on the deal (or copy it with an AI assistant connected to the CRM), then export won deals and spend each month and join them. Paid attribution reports do this automatically; the logic is the same.
First touch or last touch?
Start with first touch: which campaign first brought the buyer in. It is the easiest to capture reliably and answers the budget question for lead generation. Add the last touch before the deal later if you run long nurture programmes.
How long before the numbers mean anything?
At least one full sales cycle. If deals take three months to close, the first quarter of data mostly shows lead volume. Report cost per meeting in the meantime, and cost per closed deal once enough deals have closed.