Your company blog is one of the most important tools for growing your marketing database. It's also a great way to bring visitors back to your website thereby increasing the chance they will inquire about your products or services. In this week's post I'm going to walk you through how to create a basic blog subscribe form in Pardot and add it to the sidebar of your company blog. For this how-to you should be a Pardot user and have access to the admin area of your website/blog CMS. In this example we will use WordPress as our CMS.
I like to think of marketing initiatives in terms of "I Want..." phrases. They help to define a purpose and a clear goal that we hope to achieve. For this project our "I Want" phrase is going to be:
"I want to capture the email address of subscribers on the side of my company blog"
When we're all done it will look something like this:
Here is what the finished product will look like:
If you haven't already, you will want to create a new Pardot Campaign & Pardot Folder for this project. We assume the campaign and folder names from that blog post are used.
In order to create a fully-custom form in Pardot we need to create a new layout template to reflect the visual look and feel of our form. Don't worry I created this for you all you need to do is copy and paste my code into the appropriate places.
Now we are ready to add the custom template items.
Again, make sure the Include default CSS stylesheet (recommended) checkbox is Unchecked
Click the Create layout template button
The following page will allow us to configure:
Let's get started!
In the Completion Actions section enter the phrase "Thank You For Subscribing" for the Thank You Content. This is what will be shown to your visitors after they fill out the form. I have also created a Completion Action which will add everyone who fills out this form onto a Pardot List called LST - Basic Blog Subscribers. I will use this list as the basis for an email newsletter full of blog posts using FeedOtter.
Alright, we're ready to add our new form to our blog.
Copy the <iframe> code block and get ready to add this to your website. Tip: You may want to change the <iframe> height attribute to 300. That will be more than enough for this form.
I wrote this form to be as flexible as possible but there is no way to predict how it will look 100%. Overall, it should look great with no tweaking.
For this example we are using WordPress as our blog's CMS (content management system) if you use a different CMS you will need to paste your HTML code wherever you modify your blog's sidebar. This form is specifically designed for for a sidebar (right or left) where the width is around 300px so that is where we will put it.
Log-in to your WordPress Admin and navigate the side menu to Appearance > Widgets. Everyone's Widgets area will look slightly different depending on the Theme you are using but you should be able to identify a Widget that corresponds to the sidebar of your blog. On the FeedOtter blog it is conveniently named "Blog Widgets". From the Available Widgets area drag a new Text widget into the sidebar widget area and expand it. This is where you will paste in the HTML content.
That's it! At this point you can head to your blog and see how it turned out.
If your form doesn't show up check to see if your website is using HTTPS. If it is you will need to make a small change to the <iframe> HTML embed code you got from Pardot to make things work. Go back into WordPress > Widgets and edit your iframe code, change http:// to https:// as I did in the screenshot below.
Other problems or ideas? Let me hear your suggestions in the comments below!