Gravity Forms is one of the easiest tools to create advanced forms for your WordPress website and with some customization they can be integrated with Pardot. In this post, I will show you how to integrate Gravity Forms using Pardot Form Handlers.

Step 1: Create your Gravity form

The first step is to create your Gravity form. I won’t be diving into how to set up the Gravity form, but if you’re new to this WordPress plugin take a look at their product documentation to get started.

Step 2: Create your Pardot form handler

In Pardot, navigate to Marketing > Forms > Form Handlers and create a new form handler. Enter a name for the form handler, select your campaign and set your the rest of the settings to the following:

  1. Kiosk/Data Entry Mode: Do not cookie browser as submitted prospect should be UNCHECKED
  2. Enable data forwarding to the success location should be CHECKED
  3. Enable data forwarding to the success location should be CHECKED
  4. Disable Visitor Activity throttling and send auto-responder emails after every submission. Why disable throttling? should be UNCHECKED
  5. SUCCESS LOCATION should be the URL of your thank you page.
  6. ERROR LOCATION should be the referring URL.

Here’s a screenshot of the settings within my form handler.

Step 3: Add your fields

Next step is to add your form fields to your form handler. I recommend only making email address required. The validation for the other required fields will be handled via Gravity Forms.

Here’s what the fields in my form handler look like.

Step 4: Update the settings in your Gravity Form

Navigate to your form within the Gravity Forms plugin and click on Settings > Confirmations > Add New. Give it a name and select the confirmation type as redirect. Copy & paste your form handler URL into the redirect URL box.

Now here comes the tricky part, in order for the data from the Gravity form to sync to Pardot, the fields need to be mapped. Select Pass Field Data Via Query String and a textarea will appear. This is where you will input the field names in your Pardot Form Handler and select the corresponding Gravity form field.

The syntax for this query string looks like this:

pardot-field-name={Gravity Form Field Name}&pardot-field-name={Gravity Form Field Name} etc…

You can find the field names for your Pardot Form Handler, by editing your form handler and scrolling down to Form Fields.

You can find the field names for your Gravity form, by selecting the arrow that appears next to text box within your Gravity form settings.

The last setting you need to update is the conditional logic. I’m not sure why the Gravity form doesn’t give the option to remove the conditional logic completely, but for this part, you can select email is not empty.

Here’s what my settings look like all together.

Step 5: Test, Test, Test

Last but not least, test your Gravity form and make sure the data is going into Pardot.

Questions?

Send me a tweet @jennamolby, leave a comment below, or book a Peer Chat.

Author

I'm a Freelance Marketing Operations Consultant With 15 years of experience in Marketing Operations, I’ve worked with a wide range of tools including Salesforce, Marketing Cloud Account Engagement (Pardot), Marketo, and many other sales and marketing platforms. I help teams optimize their tech stacks, improve processes, and get accurate, actionable reporting. Whether it’s setting up your Marketing Automation Platform, building Salesforce reports, managing lead lifecycles, tracking attribution, or integrating your tech stack, I ensure everything is aligned to drive real results.

49 Comments

  1. Thank you for this article! Is there a way to prevent Gravity Forms from redirecting to the homepage once the form is submitted?

    • Hello Faith,

      you can create a thank you page and add it in the form handler success location. I hope it helps

      Thanks,
      Jamile

  2. Hi Jenna, Thank you so much for this great tutorial. I used this earlier this month and have gotten 100+ submissions and then all of the sudden yesterday the submissions stopped coming through. There was an update for Gravity forms that we did to 2.6.1 yesterday. Just didn’t know if you heard of anyone else having any issues and if there was a work around.

  3. Hi Jenna,
    Thanks so much for this info, it’s super helpful! For my form currently, when someone fills it out on the website, it just reloads the webpage without showing a thank you message like “thank you for subscribing”. Is there a way of setting this up using the form handler so that they can see a thank you message? I already have an automated email as a completion action in Pardot but also want the message to appear on the website. Thanks in advance 🙂

    • Jenna Molby

      Hi Rimsha, You’re welcome! This is a setting you have to enable within the Gravity Form, not the Pardot form handler.

  4. Hi Jenna,

    Thanks for putting together this tutorial! I’m using it currently to connect our gravity forms to Pardot, but I have a quick question. Our contact us form has a spot where you can attach a document. I’m not sure how to add that as a field. Can I just leave it off of the form handler or will that mess something up?

    Thanks!!

    • Jenna Molby

      Hi Stephanie, You’re welcome! Yes, you would just not map that field to the form handler.

  5. I had this same issue, I think the gravity forms plugin updated since this was published. I had to first enable conditional logic under form settings and then set it to “Email is not empty”

Write A Comment