Marketers / Analytics / Sales Cloud

Complete Guide to Salesforce Campaign Influence

By Lucy Mazalon

Salesforce Campaign Influence is how Salesforce Opportunities are associated with the Campaigns that helped generate them. It’s all about joining the dots between sales revenue (stored in opportunities) and marketing data (stored in campaigns) – and therefore, is the fundamental connection in measuring Marketing ROI (return on investment).

Without Campaign Influence, how else would you find out the amount of revenue generated for specific marketing campaigns? How else would you capture marketing-sourced deals vs. other lead sources?

This guide will explain the key points about each type of Salesforce Campaign Influence, plus questions to kick-start your own reports.

What is Campaign Influence in Salesforce?

Salesforce Campaign Influence is how Salesforce Opportunities are associated with the Campaigns that helped generate them.

Campaign Influence can be a daunting topic, however, for marketers and admins who aren’t familiar with the nuts and bolts of Salesforce Sales Cloud, Salesforce Campaigns functionality, and the Campaign Influence object.

Failing to understand the two options that the Salesforce platform provides is a common roadblock.

The dream of accurate, effortless ROI tracking can become real. To begin demystifying Campaign Influence in Salesforce, we can start by laying out the two types:

  1. Campaign Influence 1.0 (AKA Salesforce Influence Model) – the default attribution model, using the “Primary Campaign Source Field”
  2. Customizable Campaign Influence – for more advanced, multi-touch attribution.
READ MORE: Campaign Influence Starter Pack: Reporting in u003c 30 Minutes

Key Salesforce Marketing Terms to Learn

Before you can understand how Campaign Influence works (without getting lost!) there are terms you need to familiarize yourself with:

  • Contact roles: the contact involved in the opportunity is that all-important link. Salesforce will only pick up the contact’s involvement when the contact is added as a Contact Role to the opportunity. A Contact Role record allows you to show that this contact is playing an influencing role in that opportunity.
READ MORE: Introduction To Salesforce Opportunity Contact Roles
  • Salesforce Campaigns
  • Campaign Members
  • Lead conversion: When Leads are considered “qualified” by your organization, the Lead record is converted to create a new Contact, create/relate to an Account, and (optionally) create an Opportunity. Understanding this concept will make many of the automated Campaign Influence behaviors clear.

Salesforce Campaign Influence 1.0 (Option 1)

As the default attribution model, it’s the simplest to grasp. With the advances in marketing analytics and increased expectations of what can be reported on with Salesforce, many organizations will find this type of Salesforce Campaign Influence insufficient. With this model, you can:

  • Associate Campaigns to Opportunities, using the contact as the golden link.
  • Enable/Disable as you wish
  • Set an auto-association timeframe
  • Credit revenue to campaigns in a simple way, using the “Primary Campaign Source” field.

How Salesforce Campaign Influence 1.0 Works

A picture can speak a thousand words, so I’m going to use the Salesforce data schema to help us discover the Primary Campaign Source field. The data schema is a diagram that shows how Salesforce objects are related, and is available in every Salesforce org (in “Setup”).

Highlighted in yellow, you can see Primary Campaign Source is a field on the Opportunity (type, “lookup”). The field “looks up” to the Campaign, therefore linking the two together.

You can see the relationship more clearly here:

Only one Campaign can be added to the Primary Campaign Source for each Opportunity (the nature of lookup relationship fields).

Crediting revenue to the Campaign is kept simple for this reason. The campaign on the opportunity ‘Primary Campaign Source’ field will receive 100% of the credit.

Enable Campaign Influence 1.0

You can enable/disable the Campaign Influence feature as you wish. In Setup, search for ‘Campaign Influence’, and select ‘Enabled’.

Auto-association

Auto-association means that you can let Salesforce take care of forging the link between your Opportunities and Campaigns.

When a Lead is converted and an opportunity is created at the time of conversion (which remember, is optional), then auto-association will kick into action.

Auto-association can be broken down into two parts:

  1. Time-based Auto-association
  2. Auto-association rules

Time-based Auto-association

Based on the time period that has passed between the “influential” marketing campaign, and the won revenue.

Campaign Influence is a subjective topic, swayed by a number of factors. Time can be used as a determining factor.

If an opportunity is launched in the timeframe of a marketing campaign, we could assume that the Campaign influenced the Opportunity. For example, a Campaign that the contact engaged with 30 days ago (or less) is influential, as opposed to one they engaged with over a year ago (as we can assume there would be other influences that pushed the deal “over the line”).

