Pardot Email Preference Center

by | Feb 25, 2022 | Email marketing, Pardot (MCAE)

Date last updated:

Using the Pardot email preference center (EPC)

The Pardot email preference center—a page where prospects can add or remove themselves to email lists—is a fundamental aspect of all email templates. Every Pardot account comes with a default email preference page that is ready for use. It’s good practice to give prospects access to every list they can subscribe to. In order for a list to appear on the email preference page, it must be a public list.
Dynamic and static lists can be public lists; test lists cannot be public.

Public list in Pardot

Pardot email preference center links are populated via Handlebars Merge Language (HML) or, for older versions, Pardot Merge Language (PML). HML is on by default for all new Pardot Lightning accounts. Chances are you’re already using HML. Pardot frequently reminds users who’ve not yet upgraded by chronically dangling a large banner at the top of their screen, visible each time users log in.

Am I using Pardot HML or PML?

Pardot variable tags are easy to identify as they enclose the fields in %%. For example, the variable tag for a prospect’s first name looks like this with variable tags (PML) %%first_name%%. With HML the % has been replaced with braces { and looks like this {{Recipient.FirstName}}. 

The syntax consists of two open curly braces, followed by the object name, a period, the field name, and two closing curly braces. HML is essentially using Salesforce’s variable tags for one, cohesive merge language. The email preference looked like this with Pardot variable tags %%email_preference_center%%. With the HML makeover, it looks like this {{EmailPreferenceCenter}}.

See related article: Understanding Pardot HML

EPC in Classic and Lightning email

EPC inside anchor tags

If you’re using one of Pardot’s email template layouts, the email preference center appears as a hyperlink, with the text ‘update subscription preferences’.

EPC text hyperlink

Here is the html for the above template.

HTML email preference center

Two vs three braces for Pardot HML

If you’re simply inserting it into your email template, you’ll notice your merge field is flanked by three braces {{{EmailPreferenceCenter}}} and not two. According to Salesforce, HML uses two curly braces to render HTML-escaped data. Two braces are standard for most merge fields. But what if your object contains special characters, such as an ampersand or accent? To preserve the field and avoid it being modified, put a third curly brace around your merge field to keep it in raw format, such as {{{Recipient.FirstName}}}. As we mentioned earlier, Pardot appears to be defaulting to three braces on many of its merge fields, such as email preference center, presumably to help retain data integrity. 

 What won’t work is inserting the actual URL of your email preference center into the anchor tag. The details of your email preference page can be found in the left-hand menu under Pardot email. All Pardot accounts come with a default email preference page. The URL for the page consists of a long string of numbers and letters. You can create a vanity URL if you’d like to shorten this up so that anyone who does decide to visit this page is met with a more appealing web address. 

Creating an email preference center

If you insert the actual URL into the anchor tag, instead of the merge field, you’ll get an error message and won’t be able to save the template or email.

EPC error message

EPC merge field not in anchor tags

Inserting the EPC merge field directly into your email template is straight forward in Pardot Classic. 

Pardot Classic and Pardot Lightning both have a button for inserting merge fields.

Merge fields button Pardot

Note: If inserting merge fields directly in the body of your email, remember to leave one space on either side of the tag. For example:

Update here{{{EmailPreferenceCenter}}} will not save.

Update here {{{EmailPreferenceCenter}}} will save because there is a space on either side of the tag or merge field. 

With Pardot Lightning, when the EPC and unsubscribe merge fields are inserted directly into the body of your email, they sometimes do not render properly and prospects see the long, messy URL of their email preference center. We say sometimes because it doesn’t seem to happen on all instances of Pardot and the only way to tell is to send yourself an actual email, as merge fields do not render for test emails. If the merge field is not rendering properly, you’ll need to insert it into the anchor tags (see above).

TL;DR recap

Pardot requires all emails to have either an email preference center or unsubscribe tag. Both are not needed. Email preference center is always preferred—it gives prospects an opportunity to review all public lists and potentially select a list that better suits their interests or needs.

The email preference center merge field can be inserted directly into the body of an email template; there must be a space on either side of the tag. Email preference center merge fields can also be inserted into the anchor tag.

Pardot HML fields use two curly braces to render HTML-escaped data. To keep the value from being escaped use a third curly brace.

If you’re simply inserting it into your email template, you’ll notice your merge field is flanked by three braces {{{EmailPreferenceCenter}}}.


About the Pardot rename

In April 2022, Salesforce announced the rebrand of Pardot to Marketing Cloud Account Engagement. While the rebrand unfolds and the world adapts to the new nomenclature, we'll keep the Pardot name in our blog posts.

Author | Jeff Kemp

Founder and Principal Consultant

I'm a Salesforce Certified Pardot Consultant and Marketing Automation Expert and I particularly enjoy helping companies set up effective lead management systems using best practices and proven methodologies. I also love dogs :0)

My growing team and I at Optimal Business Consulting (OBC) help organizations to implement, optimize, and maintain their existing or new Pardot or Hubspot platform. OBC is proud to be a Salesforce and Hubspot Partner.

Follow/Connect with Jeff on LinkedIn
Follow and connect with Jeff on LinkedIn

Related articles…