Back to News
Marketing Attribution
Marketing Operations

Campaign Attribution: Tying Campaigns to Revenue

Jonathan Martins
April 11, 2026
12 min read
TL;DR

A practical guide to assigning revenue credit to B2B marketing campaigns using Salesforce campaign objects, UTM parameters, and multi-touch models.

Campaign attribution answers the question every marketing team faces in every budget cycle: which of our campaigns actually drove revenue? Not leads. Not engagement. Revenue — the kind that shows up in the finance team's numbers and funds next year's budget.

Getting this right is harder than it sounds. B2B sales cycles can span months or years, involve a dozen touchpoints across as many channels, and close with a decision made by a committee whose earlier research was largely invisible to your tracking systems. Assigning fair and accurate revenue credit to the campaigns that influenced that decision requires getting several technical systems to talk to each other and agreeing on a methodology that your revenue team will actually trust.

This guide covers the full campaign attribution stack: the data model, the UTM framework, the CRM setup, the attribution model choices, and how to build a dashboard your CFO will believe.

Why Campaign Attribution Is Hard in B2B

The core difficulty in B2B campaign attribution is the mismatch between how campaigns operate and how revenue tracking works.

Most marketing campaigns create touches that are individual and event-based: a contact clicks an ad, attends a webinar, opens an email. Revenue tracking happens at the deal level — a specific account with a specific value that closes on a specific date after a multi-month evaluation process. Connecting individual campaign touches to deal-level revenue requires a bridge between contact-level marketing data and account/opportunity-level sales data.

Three specific complications make this harder than it appears:

Long sales cycles: A campaign touch that occurred 14 months before a deal closes is technically an influence on that deal. Most attribution models ignore anything older than 30–90 days, which means they systematically undercount early-funnel campaigns like brand awareness, thought leadership, and top-of-funnel content.

Multi-contact deals: In a 7-person buying committee, each contact may have been touched by different campaigns at different times. A webinar that reached your champion, a LinkedIn ad that reached the CFO, and a comparison guide that reached the technical buyer all contributed to the deal — but most attribution models can only see the contacts who were formally linked to the opportunity in CRM.

Offline and unmeasurable touches: Sales calls, conference conversations, peer recommendations, and dark social activity contribute to buying decisions but can't be tracked by your attribution system. This means any attribution model is by definition incomplete — the question is how incomplete, and whether the incomplete picture is still useful for decision-making.

Campaign Attribution vs. Lead Attribution

Campaign attribution data model connecting campaigns to opportunities in Salesforce
Campaign attribution data model connecting campaigns to opportunities in Salesforce

Many B2B marketing teams conflate campaign attribution with lead attribution — attributing credit to campaigns based on when a contact first converted into a lead. This is a mistake because lead creation is a poor proxy for revenue impact.

Lead attribution tells you which campaigns are good at generating form fills. Campaign attribution tells you which campaigns are good at contributing to deals. These are different questions, and in B2B, the gap between them can be enormous. A content asset might generate hundreds of leads — mostly from early-stage researchers who never buy — while a targeted ABM campaign generates ten leads, eight of which progress to pipeline.

True campaign attribution traces the path from campaign touch all the way through to closed-won revenue, measuring campaigns on their contribution to pipeline and revenue — not their lead volume. This requires maintaining the connection between marketing touches and CRM opportunities throughout the entire sales cycle, not just at the top of funnel.

The Salesforce Campaign Object Model

Salesforce's Campaign Object is the native infrastructure for B2B campaign attribution. Used correctly, it creates a data model that connects every campaign to every contact touched and, through Campaign Members and Campaign Influence, to every opportunity that contact is associated with.

The core setup: every marketing campaign — webinar, paid ad series, email nurture track, trade show, content syndication — gets its own Campaign record in Salesforce. Campaign Members are the contacts or leads who were touched by that campaign. The Campaign Influence feature links each Campaign to Opportunities based on the Campaign Members who are associated with those Opportunities.

Key Campaign fields to populate consistently: Campaign Name (using your standard naming convention), Campaign Type (Webinar, Paid Search, Email, Event, etc.), Start and End Date, Status, Budget Actual, Leads in Campaign, Contacts in Campaign. For attribution to work, you also need to define the Attribution Model at the campaign level — which revenue model you're using to assign credit.

Salesforce's native Campaign Influence attribution assigns credit to campaigns based on a configurable model and a configurable "influence window" — how far back in time a campaign touch can claim credit for an opportunity. The default is 90 days, but for long B2B sales cycles, extending this to 12 or even 18 months captures more of the influence chain.

The most common failure point: Campaign Members aren't created consistently. If your marketing automation platform (HubSpot, Marketo, Pardot) isn't reliably syncing campaign responses back to Salesforce as Campaign Members, the entire attribution model is broken at the source. Audit this sync monthly.