The tricky part comes when we have to set those time periods; how long after a campaign launch can marketing still influence new opportunities? (think: ‘how long is a piece of string?’). The allowable time lag will be different for every business and should be discussed as a team.

Auto-association rules

On top of time-based auto-association, you can set filters to only include Campaigns with certain criteria, for example, one specific “type” (or any Campaign Object field). As a result, you can also exclude certain campaigns that will not have auto-association applied.

The rest can be linked manually by yourself, or another user with sufficient user permissions.

Customizable Campaign Influence (Option 2)

Customizable Campaign Influence supports more complex influence scenarios (when things aren’t so “black and white”) and provides more flexibility.
If your marketing team is seeking multi-touch attribution, then they outgrew the Salesforce Influence model.

  • Associate Campaigns to Opportunities, using the Contact Role as the golden link.
  • Associate multiple Campaigns to an Opportunity – and multiple Opportunities to a Campaign.
  • How the Opportunity’s amount is shared between Campaigns (revenue share) reflects the level of influence each Campaign has relative to the others.
  • Attribution models determine the revenue share. Think of these as different views to weigh Campaign Influence in different ways (more on this later).

As you can already see, Customizable Campaign Influence goes beyond the ‘all or nothing’ revenue share in Campaign Influence 1.0.

How Salesforce Customizable Campaign Influence Works

With Customizable Campaign Influence, the Opportunity’s amount is shared/split between Campaigns (revenue share) reflecting the level of influence each Campaign has relative to the others.

You need to keep in mind two essential concepts:

  1. The Influence (%)
  2. The Revenue Share (Influence % of Opportunity Amount)

Example:

  • Opportunity X which has the amount £10,000.
  • Campaign A is said to have had a great influence on Opportunity X, pushing it over the line. You want to credit 50% influence to Campaign A. Campaign A’s revenue share is £5,000.
  • Campaign B, on the other hand, did play a part but not to the same extent as Campaign A, therefore, you attribute 25% to Campaign B, a revenue share of £2,500.

This is how it looks from the “Influenced Opportunities” related list from the Campaign’s view:

Salesforce Attribution Models

‘Attribution models’ describe how each touchpoint (Campaign) is weighted (% influence) when associated with Opportunities.

While they sound daunting, understanding how they work doesn’t have to be complicated!

In this guide, I will quickly cover the three most common attribution models (which come out of the box with Salesforce). You can read more about attribution models in: ‘Pardot Analytics Update: Campaign Influence Attribution Models Explained‘.

  • First-touch: focuses credit (opportunity revenue) on the campaign (touch point) that moved prospects through the awareness stage.
  • Last-touch: focuses credit (opportunity revenue) to the campaign (touch point) that moved prospects through the consideration/negotiation stage.
  • Even Distribution: gives equal credit to all the campaigns (touch points) that a prospect interacted with during the buying cycle.

With Customizable Campaign Influence, you can define the weightings for the first-touch campaign, last-touch, or stick to an even distribution model (where all campaigns have equal % influence, and therefore revenue share).

After enabling Campaign Influence in Salesforce Setup, you must then click “Edit” again, and enable “Additional Campaign Influence Models”:

Then, “Model Settings” will appear in the Setup menu, listing all the attribution models available to you (out-of-the-box):

Default Attribution Model

Salesforce requests you choose a default model, represented by a checkbox on the “Model Settings” page.

The default attribution model will be represented when Campaign Influence is displayed on Salesforce page layouts. Related lists, such as “Influenced Campaigns” on Opportunities will show Even distribution (you can access other models through reporting, which we will see shortly).

Here, I’ve decided to make “Even distribution” the default model to use across my organization:

How Salesforce Crunches the Numbers

Let’s remind ourselves of how Contacts are associated with Campaigns.

As you can see in the image below, a Contact (or Lead) record is associated with a Campaign by creating a Campaign Member record. Campaign Members are a “Junction Object”, a separate record that connects the Contact and Campaign, representing the Contact’s engagement with that specific Campaign.

Now, let’s focus on one contact. This individual is a member of three campaigns (therefore has 3 Campaign Member records). Each Campaign Member record has a ‘Created Date’ field, and a ‘Last Modified’ Date’ field.

When calculating Campaign Influence, Salesforce uses these two date fields to determine the first and last touch:

  • First-touch: Salesforce looks at the Campaign Member created date to decide which campaign was a contact’s first-touch with your brand.
  • Last-touch: Salesforce looks at the Campaign Member last modified date to decide which campaign was a contact’s final marketing touch before closing. This is because the campaign member status would have changed most recently on this campaign member record.

