In this tutorial, you will learn how to turn any landing page into a Pardot Layout Template that can be used across all your Pardot marketing campaigns. You can use an existing landing page, a free template, a paid template from a marketplace like ThemeForest, or an existing page on your website.
Step 1: Create a new layout template in Pardot
Create a new layout template in Pardot (Content > Layout Template > Add Layout Template). Give your layout template a descriptive name and add your desired tags.
Step 2: Import Your Own Landing Page
For this tutorial I will be using this landing page as an example, but you can follow along with whatever landing page you want.
There are 2 ways you can import your landing page into Pardot
- Copy & pasting the HTML source code directly into the editor
- Using the Import layout from URL option that Pardot offers
Both ways are pretty similar. Let’s break down the 2 ways.
1. Copy & pasting the HTML source code directly into the editor
You can view the source code of the landing page in Chrome by navigating your landing page > right click > view page source. Copy all the code that is there and paste it into your layout template editor.
2. Using the Import layout from URL option that Pardot offers
Copy your landing page URL, then navigate to your Pardot layout template. Click on import layout from URL and paste in the landing page URL.
Both ways will give you the same result.
Step 3: Upload Your Images and Files
Now that all the landing page HTML is loaded into Pardot, the images and files linked on the page are not imported yet.
There are a couple different types of files that will need to be imported into Pardot
- All images (.jpg, .gif, .png, etc)
- All CSS files (.css)
- All Javascript files (.js)
In my landing page template there are 3 files that I need to download.
Download these files, if you haven’t already, and save them on your computer. Upload them into Pardot under Content > Files > Add File
Replace the URL to the old files in your page template by copy and pasting the URL that Pardot generates when you upload the files
Repeat this process until all your images and files are in Pardot.
Step 4: Create editable Text
The next step is where you choose what content should be editable within the Pardot landing page editor. You can create as many editable sections as you want, but I recommend limiting it so your layout and branding is consistent across all Pardot landing pages. For this example, I’m going to make the main content area editable and the call-to-action title editable as shown below in yellow.
To create an editable section, wrap a DIV around the content like this:
<!-- Start Pardot Editable Section -->
For my example, I’m left with this HTML for my main content section:
<!-- Start Pardot Editable Section -->
INSERT YOUR HEADLINE HERE
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis facilisis elit ex, at condimentum leo varius porttitor. Ut sed malesuada enim. Cras eget tristique diam. Nam eget accumsan sem, eu pulvinar nisl. Donec quis aliquet dolor, quis finibus leo. Fusce commodo enim est, quis porttitor enim molestie vel. Sed quis sapien egestas nulla rutrum accumsan.
- This is an important pointNullam eget sapien fringilla, cursus lectus ac, ullamcorper sapien. Cras dolor nisi, blandit venenatis sapien at, elementum luctus arcu. Pellentesque.
- This is another important pointDonec a diam at quam pellentesque commodo et sed felis. Nulla efficitur erat eu tortor aliquet semper. Vestibulum aliquet sollicitudin dui id cursus metus.
- This is an important pointEtiam cursus consectetur lacinia. Donec vehicula dui quam, sit amet facilisis felis tincidunt in. Sed ac eleifend velit, sit amet rutrum nullam.
<!-- Start Pardot Editable Section -->
And my call-to-action title looks like this
CALL TO ACTION TITLE
Repeat this process for all the sections you want to make editable.
Step 5: Add the Form
If you want to have the ability to add a Pardot form on the page, you will need to add this tag to your page where you want the form to go.
%%content%%
Step 6: Edit the Title
Lastly, replace the title in the HTML of your template to this to dynamically display the name of the landing page in the browser.
XHTML
1 |
Testing
Create a landing page to test your new Pardot layout template by going to Content > Landing Pages > New Landing Page and select the new page template.
If you have setup the Pardot editable regions correctly, you should see a dotted box around everything that is editable.
If you double-click into the editable section to make sure the WYSIWYG editor pops up.
My Final Code
Here’s a peak at my final code after turning my sample landing page into a Pardot layout template.
Toggle navigation
INSERT YOUR HEADLINE HERE
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis facilisis elit ex, at condimentum leo varius porttitor. Ut sed malesuada enim. Cras eget tristique diam. Nam eget accumsan sem, eu pulvinar nisl. Donec quis aliquet dolor, quis finibus leo. Fusce commodo enim est, quis porttitor enim molestie vel. Sed quis sapien egestas nulla rutrum accumsan.
- This is an important pointNullam eget sapien fringilla, cursus lectus ac, ullamcorper sapien. Cras dolor nisi, blandit venenatis sapien at, elementum luctus arcu. Pellentesque.
- This is another important pointDonec a diam at quam pellentesque commodo et sed felis. Nulla efficitur erat eu tortor aliquet semper. Vestibulum aliquet sollicitudin dui id cursus metus.
- This is an important pointEtiam cursus consectetur lacinia. Donec vehicula dui quam, sit amet facilisis felis tincidunt in. Sed ac eleifend velit, sit amet rutrum nullam.
CALL TO ACTION TITLE
%%content%%
© Insert your copyright and other footer text here.
Privacy Policy Other Link Other Link
<!-- Load jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js">
</script>
<!-- Load Bootstrap-->
<script crossorigin="anonymous" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js">
</script>