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:
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.
In Pardot, navigate to Landing Pages > Layout Templates
Click the Add Layout Template button
Name your new template LTMP -Basic Blog Sidebar Form I like to add LTMP to the beginning of my items so I always know that its a layout template. Adding “Basic” into the name will set you up for a forthcoming how-to on a more advanced form with subscription preferences built in.
Select your Blog Subscribers folder
Uncheck Include default CSS stylesheet (recommended)
Don’t click the button yet, we need to copy & paste in the blog subscriber sidebar form html
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
Task 2 – Create a new Pardot Form
In Pardot, navigate to Marketing > Forms > New Form
Name your form FRM – Basic Blog Sidebar Form
Fill out the remaining fields as seen in my screenshot below:
The following page will allow us to configure:
What fields we collect from a sign-up (email)
Text we show at the top of our form
What the visitor sees when they successfully submit
Completion Actions that we want to associate
Let’s get started!
In the Fields section, remove all fields until Email is the only one left.
In the Look and Feed section:
Select the Layout Template we just created LTMP – Basic Blog Sidebar Form
Enter the Submit Button Text “SUBSCRIBE”
Enter the following text in the Above Form box
“DON’T MISS A POST” – from the Format dropdown make this phrase Heading 3
“Subscribe to receive an email when we publish new content.” – from the Format dropdown make this phrase Normal
Should look like the image below:
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.
Review the all settings and click the Confirm & Save button
Alright, we’re ready to add our new form to our blog.
From the Form saved successfully page click the dropdown in the upper-right and select View HTML code
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.
Part 2. Embed the blog subscriber form on your company blog
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.
For WordPress Users:
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.
Click the Save button
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!
https://www.feedotter.com/wp-content/uploads/2016/11/mixpanel-blog-subscriber.png6691000Andy Martinhttps://www.feedotter.com/wp-content/uploads/2018/09/200w-feedotter_LOGO-negative.pngAndy Martin2016-11-12 12:00:192016-11-12 12:00:19How to Add a Blog Subscription Form To Your Company Blog