Category

New Features

In only a few weeks, Salesforce is moving all Pardot users to single sign-on (SSO) and all API integrations must use Salesforce OAuth.

If you’re adjusting the Pardot plugin on your WordPress website to get ready for these changes and, despite following the steps in our first blog, are hitting authentication errors, this blog may help.

In this post, we’re going to cover how to resolve common errors that may come up as you authenticate the Pardot Plugin in WordPress and the final step to authenticate user account settings for SSO.

1. Callback URL Error

After entering the Consumer Key, Consumer Secret and Business Unit, it’s time to click the “Authenticate with Salesforce” button. When doing so, if the button pulls up the following error on a new white page window, you likely have a problem with your connected app’s callback URL.

error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration

In order to fix this error, edit your connected app’s callback URL to be the URL of the Pardot plugin’s settings page. For example, the callback URL should be something similar to the following URL.

https://yourdomain.com/wp-admin/options-general.php?page=pardot

2. Generic OAuth Error

If your previous errors change to the following OAuth Error, don’t fret, we have you covered. This error can be caused by the OAuth scopes field on your connected app.

Edit the app once more and add both the “Provide access to your data via the Web (web)” and “Perform requests on your behalf at any time (refresh_token, offline_access)” options in addition to your Pardot API option that should have been added from the first blog.

3. Authenticate your user account settings for SSO (without errors)

All that’s left to do now is to turn that ugly red text into beautiful green affirmation. Click “authenticate with salesforce” and use your Salesforce login credentials (with 2FA if enabled) to complete your SSO setup.

Get ready for the SSO user updates coming in February

Hopefully, by following the steps above, you feel more prepared for the API and single sign-on updates coming up soon. What are other questions you have about the coming changes? And what have you done to prepare? Let us know in the comments.  

Back in June, Salesforce announced that the way we work with the Pardot API will be changing and that, beginning in early 2021, all Pardot users will be required to use Salesforce single sign-on. In preparation for this change, some services have started rolling out their updates, but how do you as a Pardot admin actually get ready? 

This blog post will provide step-by-step instructions on how to prepare, where to gather all the critical information you need, and a quick guide on testing that you are prepared for these changes.

IMPORTANT: There are a bunch of different ways to set up a Connected App, and the integration you will be working with MAY require different steps. This blog is specifically written to enable success within the steps of this blog and may differ from the steps to enable your own integration. Be sure to check out Part 3a: JWT with APEX and Part 3b: JWT with Custom Code.

Before we dive in, there is something you might need to consider: You have the option of having a single Salesforce User with multiple Connected Apps (one for each integration).You also have the option of a single Connected App with multiple Salesforce Users (one for each integration) as well as any combination of the two options.

Our recommendation is to have a single Connected App and multiple Salesforce Users (with CRM identity licenses from the bundle provided by Pardot). This option creates a direct connection between the Pardot user and the app and allows Pardot admins to easily identify which API connection made changes to Pardot if an issue ever arises. 

If you don’t have the available license count to make this work, try to segment your integrations into something that makes sense. Just make sure that the combination of Connected App and User is different for each integration (especially if 3rd party).

Ok, let’s dive in. Here are the steps to set up Pardot users with Salesforce single sign-on. 

Step 1: Set up a Salesforce User

  1. In Salesforce Setup, search for Users and click New User
    Salesforce user
  2. For this user, try to keep it integration specific. If you have 5 integrations, plan to create 5 users. Use a unique username which indicates the purpose of this integration, and be sure to select the Identity User License. (If you pick another license by mistake, you can’t downgrade the license to Identity, so be careful!)
    Salesforce user

  3. Save the new user, and then activate the account from the email that Salesforce sent out (I usually do this in a new Private Browser / Incognito Mode).
  4. As part of activating the account, pick a new, very strong password.
  5. Now that you are in, you will need to generate a security token. Click on your user at the top right, and then go to My Settings.
    reset security token

  6. Go to Reset My Security Token, then click the button.
    reset token
  7. You should get a token in your email. Keep this, you will need it later. You can now close your private/incognito browser, as the rest of the steps will be done with your main accounts.

