Pardot Knowledge Base

Adding a Favicon to Landing Pages

Last Updated: Apr 26, 2016 | Print this Article
 
Favicons are small icons that appear on browser tabs. You can easily add a favicon to your Pardot landing pages by following the steps below.

To Add Favicon to Landing Pages Using Layout Templates

  1. Upload a favicon file into Pardot. It should be a .png or .ico file. Copy the file's link.
  2. Create or edit the layout template you want to add a favicon to.
  3. In the Layout tab, add the this code in the <head> section: <link rel="shortcut icon" type="image/png" href="YOUR_FILE_URL">
  4. Replace YOUR_FILE_URL with the link to your favicon file.
  5. Save your layout template. Landing pages using the layout template will have your custom favicon.

The <head> section of your layout template will look something like this: adding favicon to layout template

To Add Favicon to Landing Pages Using Stock Templates

If you are working with landing pages created with Stock Templates, you can place favicon code in the Scripts section.

  1. Upload a favicon file into Pardot. It should be a .png or .ico file. Copy the file's link.
  2. Create or edit the landing page you want to add a favicon to.
  3. Click page options.
  4. Next to Scripts, click edit.
  5. In the Scripts box, add the this code: <link rel="shortcut icon" type="image/png" href="YOUR_FILE_URL">
  6. Replace YOUR_FILE_URL with the link to your favicon file.
  7. Click Done to close the Scripts box, then Click DONE to close page options. Your landing page will use your custom favicon.
This video walks through adding a favicon to landing pages that are built with stock templates. Click to expand the video.



Note: Since this is not a standard location for this HTML (the code added to the scripts section gets loaded at the bottom of the landing page), this may not work in all browsers. Because you cannot directly access the raw HTML of a stock landing page, this is the only place you can include this code in stock templates.

Need more? Start a conversation with other Pardot users in our Success Community