You can see it reflected in the image above.

Moving on to the high-level picture. In the Salesforce dashboard below, we can see three pie charts.

Let’s start with ‘Even Touch’ on the right. This pie shows that 810k was the ‘Sum of Revenue Share’, which could be rephrased as the total amount of marketing-influenced revenue (in Salesforce Opportunities).

The slices of the pie vary in size according to the value of the contacts that are in the campaigns (as members in Campaigns, and Contact Roles in Opportunities).

We can build on this in order to explain ‘Last Touch’. The largest slice is the bright blue, for the ‘2017 Fall Event’. We can say that this campaign made the largest contribution at the negotiation stage, right before winning the opportunity, because this is the last campaign to touch prospects before the opportunity/ies were marked closed won.

Multiple Contact Roles

What if there are two or more Contact Roles on the Opportunity? How does the “Amount” get credited between all associated Campaigns?

Campaign Influence will take every Contact Role into consideration; however, it does not divide the “Amount” field equally between all Contact Roles. Instead, it reviews all the Contact-Campaign-Member’s created/last modified dates collectively (as if they were one individual). Last touch, etc. is determined that way.

Licensing

These attribution models are available for customers that have both Salesforce and Pardot licenses. Contact your Account Executive to enable this feature if it has not yet been provisioned.

Campaign Influence Object (the Architecture)

As you know, this type of Campaign Influence means you can associate multiple Campaigns to an Opportunity – and multiple Opportunities to a Campaign.

This is possible thanks to the Campaign Influence object – one that you don’t interact with directly, but can help further solidify your understanding of Campaign Influence.

The Campaign Influence object is a “Junction Object”. Each time a Campaign-Opportunity association is made, a Campaign Influence record holds the % influence and revenue share ($) information:

You can see the relationship more clearly here:

Primary Campaign Source vs Customizable Campaign Influence

Primary Campaign SourceCustomizable Campaign Influence
Associate one Campaign to an Opportunity, using the contact as the golden link.Associate multiple Campaigns to multiple Opportunities (and multiple Opportunities to a Campaign) using the Contact Role as the golden link.
Primary Campaign Source is an Opportunity field (lookup to Campaign)Campaign Influence is a Junction Object.
Credit revenue to campaigns in a simple way. The Campaign in the “Primary Campaign Source” field receives 100% of the credit.Attribution models determine the revenue share. Think of these as different views to weight Campaign Influence in different ways.

Campaign Influence Related Lists

To take advantage of Customizable Campaign Influence, add related lists to show the Campaign Influence breakdown at the record level. Remember, these related lists will show the default attribution model you selected in Setup, for your org:

  • Influenced Opportunities: add to the Campaign object to see the Opportunities that Campaign has influenced.
  • Campaign Influence: add to the Opportunity object to see the Campaigns that have influenced that Opportunity.

Campaign Influence Reports

Campaign Influence can be hard to wrap your head around – but hopefully, you’ve got to grips with the fundamentals by this stage.

You can further solidify your understanding of Campaign Influence by looking into the reports you will be using.

As you will see from the Salesforce reports in this section, you can report on Campaign Influence from different views: the whole pipeline view, from the point of view of one campaign, or from one opportunity.

Let’s take a look at these four working examples.

To follow along, each of these examples starts by creating a Salesforce report with the type ‘Campaigns with Influenced Opportunities (Customizable Campaign Influence)’.

 

 

Marketing Influenced Pipeline – All Opportunities

I am defining ‘pipeline’ here as both the open opportunities and the closed opportunities from a specific campaign. While you could argue that this is not the strict definition of pipeline (reserved only for open opportunities), that restricted view isn’t useful for marketing teams when they’re looking at campaign ROI.

In this case, I am imagining that the marketing team is going through a quarterly briefing review (but you can adjust the date filters how you wish).

Add the following filters:

  • Responded: True
  • Campaign Start Date: LAST QUARTER
  • Opportunity type: ’New’/’New Business’. This will filter out any of the ‘renewal’ opportunities, if applicable to your business.

The ‘responded’ checkbox means that you will only include people who made a meaningful interaction with the campaign. in the case of an event, for example, you will only want to count people who attended the event (‘Responded’), vs. someone that did not make a meaningful engagement, eg. they only registered (in other words, you will filter out the no-shows). Read this post on Campaign Member Statuses to ensure you have your status values structured correctly.

Filtering by ’Start date’ will show the campaigns that were launched last quarter. As this is a relative date filter, the report will always show the start dates within the last quarter – in other words, you won’t need to update this field from one quarter to the next manually).