Step 2: Setup Pardot User

Now that our Salesforce User has been set up, we need to create a Pardot User that it will be synced with.

  1. In Salesforce, launch the Pardot app, go to Pardot Settings, Users and Add User
    launch Pardot app
  2. Provide the name and email address you used for the Salesforce User
    create user
  3. Optional, but recommended: note the time zone, or maybe adjust it to match the time zone that the Integration is running in. If these don’t match, you might get some really weird results later when you use the API because of the differences in day boundaries if you use datetime based queries.
  4. Pick the CRM Username that you just created in Salesforce (you will likely need to refresh the list of users). Also, pick the Role. Sales Manager will give you access to Prospect data, and not much for Pardot assets, Marketing will likely give you what most Pardot API integrations need for access, but if you need to create custom fields, you will need to grant the Admin role. Custom roles for API access control is also supported and recommended if you have access to them.
    crm username


  5. Optional, but recommended: Disable all emails that will be sent to the integration user’s mailbox.
  6. Click Create User
  7. Click the Enable Salesforce single sign-on link to complete this process.
    enable single sign-on

Step 3: Create Salesforce Connected App

If you have been following along, you will note that almost all the previous steps were pretty standard for any SSO user, and you are right! Besides the Security Token this stuff is pretty straightforward.

The next bit is where the Pardot Authentication docs don’t really give much guidance, but we got ya.

  1. In Salesforce Setup, go to App Manager, click New Connected App
  2. Fill in the Basic information, Enable OAuth Settings, specify the Callback URL and select the Access Pardot services OAuth Scope. Some integrations may ask you to include the Perform requests on your behalf at any time, so you may need to include that one as well.
  3. You do not need to put anything in for the other sections (Web App Settings, Custom Connected App Handler, Mobile App Settings, Canvas App Settings). Click Save
  4. You may get a prompt to wait for a while before using this app. Click Continue
  5. Once saved, you should be looking at the details of the App you just created. Be sure to copy the Consumer Key and the Consumer Secret, as you will need it later.

Step 4: Get the Pardot Business Unit

One last piece of information needed, the Pardot Business Unit Id that you will be using the API with. You need to do this step even if you are not using the “Multiple Business Units” feature. The steps are the same for a single Pardot account, just follow along.

  1. Switch back to Lightning Experience, launch Setup
  2. Search for Pardot Setup Home, click Assign Admin to get to the list of Business Units
    assign admin
  3. Grab your Business Unit ID.
    business unit ID

Step 5: Testing it all

Ok great, now that we have all the information, let’s test it out. Our favorite tool for testing APIs is Postman, and we have created a Postman Collection for Pardot that should help you get started.

  1. Install Postman and Import our collection.
  2. Click the Environment Setup button so that you can provide the information we built in all the previous steps.
    Environment Setup
  3. Click Pardot API – Salesforce SSO to configure that environment
    Pardot API
  4. Provide all the relevant information, click the Reset All link, then scroll down to click Update
     Manage environments
    Update
    1. If you are using the Pardot feature “Allow Multiple Prospects with Same Email Address” you need to specify api_version 4.
    2. If you are using a demo instance of Pardot, you need to change the pardot_domain to pi.demo.pardot.com
    3. If you prefer / need XML as output instead of JSON, replace the value for output_format to “xml”
  5. Close out of Manage Environments, then make sure that Postman is using it
    close
  6. In the Pardot API – Salesforce SSO collection, expand Getting Started and click the Login Request. Click Send.
    Click Send
  7. Optional: Check out the Body of the request to see how the information is being passed to Salesforce to complete the login request. Note how the Password is actually a concatenation of the Salesforce Password with the Salesforce Security Token
    Salesforce Security Token
  8. With a successful login, you should get a response that has an Access Token. This is 1 of the 2 pieces that Pardot needs.
    Successful login
  9. Now that you have an access token, you can start experimenting with other Pardot API requests. If you check out the other requests in the Getting Started section, you can start to see how things are tied together. Note the Headers for any of the requests, they all have the Authorization and Pardot-Business-Unit-Id headers.
    headers

