Using Campaign Influence for Opportunities
Feb 6, 2009Campaign Influence for opportunities is a great way to automate campaign tracking for each opportunity so the sales team can see what the contacts related to the opportunity have been influenced by.
Here’s a quick, 1 minute video on how it works.
Once you have set up campaign influence, there are 2 ways to add influential campaigns to an opportunity:
1) Add a contact role for people who were targeted in one or more campaigns
2) Click Add Campaign in the Campaign influence related list
First, it’s important to note that when a lead is converted into an opportunity, all of the campaigns that targeted that lead are automatically added to the Campaign Influence related list as long as they fit the Campaign Influence time frame and association rules that were set by your Salesforce admin.
Adding a Contact
Role
The best way to automatically track influential campaigns is to add all of the contacts related to an opportunity. You can click New from either the quick links bar (shown below) or from the Contact Roles related list on the opportunity detail page.
Note: Converted leads, John Kucera in this example, are automatically added to contact roles upon conversion.
Next, select the contact to add, and be sure to assign a role to that person. If you don’t assign a role, their campaigns won’t show up!
![]()
![]()
Once you’re done adding people, save the new roles and you’ll see the Campaign Influence related list update with all of the campaigns these people were in that match the Campaign Influence Time Frame and Association Rules filters. Also, any campaigns targeting these people in the future will automatically be added to the list.
In this example, Frank was a part of 3 campaigns, but 1 of them was not active, so it was filtered out by my “Active” association rule. The other 2 campaigns were added to the Campaign Influence related list.
![]()
![]()
Using the Add
Campaign Button
Perhaps you don’t know the name of the decision maker, but know he went to your user conference last year. In this case, you can add that event directly to the opportunity without needing a contact role.
Just click Add Campaign in the Campaign Influence related list…
![]()
![]()
… select the campaign and whether it should replace the Primary Campaign Source for ROI reports…
Note: The Primary Campaign Source on the Opportunity is not impacted by Campaign Influence. The last associated campaign with a converted lead will always be the default Primary Campaign Source. Also the the Primary Campaign Source will always be included in the Campaign Influence related list.
![]()
![]()
![]()
…and the campaign will be added to the list!
![]()
![]()
The Payoff
Once you’ve added all of these campaigns using contact roles or the Add Campaign button, the payoff is that they will now be in the Campaigns with Influenced Opportunities reports.
It is now a bit easier to create these reports than when we first posted solutions as now there is a default report type for Campaigns with Influenced Opportunities.
![]()
There are also more default report types including a default Campaigns with Influenced Opportunities report.
![]()
The Campaigns with Influenced Opportunities shows all open opportunities from active campaigns in the time frame you select:
![]()
Using the Campaigns with Influenced Opportunities report, you can create any metrics that fit your campaign goals. Here I’ve created a custom metric for $$ Pipeline / # Campaign Members (OPP.AMOUNT:SUM / ( NUM_LEADS:SUM+NUM_CONTACTS:SUM )) to get the dollar amount per person generated for this campaign.
![]()
Now that I have a report, I can create a dashboard showing me my top performing campaigns or my bottom performing campaigns, as it’s often easier to see the losers when there is a lot of campaign overlap. Here I’ve used that same report to display an ascending list of my worst performing campaigns.
Using Campaign Influence for Opportunities can be an excellent addition to your arsenal of campaign measurement tools as it's never been easier to track the impact of your Campaigns on Opportunities!
![]()










My company is having trouble using Salesforce to collect contact roles.
We have our system set up in hierarchies – for example:
Jergens – HQ
Jergens Industrial Supply – Division
Acme Industrial Supply – Division
Assembly Systems Group – Division
When Jergens Industrial Supply (JIS), we put the opportunity under that account. However, some of the decision makers may also have been at Jergens-HQ. How can we reflect the contact’s involvement if they are not in the same account as the opportunity?
Posted by: Sarah Wering | May 14, 2009 at 11:41 AM
Hi Sarah - while contact roles are pre-defaulted to contacts in the Account from the Opportunity, you can select any contact you have visibility to in the application using the lookup control.
Feel free to send me a note at jkucera at salesforce dot com if you have problems with this.
Posted by: John Kucera | May 20, 2009 at 10:28 AM
I'm a Salesforce consultant and one of my client need to use the Campaign Influence features.
Base on my testes so far, it seems that when I convert a lead that has 2 campaigns, those 2 campaigns get attached to the opportunity, which great.
But when I look at each campaigns, I only see the amount to the Primary campaign. More over, when I run a campaign influence report, I see both campaigns with the total opportunity amount.
My expectation are:
Lead is member of Campaign A & Campaign B.
Lead is converted with an opportunity
The opportunity close at 100$
I show 50$ to Campaign A & 50$ to Campaign B
Is there a way to do this?
Posted by: Alexandre Pelletier | September 15, 2009 at 03:59 PM
Hi Alexandre - there is not an out of the box way to split opportunity revenue to more than 1 campaign. Given that Campaign Influence isn't yet exposed in the API, there isn't a good workaround at this time either. We know this is a pain point for some customers and are working on a solution.
Posted by: John Kucera | September 21, 2009 at 01:43 PM
I am not collecting Contact Roles during the Opportunity creation process. However, I want to capture Campaign Influence for each opportunity created. Is there a way to use the Apex Data Loader to accomplish this in bulk?
Posted by: Tim Coultas | September 29, 2009 at 05:48 AM
Hi Tim - currently campaign influence does not have API access. Know that this is on our roadmap and a priority for us as it would add a lot of value for many customer including yourself.
Posted by: John Kucera | September 29, 2009 at 10:17 AM
Great information that business owners can use to stay alive during this time of recession.
Posted by: Banner Stands | September 29, 2009 at 06:06 PM
Any idea when API access is planned? Or is it currently just someting on a long list of features to add "someday?" Great to hear that its a priority, but I like specifics. :P
Marc
Posted by: Increase Website Traffic | November 23, 2009 at 07:44 AM