UTM Parameters and Campaign Source Matching

UTM parameter taxonomy for B2B campaign tracking and attribution
UTM parameter taxonomy for B2B campaign tracking and attribution

UTM parameters are the mechanism that connects digital ad and email clicks to Salesforce campaigns. When a contact clicks a URL tagged with UTM parameters, those values are captured by your marketing automation platform, stored on the contact record as "Original Source" or equivalent fields, and used to match the contact to the correct Salesforce Campaign.

The standard UTM taxonomy for campaign attribution:

  • utm_source: The platform running the campaign (google, linkedin, email, direct)
  • utm_medium: The channel type (paid-search, paid-social, email, organic)
  • utm_campaign: The specific campaign name, matching your Salesforce Campaign name format
  • utm_content: The specific creative or ad variant
  • utm_term: The keyword for search campaigns

For campaign attribution, utm_campaign is the critical field — it must contain a value that can be reliably matched to the correct Salesforce Campaign record. Many teams use the Salesforce Campaign ID as the utm_campaign value to enable exact matching. Others use a structured campaign code that maps to the Campaign name via a lookup table.

The most common UTM errors that break attribution: inconsistent capitalisation (UTM values are case-sensitive), spaces in UTM values, missing UTMs on any paid or email links (a single untagged link breaks the source chain for that contact), and UTM values that don't match any Salesforce Campaign record.

Sourced vs. Influenced Pipeline

Before building your attribution dashboard, get alignment on the difference between sourced and influenced pipeline — two fundamentally different measurements that answer different questions.

Campaign Sourced Pipeline: Pipeline where a marketing campaign was the originating touchpoint — the campaign that caused the initial engagement which eventually became an opportunity. This is a first-touch or first-campaign metric. It answers: "How much new pipeline did our campaigns create from scratch?"

Campaign Influenced Pipeline: All pipeline opportunities where the account or its contacts were touched by a marketing campaign at any point before the deal closed, regardless of whether the campaign was the original source. This is a multi-touch metric. It answers: "How much of our pipeline was touched by marketing campaigns at some point in the buying journey?"

Influenced pipeline almost always looks larger than sourced pipeline, which can create misleading impressions of marketing's impact if not properly contextualised. A campaign that touched every contact in your CRM would show 100% pipeline influence — but that influence may have been marginal. Track both numbers with transparency about what each means.

Choosing an Attribution Model for Campaigns

W-shaped attribution model distributing revenue credit across campaign touchpoints
W-shaped attribution model distributing revenue credit across campaign touchpoints

Attribution model choice determines how revenue credit is divided among the campaigns that touched an opportunity. The right model depends on what question you're trying to answer and what decisions the model will drive.

First Touch: 100% credit to the first campaign that touched any contact associated with the opportunity. Best for measuring which campaigns are best at top-of-funnel demand creation. Undervalues campaigns that convert interest into pipeline.

Last Touch: 100% credit to the last campaign touched before the opportunity was created. Best for measuring which campaigns drive final conversion. Undervalues early-funnel brand and awareness campaigns.

Linear: Equal credit distributed across all campaign touches. Simple, transparent, and less likely to over- or under-value any single campaign type. Good for general campaign performance comparison.

W-Shaped (30/30/30/10): 30% to first touch, 30% to the touch that created the lead, 30% to the touch that created the opportunity, and 10% distributed across remaining touches. Designed for B2B funnels where creating a lead and creating an opportunity are distinct, meaningful milestones. This is the most commonly used model for B2B revenue attribution among marketing ops professionals.

Time Decay: More credit to recent touches. Appropriate when the sales cycle is short and recent campaigns are most responsible for conversion. Less appropriate for long B2B cycles where early awareness is genuinely important.

Most sophisticated B2B marketing teams run at least two models simultaneously — typically first-touch (to measure demand creation) and W-shaped or linear (to measure overall campaign influence). Running a single model in isolation creates blind spots.

Building a Campaign Attribution Dashboard

A good campaign attribution dashboard answers these five questions: Which campaigns sourced the most pipeline? Which campaigns influenced the most pipeline? What's the ROI of each campaign (pipeline or revenue generated per dollar spent)? Which campaign types are most efficient? And how has campaign attribution trended over time?

In Salesforce, this data lives in Campaign Influence reports. Build a Campaign Summary report showing Campaign Name, Budget Actual, Total Opportunities (influenced), Total Pipeline Value (influenced), Pipeline ROI (pipeline/budget), and Win Rate of influenced opportunities. Sort by Pipeline ROI descending for the most actionable view.

Add a campaign type rollup — webinar, paid social, email, content, event — so you can see which channel types produce the best attribution outcomes, not just which individual campaigns. This is the view your CMO needs for budget allocation decisions.