You will see a field ‘Model Name’ added to the report by default. This is where you can select which model you want to show (First Touch Model, Last Touch Model, Even Distribution Model, Salesforce Model). As this is an overview pipeline report, I am going to select ‘Even Distribution Model’ to ensure that all marketing touchpoints are credited, and not masked by the first or last touch campaigns.

After running the report, you will see the total value of all opportunities (pipeline influenced):

Marketing Influenced Revenue – Won Opportunities

We will stick with the same report for the next use case. The only thing you will need to add is a filter:

  • Stage: ‘Closed Won’

Campaign Influenced Pipeline – All Opportunities from one Campaign

Next, we will focus in on one campaign to see which opportunities that campaign sourced, and the value of those opportunities.

Return to the report filters:

  1. Remove ’Stage’ and ’Start Date’,
  2. Add Campaign Name.

You will also need to add the filter for ‘Model Name’. Here is your chance to play around with the models depending on what you want to see:

Do you want to see the expected/won revenue from the leads (that turned converted into opportunities) that were sourced from this campaign? = use first touch.

Do you want to see the expected/won revenue of the opportunities that closed thanks to this campaign? = use last touch.

If you just want an overview of all opportunities, you can use Even Distribution.

Opportunity Campaign Influence – All Campaigns Influencing one Opportunity

Let’s flip the view from looking at which opportunities a campaign influenced, to which campaigns influenced an opportunity.

Instead of filtering by ‘Campaign name’, now we can use ‘Opportunity name’.

Don’t let me stop you there! There are many ways you can slice this report depending on who your organization uses opportunities.

View Campaign Influence Report

You will see a link on the Campaign record page that says “View Campaign Influence Report”. If you’re using Salesforce Lightning, you will be directed to the “Reports” home page (and not a report). This has been a feature leftover from Salesforce Classic, and has not been transitioned to Lightning (yes, it does still work in Salesforce Classic!)

When Campaign Influence Fails

Before we finish up this bumper guide, I wanted to share a warning with you. Even with Campaign Influence set up – plus all the bells and whistles added (related lists, reports) – without proper user adoption, your ROI reporting will be fundamentally flawed.

Campaign Influence requires discipline to gain consistent data and accurate reports as a result. This means:

Summary: Get Started with Campaign Influence

This post has been a comprehensive guide to get you started on Campaign Influence in Salesforce.

To demystify the topic I have laid out the two types: Campaign Influence 1.0 (AKA Salesforce Influence Model) – the default attribution model, and Customizable Campaign Influence – for more advanced, multi-touch attribution.

Beyond using the default model, here are some questions to get you started on thinking about the future of your Campaign Influence tracking:

  • How granular do you need to go when splitting out the revenue from an opportunity across your campaigns?
  • Are you able to define how significant the first touch, or last touch is to the opportunity?
  • Does an even distribution model mask the true influence your campaigns are having on the opportunity?

The Campaign Influence Starter Pack is a set of comprehensive dashboards built for both Lightning and Classic, as well as a collection of reports. Unlock Salesforce Marketing ROI in less than 30 minutes with the Campaign Influence Starter Pack:

READ MORE: Campaign Influence Starter Pack: Unlock Salesforce Marketing ROI in u003c 30 Minutes

The Author

Lucy Mazalon

Lucy is the Operations Director at Salesforce Ben. She is a 10x certified Marketing Champion and founder of The DRIP.

