It’s a fact that shorter forms have a higher conversion rate, but in B2B marketing longer forms are needed to capture essential information for lead scoring and lead routing. In this tutorial, I will show you how to use the Google Places API to auto-fill city, state/province, country and postal code/zip code within your Pardot forms. Don’t worry, you don’t need to know how to code to implement this, you just need to know how to copy & paste.

Demo

Once the user starts typing in their company name, the Google Places API returns a list of company names that match. The user can click on their company name which fills out the city, state/province, country and postal code/zip code.

pardot-autocomplete-fields

You can choose to make the geographic fields hidden and Google Places will populate the hidden fields, but given that Google Places might not be able to find the company, it’s best keep the fields visible so the user can enter the correct information.

How to add Google Places to your Pardot form

Add the fields

Add the standard Pardot fields for company, city, state, country and postal code to your form. The company field is required to do the look up, but you can choose to omit any of the geographic fields based on your requirements and it will not affect the functionality of the form.

pardot-adding-fields

Add the auto-fill code

Under Look & Feel in your form, select the below form tab and click the HTML icon.

look-and-feel-pardot-form

Copy & paste this code into the editor.




look-and-feel-pardot-form-code

Note: This is just a basic example of using the Google Places API to pre-fill Pardot form fields. You can also pre-fill street address, company phone number, and website address. If you’re interested in populating this information contact me.

That’s it!

You can test the auto-fill functionality by viewing a landing page that contains the form, or simply by previewing the form.

Questions?

Send them to me via email, send me a tweet @jennamolby, or leave a comment

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.

16 Comments

    • Jenna Molby

      Hi David, I just tested it a couple weeks ago and it worked. If you’re having trouble implementing it, send me an email at [email protected] and I can investigate. Cheers, Jenna

  1. Hi Jenna! We added this to a test form but it doesn’t appear to be working. I know this post was from last year, is there something more than just copying and pasting that we should be doing? This could be a game changer for us ๐Ÿ™‚

    • Jenna Molby

      Hi Meghan, Sorry it’s not working for you. Feel free to shoot me an email at [email protected] with the link to your form and I can take a look ๐Ÿ™‚

  2. Great explanation, I tried this in Active Campaign and it worked similarly to the Pardot implementation.
    Question though: How do you increase the Google API call limit per day? Can that easily be integrated, to get some kind of API Developer limit increase or something?

    • Jenna Molby

      Hi Ed, You have to pay to increase your API call limit, however, the limit is quite high, so it’s probably not necessary. Users with an API key are allowed 1 000 requests per 24 hour period. Users who have also verified their identity through the APIs console are allowed 100 000 requests per 24 hour period. Hope that helps!

  3. Hi Jenna,
    This is a great way to get the information many business development teams need, without making it hard on user experience. Would you be able to share a live link or demo of the form in action?

  4. Jesse Kedy Reply

    Awesomely useful post! Can this be done with Marketo forms too?

Write A Comment