Salesforce · 2 min read · Updated

View in the browser of an email is directing people to the wrong links – Pardot

Email Pardot

One of our clients requested us to check why their “View in the browser” link is not directing to the wrong links in the email of the Pardot. They told us that recently a member of their team sent out an email that works perfectly, however when you “view in browser” via the “click here” link at the top of the email the images stop directing people to the correct pages and default to their domain home page. The actual text links still work fine just the image links for them were not working.

Solutions

When we checked their email HTML we saw that their “View in the browser” is not linked correctly. They have appended the https:// with {{View_Online}}. It was like <strong>&lt;a href=”https://{{View_Online}}” target=”_blank”></strong>. So, make sure that while using the merge tag of view_online or adding code there are no extra codes for the href link. It should be something like the below:

<a href="{{View_Online}}" target="_blank">View in the browser</a>

In this way, we helped solve their view in the browser issue of the Pardot. Please let us know if you have any issues with Pardot email or Pardot landing pages or any kind of Pardot projects, you can email us at webocreation.com@gmail.com. Hope you liked this tutorial, please subscribe to our YouTube Channel and read more about Salesforce, Pardot, Marketo, and Hubspot. You can also find us on Twitter and Facebook.

Filed underSalesforceTools
Tagged
Rupak Nepali
Written byRupak Nepali

Rupak Nepali is a web developer, manage Webocreation website and the author of six books:
Getting Started with OpenCart Module Development (Packt, 2013),
OpenCart Theme and Module Development (Packt, 2015),
OpenCart 4: Dev Guide for Themes & Extensions (2024),
OpenCart 4: User Manual (2025),
Cloudflare for the Enterprise Website (2026) and
The Technical Web Guide for Marketers (2026).
Rupak has built OpenCart stores and extensions since 2010, has published more than 600 tutorials on Webocreation, and shares free OpenCart extensions on GitHub.
Find Rupak on
GitHub | Amazon | LinkedIn | X | YouTube.

Leave a Reply

Your email address will not be published. Required fields are marked *