Add A Pardot Form to WordPress

Add A Pardot Form to WordPress

There are many ways to include a Pardot form on your WordPress website. You can use a plugin, write custom code, or integrate it using a 3rd party tool. Here are five methods that I’ve used and tested, along with a detailed breakdown of how each method works.

1. Add the embed code directly in WordPress

The first option to embed Pardot forms on your WordPress site is to simply copy the HTML embed code Pardot provides you with and paste it into a page or post. This is definitely one of the easier methods, however, if you often toggle between the visual and text (HTML) editor within WordPress, I’ve found sometimes it strips out code. If you use this method just make sure you test your form if you make any updates to your page or post.

2. Install the Pardot WordPress plugin

Another option is to install and configure the Pardot WordPress plugin. The plugin securely connects your Pardot instance with your WordPress installation. You will be able to track visitors, embed forms and dynamic content without touching a singe line of code.

How it works

Install the plugin and connect your Pardot account

Install the Pardot WordPress Plugin and activate it within WordPress. This will create a new menu item under Settings > Pardot

Enter in your Pardot credentials along with your user key and save the settings.

Add forms to your pages, posts, and widgets

Once the plugin is configured you will be able to use short codes to insert Pardot forms within posts, pages and widgets. Short codes can be generated by clicking on the Pardot icon within the WYSIWYG editor or by following their short code syntax located in the FAQ section of this page