Getting Ready for Salesforce Winter ‘21 Release

Hopefully, by following the steps above, you feel more prepared for the API and single sign-on updates coming early next year. What are you doing to prepare for upcoming Pardot and Salesforce releases? Let us know in the comments.  Want some help getting ahead of the curve? Give us a shout and we’ll hook you up.

As part of the Salesforce Summer ’20 release, Pardot announced support for first-party cookies in an open beta.

Some Pardot users’ reaction to the news:

YAY!

The rest of Pardot users’ reactions:

Wait, what is this and do I care?

If you’re among the latter group… read on to learn what this is, why it matters, and how to enable it if you’re interested in joining the beta.

A browser cookie is a small bit of text that a website leaves with the browser so the website can ‘remember’ who you are. It’s kinda like when you give a valet your keys — they attach a number to your keys, keep them, and then they hand you the slip with the same number.  

When you come visit this website, Pardot sets a tracking cookie. The current embed code is using ‘go.pardot.com,’ so the tracking cookie is attached to the Pardot domain. From the point of view of our website, it’s a third party cookie, because it’s a Pardot branded cookie.

Continuing with the analogy — it’s like the valet is wearing a Pardot shirt. We’re asked them to hand out numbers to website visitors, but we’re not from the same company.

This is how it’s always been, but with the introduction of first-party cookies in Pardot, we can do this a different way. Instead, we can use our own domain for setting the Pardot tracking cookie and generate First-Party tracking cookies. It’s as if the valet is now wearing a shirt with our brand on it.

Why do first-party cookies matter?

In a word? Trust.

Right now both Firefox and Safari don’t ‘trust’ third-party cookies. We don’t get prospect tracking if prospects are using these browsers. In the future, Chrome will no longer support third party cookies.  

Switching from third party to first party cookie tracking improves the security of the internet. It’s a huge shift — but browsers are making this difficult transition happen, and marketers need to keep pace.

Who is eligible for the beta?

All Pardot instances. This is an OPEN BETA which means you can opt yourself in.

Beta features are called that because they may not be perfect yet. There is a risk that things go horribly wrong (okay horribly may be hyperbole, but you get the idea.)

If it’s difficult for you to make changes to your website quickly, maybe skip the beta or at least don’t participate early. 

Not all features of Pardot may be supported in a beta, for example, Help & Training states that iframed forms will not be tracked during the beta under First Party Cookies in some circumstances.

What do I need to do to sign up for the beta?

You can self-service enable this in your own account. Here’s the step-by-step:

1. Enable first-party tracking beta in account settings

In Pardot, go to your Account Settings, and click Edit.

Near the bottom of the first section you will find a checkbox for First-Party Tracking (BETA). Enable the checkbox. 

When you check the box, a couple new options will appear. For now, leave the Enable third-party cookies checked, as we don’t want to break anything already deployed.

Scroll down a bit more, and click Save Account.

2. Update or create existing tracker domains

Next, go to Admin > Domain Management.

Look for the tracker domain you want to use First-Party tracking with, then click on the domain. In our example, we are going to turn it on for tracker-example.sercante.com.  

Note: First-Party Tracking will only work if the subdomain of the website in Pardot matches the domain of website you’re embedding the tracking on.

Example: for the subdomain www.sercante.com the domain is sercante.com, and for the subdomain tracker-example.sercante.com the domain also is sercante.com. The 2 match, so First-Party Tracking works.

Click the gear icon to edit.

If you don’t already have a Default Campaign, choose one now.

Click Update Tracker Domain.

3. Put the first-party tracking code on your website

Ok great, now you have your Tracker Domain setup! It is time to get the tracking code that you will put on the website.

In Pardot, go back to your list of tracker domains. Scroll down to the bottom and there is a section for Tracking Code Generator.

Pick the tracker domain you want to generate code for, and optionally, change the campaign. Paste this code in your website CMS, Google Tag Manager, or wherever you currently have your Pardot tracking code placed.

What does this new tracking code do?

You may notice that this code looks slightly different than what you currently have on your website. What this code (Javascript) does is sets up 3 key pieces of information and then tries to load the actual Pardot tracking code.

