Email preference center and unsubscribe tags in Pardot Email Builder in Salesforce require additional whitespace to pass validation
Trailblazer Community

Email preference center and unsubscribe tags in Pardot Email Builder in Salesforce require additional whitespace to pass validation

Pardot

Last updated Today ·Reference W-9877493 ·Reported By 43 users

In Review

Summary
In putting just {{{Unsubscribe}}} or {{{EmailPreferenceCenter}}} into a hyperlink when editing in the Pardot Email Builder may result in a validation error when trying to send that email.

Repro
Type {{{Unsubscribe}}} or {{{EmailPreferenceCenter}}} into the hyperlink URL field when inserting a hyperlink.

Workaround
Manually add whitespace in front and after the tags to avoid the validation error.

The resulting HTML code would look like this:
<a href=" {{{EmailPreferenceCenter}}} ">

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.