Comments:

    Reyna
    September 09, 2020 6:02 pm
    Hi, I am trying to understand - are first touch and lat touch model supposed to equal the primary source campaign model?
    Jason
    June 01, 2021 10:13 pm
    How does one go about creating the opportunity report that shows which campaigns influenced opportunities?
    Lucy Mazalon
    June 20, 2021 1:06 pm
    Hi Jason, it all starts with adding campaign members and contact roles. Ensure your organisation does this consistently, or face inaccurate campaign influence. https://www.salesforceben.com/the-drip/ways-to-add-leads-to-salesforce-campaigns-as-campaign-members/ https://www.salesforceben.com/the-drip/introduction-to-contact-roles-pardot/
    Vinod
    November 30, 2021 5:22 pm
    hi Lucy - this is really helpful - thank you! :-) Q: How does this work with the Marketing Automation tool used by an enterprise e.g. Pardot, Marketo, HubSpot? I noticed you mentioned Pardot in passing in the Customisable Campaign Influence section...Many thanks.
    Lucy Mazalon
    December 02, 2021 3:40 pm
    Thanks Vinod, and nice to hear from you. Hope all is well with you. Campaign influence will work based on how these tools are pushing Leads/Contacts into Campaigns. Pardot can do this with completion actions (a form of automation), "Add to CRM campaign" where you define the member status they should have. I'm sure Marketo/HubSpot have something similar. Hope that answers your question?
    Vinod Mistry
    December 08, 2021 2:14 pm
    Hi Lucy - yes I think that answers the question- I may need to come back to you once I have investigated it a bit more. Many thanks.
    Jim Olsen
    December 18, 2021 8:17 pm
    Hi Lucy, I am having challenges set up customizable campaign influence where the only attribution model that is showing up in reports is the Salesforce Model. We are trying to see the Even-Distribution in particular but are having challenges making that appear. Do you have any idea why that could be happening? Thanks for this article, very insightful!
    Shlomo goldberg
    December 20, 2021 12:06 pm
    I don’t understand which campaigns get included in the campaign influence object {ci}. Let’s say a contact has two campaign member records (cm). One has last modified date 6/1 and another 7/1. The contact is added to the opportunity contact role object (ocr) for an opp 8/1. And on 9/1 a new cm is added for that contact. Which is the first touch. How do I make it so 7/1 is the first touch. How can I append the ci to show if the record was made for a cm before an opp created date or are ci only for cm made after the opp created date. What happens if a second contact is added to the ocr with cm before the ocr add date and before the opp created date.
    Lucy Mazalon
    January 06, 2022 4:22 pm
    Hi Jim, are you a Pardot customer? If yes, did you enable the additional models setting (referenced in the post)?
    Gala Wilson
    December 09, 2024 2:32 am
    Hi Lucy. I am having a similar problem as Jim. I am a Pardot/Account Engagement customer on Growth Edition for AE and Enterprise Edition for Salesforce. My campaigns are connected. I have enabled Campaign Influence but don't get an option to enable the addition models setting as referenced in the post. When I click edit the only options visible are to enable or disable campaign influence -- nothing else.
    Adam
    February 25, 2022 1:12 am
    I'm confused, is it the case that you cannot configure Customizable Campaign Influence (Option 2) if you do not have Pardot?
    Kristin
    March 16, 2022 10:01 pm
    Hi Lucy, thanks for this. Will this still work in an org where opportunities are associated with accounts and 'Accounts as Campaign Members' is enabled?
    Tanya Docheva
    March 31, 2022 11:20 am
    Hi Lucy, many thanks for this comprehensive guide! This is gold! I am already actively using campaign influence and monitoring revenue share in all 3 models, however I am noticing that once I start adding filters to the reports (for example, applying a filter Responded = True or excluding some campaign member statutes -> not equal to 'Sent', 'Absent', etc. I am then getting different revenue share in all 3 models even if I apply exactly the same filters to all of them. Is this expected behavior? Will revenue share across models change when applying additional filters to them? We are supposed to exclude members with no engagement from campaign influence as prospect who were just sent an email or did not show at a live webinar should not have any influence on the opportunity, I would think. Thank you as always for being a life saver!
    Lane
    May 26, 2022 10:24 pm
    Lucy, can you only enable even distribution in Salesforce if you are a pardot user? If so, is there any way to accomplish this with flows? We just want automatic campaign associated for the last 730 days and an even distribution of that.
    Icaro Magalhaes
    June 08, 2022 4:45 pm
    Hi Lucy, thank you for your article, really helpful! Could you please confirm if the Addition Influence Campaign Model are only available if a Pardot instance is connected with Salesforce? It's not clear to me. Thank you.
    Tiffany Taylor
    August 25, 2022 4:25 pm
    Are you saying that Campaign Influence will be assigned automatically if the opportunity was created manually (not a lead conversion), and the campaign was not added but a contact in the campaign was added to the contact roles?
    Anudeep
    July 07, 2023 8:58 am
    HI, I'm trying to enable the Additional Campaign Influence Models but not able to enable can anyone help me on this.
    Fiona
    August 23, 2024 6:52 am
    I have only just started using Salesforce Campaigns and today I added my Campaign Members to a Campaign I am planning but had made the Campaign Status In Progress and Campaign Members with a status of Sent. I have not actually sent any emails yet but it appears that 6 opportunities have already been added as influenced opportunities because they were closed won recently. I checked the Opportunities themselves and they do not have a Primary Campaign Source and I checked Influence settings in Setup and whilst Campaign Influence has been enabled there are no auto-associations and the model settings is the default. Why have these Influenced Opportunities been added, is it because of the Campaign Status should remain Planned until email is sent and how can I remove them?

Leave a Reply