piAId = your Pardot Account ID. This will not change for any tracking code used for this Pardot Business Unit / Instance

piCId = an optional override of the Campaign Id used for tracking the source campaign for new conversions

piHostname = the tracker domain that is used later in the script to download the real tracking code.

This is essentially what Pardot needs to track visitor activity on your specific website, linked back to your specific Pardot account.

Are there any gotchas with first-party cookies in Pardot?

If you have multiple domains, be aware that with first party cookie tracking, converting a prospect on one of your sites will no longer track prospect activity on your other website(s) automatically.

For example: the cookies at Sercante.com will no longer trace user activity at TheSpotForPardot.com. Both can have first party cookies embedded, but visitor association would need to take place on both sites to track prospects across both.

Wait, is this a good thing or a bad thing?

Both. And neither?

The move toward first party cookies poses new challenges for marketers, but is a win for data privacy and for us as individuals. While this is an optional change now, many browsers are starting to block third party cookies altogether or have announced timelines when they’ll start doing so — so better to get ahead of this now.

Firefox and Safari already block third party cookies. If you have a larger Safari/Firefox user base, this is exactly the magic we have been waiting for.

Chrome is not far behind. They delayed their timeline for rollout as a repreive for marketers during COVID-19, but are planning to gradually phase third part cookies out altogether.

Have you enabled it, and have a story to share? Thinking about enabling it, and still have more questions?

Let us know in the comments!

Whether you’re new to account based marketing or your strategy centers on ABM, you’re going to want to check out the Terminus + Pardot integration.

Terminus’ recent blog post outlines some of the new tools, which promise to help marketers drive an account-centric strategy with the benefit of shared data, improved analytics, advanced reporting, and lead-to-account mapping capabilities. 

Major benefits of the Pardot and Terminus integration

In a nutshell, here are the major benefits the integration provides: 

Bi-directional data sync

Build better segments for targeted advertising in Terminus based on Pardot data, or activate drip marketing campaigns in Pardot at precisely the right time with account engagement data from Terminus. Alert sales and customer success in real-time about important or at-risk accounts or opportunities

Improved analytics

Observe account-based engagement simultaneously with Pardot marketing activities, understand the impact of email marketing campaigns on revenue

Sales and customer success intelligence

Help outbound teams prioritize outreach to the most engaged and best-fit target accounts, and provide timely alerts about at-risk accounts coming up for renewal 

Lead-to-account matching and data hygiene

Improve Salesforce data hygiene by mapping all orphaned leads to the appropriate account, build customized marketing programs around the entire buying group within an account, uncover missing decision-makers within a target account 

Because ABM is all about putting accounts front and center across Sales and Marketing, this integration is great for marketers looking to combine account data from Terminus with prospect records in Pardot 

How Pardot admins can put the Terminus integration to work for them

If you’re already using Pardot and Terminus, this is a happy day for you! Your two tools can now talk to each other and you can start combining campaigns that span across Terminus ABM ads and Pardot marketing and nurture programs. Read on to explore some interesting use cases.  

If you’re not using Terminus, but you’re a Pardot admin with an ABM strategy, this could be a great time to expand your tech stack while keeping your ABM efforts nice and organized within Pardot, making sure you get credit for all your hard-earned marketing wins.  

10 examples of the Pardot + Terminus integration in action

Once you’re up to speed on the integration and your ABM strategy is ready to rock, here are some use cases for how you can take Terminus fields and reports and make them actionable in Pardot : 

1. Segment your data in Pardot using Terminus Account Segments and intelligence data 

Segmenting your Pardot database through dynamic lists is a key Pardot feature. With the Terminus integration, you can now create custom fields in Pardot that map to Terminus account fields. From there, you can build dynamic lists and automations based on Terminus data and how you want to segment your lists. 

Here are some examples…

Access Terminus account lists in Pardot segments:

You can also access Terminus behavioral signal in Pardot segments: 

There are LOTS of possible applications of having this data avaliable in Pardot. Additional Terminus fields available in Pardot include: 

2. Engage entire buying teams easily from within Pardot Engagement Studio