For the CFO, add a "Revenue Influenced" column alongside "Pipeline Influenced." Revenue is more conservative because it only credits closed-won deals, not open pipeline. CFOs typically prefer the revenue view even though it undervalues ongoing pipeline — show both with clear labels.

Common Campaign Attribution Errors and Fixes

The four most common errors that produce incorrect attribution data:

Missing Campaign Members: Contacts touched by a campaign weren't added as Campaign Members in Salesforce, so the influence link can't be made. Fix: audit your MAP-to-SFDC sync monthly and alert on Campaign records with zero Members despite active status.

Broken UTM chains: A contact clicks an untagged link, their source data gets overwritten, and the correct campaign source is lost. Fix: UTM governance — every outbound link in every email or ad must be tagged before launch. No exceptions.

Opportunity contact roles not populated: If the contacts associated with an opportunity don't have Contact Roles defined, Campaign Influence can't traverse the relationship from Campaign Member to Opportunity. Fix: make Contact Role a required field at opportunity stage 2 or above.

Influence window too short: The 90-day default influence window misses most of the campaign touches in a 6–12 month sales cycle. Fix: extend the influence window to at least 365 days for enterprise motion, 180 days for mid-market.

Frequently Asked Questions

What's the difference between campaign sourced and influenced pipeline?

Sourced pipeline is opportunities where a marketing campaign was the originating touchpoint. Influenced pipeline is all opportunities touched by any marketing campaign at any point before close. Sourced is a stricter, smaller number; influenced is broader and larger. Both are valid metrics for different decisions — sourced for demand creation measurement, influenced for overall marketing contribution.

Which attribution model is best for B2B campaign measurement?

W-shaped attribution (30% first touch, 30% lead creation, 30% opportunity creation, 10% remaining touches) is the most commonly used model in B2B because it gives appropriate weight to both demand creation and conversion milestones. Running linear attribution alongside it as a sanity check is a best practice.

How do I set up Campaign Influence in Salesforce?

Enable Campaign Influence in Salesforce Setup, configure the Influence Model (customisable in Salesforce Customisable Campaign Influence), set your Influence Time Frame (start with 365 days for B2B), and ensure your MAP is creating Campaign Members for every campaign response. The data quality of Campaign Members is the foundation — without it, the influence reports will be incomplete.

Why do my UTM values keep disappearing?

The most common cause is page redirects that strip UTM parameters. Check your landing page setup for server-side redirects, and ensure your analytics platform (GA4, HubSpot) is configured to preserve UTMs through redirects. Also verify that no JavaScript on your site is rewriting the URL after page load, which can lose UTM values before they're captured.

How do I get sales to populate Contact Roles on opportunities?

Make Contact Roles a required field that blocks opportunity stage advancement — not at Stage 1, but at Stage 2 or 3. If you make it required too early, reps add placeholder roles to bypass the requirement. Tied to stage advancement at the point where it's actually meaningful (active evaluation), adoption is much higher. Show sales the benefit: deals with 3+ contact roles close at higher rates.

How do I measure campaign attribution for offline touches like events?

Offline touches require manual or semi-automated Campaign Member creation. For events, upload the attendee list from your event registration system (Eventbrite, Splash, Cvent) to Salesforce and create Campaign Members with status "Attended" for each. For conference conversations, train sales reps to log a Campaign Member with "Rep Engaged" status when they have a meaningful conversation with an account at an event.

Key Takeaways

  • Campaign attribution measures which campaigns drive actual revenue.
  • B2B sales cycles complicate revenue tracking due to multiple touchpoints.
  • Lead attribution does not accurately reflect revenue impact.
  • Salesforce's Campaign Object is essential for B2B campaign attribution.

Frequently Asked Questions

Why is campaign attribution important for B2B marketing?
Campaign attribution identifies which marketing efforts contribute to revenue, not just leads. This insight helps allocate budget effectively.
What challenges exist in B2B campaign attribution?
Challenges include long sales cycles, multiple contacts in buying committees, and unmeasurable offline interactions. These factors complicate linking marketing efforts to revenue.
How does campaign attribution differ from lead attribution?
Campaign attribution focuses on revenue contribution from campaigns, while lead attribution tracks form fills. These metrics serve different purposes in evaluating marketing effectiveness.
What role does Salesforce play in campaign attribution?
Salesforce's Campaign Object connects marketing campaigns to contacts and opportunities. It provides a structured data model for tracking campaign influence on revenue.

See Where Your Business Stands in Search

Get a free site audit. We identify what is holding you back and what to fix first.

Published on April 11, 2026• Updated on April 11, 2026
More Posts

Ready to Transform Your Marketing Operations?

Join mid-market teams transforming their marketing operations with RankWorks AI. Get unified workflows, predictable execution, and measurable growth.

4.9/5 Rating
Google Certified
Enterprise Ready