Configure Your Salesforce Account
Learning Objectives
After completing this unit, you’ll be able to:
- Map leads to contact fields in Salesforce.
- Add Pardot information to lead and contact page layouts.
- Add Pardot buttons to Salesforce layouts.
Map Leads to Contact Fields in Salesforce
Once you’ve set up the connector, anytime you create a new prospect in Pardot that doesn't have a corresponding lead record in Salesforce, Pardot generates a new lead for it. However, when Pardot converts that lead to a contact in Salesforce, the contact record may not pull in all the data from the lead record.
Mapping your leads to contact fields in Salesforce ensures that Salesforce passes the data successfully to the contact record.
Important: Do not map the Pardot URL lead field and Pardot URL contact field. Mapping these fields to each other creates duplicate prospects and breaks Visualforce pages.
To map your lead fields to contact fields:
- In Salesforce, from Setup, click Object Manager on the menu.
- Click Lead.
- Click Fields & Relationships.
- Click Map Lead Fields.
- Click the Contact tab.
- For the fields beginning with Google Analytics and Pardot, choose the corresponding contact fields from the dropdown.
- Click Save when you’ve finished mapping all desired fields.
Add Pardot Information to Lead and Contact Page Layouts
When you install the Pardot AppExchange Application, it automatically sets up Pardot fields for you in Salesforce but doesn’t display them by default. To display the Pardot fields, you need to edit several of your Salesforce settings. To keep things organized, we recommend creating a Pardot section on your lead and contact page layouts to contain all Pardot fields. Here’s how.
- Still in the Object Manager, click Lead | Page Layouts.
- Click the down arrow to the right of Lead Layout, and click Edit.
- Using the drag-and-drop layout editor at the top of the page, drag a Section
field onto your Lead layout page. - In the popup window, for Section Name, enter
Pardot
. - Make sure the checkboxes to display section headers on both the Detail Page and the Edit Page are selected.
- Select 2-column for number of columns.
- Select Left-Right for the Tab-key Order.
- Click OK.
- Return to the Fields section in the page layout editor and scroll right to locate the Pardot custom fields.
- Drag all the Pardot fields into your new section.
- Click Save.
- Now, click Object Manager | Contact | Page Layouts and repeat the steps for your contact page layout as well.
Now that you’ve got Pardot fields on your leads and contact page layouts, you can add a new section for Pardot activities, list memberships, and social data, so you can access this information in your Salesforce account.
- Drag a new Section into your page layout.
- For Section Name, enter
Pardot Activities
. - Uncheck the checkboxes for section headings.
- Select 1-column.
- Click OK.
- Click Save.
- In the layout editor, scroll down and click Visualforce Pages.
- Drag Pardot Activities, Pardot List Membership, and Pardot Social Data into the Pardot Activities section.
- Click Save.
Add Pardot Buttons to Salesforce Layouts
- Click Object Manager | Campaign | Buttons, Links, and Actions.
- Click New Button or Link.
- For Label, enter
Add to Pardot List
. - Press tab to automatically generate a custom field ID.
- For Description, enter
Add lead or contact to Pardot List
. - Select Detail Page Button as Display Type.
- From the Behavior dropdown, select Display in existing window with sidebar.
- From the Content Source dropdown, select URL.
- In the syntax box, paste the following code:
https://pi.pardot.com/list/pullCrmCampaign/fid/{!Campaign.Id}/campaignName/{!URLENCODE(Campaign.Name)}/leadCount/{!Campaign.NumberOfLeads}/contactCount/{!Campaign.NumberOfContacts}?sessionid={!$Api.Session_ID}&serverurl={!$Api.Partner_Server_URL_90}
- Click Save.
Now that you’ve made the button, you need to add it to your lead and contact page layouts. To segment prospects within Salesforce and sync them into a new or existing Pardot list, add the button to your Salesforce campaign object.
- Click Object Manager | Campaign | Page Layouts.
- Click the down arrow next to Campaign Layout, and click Edit.
- In the page layout editor, select Buttons.
- Drag the Add to Pardot List button into the Custom Buttons box inside Campaign Detail.
- Click Save.