Building off of point #1, once you’ve segmented your lists using Terminus account data, you can then use those lists to fuel Engagement Studio to lead prospects down a funnel in Pardot.

Support an ABM strategy using Terminus account data to guide your sales cycle and nurture strategy, keeping the messaging and steps focused on guiding your target accounts to the next stage. 

3. Use Pardot program logic with Terminus data to drive customer-facing workflows 

Taking Pardot’s Engagement Studio to the next level, Terminus helps create complex workflows that guide prospects down a path based on various account scores gathered by Terminus. 

In this example, target renewal accounts run through different paths based on whether they’re at risk or happy. The ESP attempts to improve account relationships by creating Salesforce tasks, adding prospects to Salesforce campaigns and making the Terminus relationship status visible in Salesforce. 

4. Pardot + Terminus ABM reporting and dashboards in Salesforce 

Being able to identify an account’s level of engagement or whether they’re at risk is incredibly important when personalizing messaging and prioritizing Sales efforts. By combining Pardot engagement metrics with Terminus account data, marketers and sales teams can focus their efforts more efficiently. 

Here are some examples of Terminus dashboards that could be used to inform and alert sales based on which accounts are engaging with marketing. 

5. Build on scoring categories for target accounts 

One specific report you could build in Salesforce using Pardot and Terminus data is to combine Terminus spiking accounts with Pardot scoring category data using a joint report. This view will allow you to see what marketing content is resonating with your highest potential accounts. 

(More to come on this use case in a future blog post.)

6. Temporarily bump Pardot grade up when an account is spiking

Pardot grading is great for highlighting prospects on an account for possible escalation to the Sales Team via Tasks when they do something “interesting.”

In this example, you’ll create an Automation Rule that looks to see if an account has spiked in the last 7 days and is considered an ABM New Target Account. If it matches those criteria, then change the grading profile criteria.  

And when the Account isn’t spiking, you’ll want to put that temporary scoring bump back down. Notice: you can set the rule to identify when the prospect is no longer in the ABM New Target Account profile OR that the most recent spike has ended.

This trick allows you to use Pardot grades to keep Sales focused on accounts that are most active and highest potential in a given moment. 

7. Automations to flag prospects and keep your data clean and up to date

Moving your ABM strategy into Pardot can help you develop creative strategies and automations to keep your database clean and focused on the highest potential accounts. Based on your target account list, you can filter Pardot prospects into lists, add to campaigns, assign to queue, change prospect custom field value, apply tags, and more. 

8. Use Dynamic Content to tailor messaging for target accounts 

As you pull in Terminus field values like behavioral score and spiking accounts, you can use that data to personalize content through Pardot features like Dynamic Content. 

For example, maybe you send an email promoting a new feature, but want your top target accounts to feel a little extra love. Use Dynamic Content to serve spiking accounts a promotion or exclusive offer that the rest of the email recipients don’t see. 

9. Use data to improve marketing performance 

Take the guess work out of where to focus your efforts in Pardot by measuring engagement at the account and campaign level. By building campaign influence reports that allow you to see which marketing activities are driving pipeline and revenue, you can you use the data to: 

  • See which content is driving results
  • Allocate budget to the channels that fill your funnel
  • Work seamlessly with Pardot Programs and Email
  • Measure revenue results of every Pardot interaction not just on the records synced to Salesforce

10. Read inferred account data on Salesforce leads from within Pardot 

Terminus writes inferred account data on leads allowing sales and marketing teams to operate with total account-centricity from Sales Cloud and Pardot.  

Now, with the Pardot integration, you can sync this lead-to-account data into Pardot so even your leads can be account-centric! 

Tighten your sales and marketing alignment by running an ABM strategy through Pardot 

Many companies are adjusting their sales and marketing strategies to be more account-centric. This integration between Terminus and Pardot will make that shift easier and more effective as marketers are given the tools to support sales’ efforts to reach and engage a set of target accounts. 

What are some creative ways you’ve targeted, engaged, and measured target accounts through an ABM strategy? Let us know in the comments. 

Pardot users were greeted this morning with a new announcement banner on their home screen when logged into Pardot:

This banner linked them to a help & training article outlining the details of Pardot-Only Login Retirement. The knee jerk reaction for some was fear — does this mean license costs are going up? What do I need to update right now?

Let’s break this down and talk about what these changes really mean. (more…)

As one of the chief “Pardot API Geeks” at Sercante (no, it’s not a real title, but I think it should be), I’m really excited about two big changes to the Pardot API — one of which was confirmed on this Pardot Product Roadmap webinar.

Wait, you don’t know what you can do with the Pardot API? Then you must’ve missed this post. I’ll forgive you if you open it a new tab and read it later.

What’s new with the Pardot API

These two new methods open up new capabilities for large and small Pardot users alike. The great thing about them both is — GEEK TERM ALERT — they are asynchronous, which means we can start processing a job and let it work while the code goes on to do other things. This is really great because the computer doesn’t have to wait and do nothing else while large amounts of data are being processed. We can parallel process and REALLY get a lot done without wasting processing power.

The first Pardot API change is Prospect Import.

We saw the Prospect Import at the 2019 Pardot Developer Experience Dreamforce session I was proud to co-host with Mike Fazio. Documentation can be found here for v4 or v3. As for what it does…Think about how you might import thousands of Prospects into Pardot today. Then throw that out and imagine it happens in the background, automatically, with as many fields as you want mapping over. Every day. Without you having to touch it.

If you have an Enterprise Data Warehouse or some other external source where you are getting records from (HINT HINT a little operation called “Salesforce” fits that description as well) and you want to be able to have the computer send large numbers of Prospects into Pardot without needing a person to manually do the import, this is the feature for you.

So again, powerful stuff on its own, but let’s take it to the next level. Imagine these possibilities:

  • On a regular basis, you could use code to clean up junk and normalize picklist field values – turn those “United States” or “U.S.” into US – all without touching Excel.
  • You could use code to add some data from a vendor by API before sending the data into Pardot.
  • And you could used code to fix every marketer’s Achilles Heel – those ALL CAP NAMES or all lower case names that show up randomly and without reason.

So much activity, so little time to analyze

Now, the second API change will be a huge time saver as well. It involves Visitor Activity Export.

This will allow us to export ALL visitor activities a whole year at a time.

On the surface, you might wonder what you’d do with a year’s worth of data about how all your Prospects have been engaging with you. Think about…

  • Exporting it all into a BI tool to get all the bar, pie, and line charts you’d ever want
  • Export into a Analytics tool
  • Export into a Enterprise Data Warehouse which can interface with your BI/analytics tool on a regular basis to give you tasty marketing activity dashboards
  • Summarize into a spreadsheet (We do this with some of our Audits)
  • Export into your own database so you can do SQL queries for ad-hoc reporting (if that’s your sort of thing)

So yeah, COOL STUFF.

According to the docs v4 and v3, the only filtering currently available is date. So if we want to grab just a certain type of activity, such as email opens, we are going to have to pull down the entire data-set and then do our own filtering for email opens. This may mean that what we currently have available to us won’t work with your destination BI or analytics tool if it can’t filter for you.

Now, a quick pause to elucidate via true geek-speak for those who want the In the Weeds version:

The new methods don’t appear to be included in many wrapper libraries yet, but we are working on getting these added to a few. One thing to note is that they no longer use just GET/POST variables but rather a ContentType: application/json and a body with the JSON string. Thus you may need to make some adjustments to your code if you plan on using these new methods.

A bright future ahead for the Pardot API

Looking at how the documentation is structured for these changes, we are optimistic! We think we’re seeing a new pattern for Bulk API calls and can likely expect additional Pardot record types to be built to follow these two new patterns. That means we’ll be able to surface even more Pardot data in our external tools of choice, and therefore marketers can show the business how Marketing is really bringing in more leads and revenue.

What’s your Pardot data challenge?

Like I said, Sercante (heart emoji) the Pardot API. If you’re seeing data quality challenges on a regular basis that you’re spending a lot of time on manually correcting, let us know in the comments! We may be able to save you some major time through the magical API world.

No more posts to show