// Blog details

HubSpot and WordPress Integration: Plugin, Embedded Forms or Collected Forms?

December 3, 2026

For most B2B websites on WordPress, the cleanest HubSpot connection is the official HubSpot plugin for the tracking code plus HubSpot forms embedded on the pages that generate enquiries. Collecting submissions from existing WordPress forms is a valid shortcut, but only for simple forms that meet HubSpot's technical requirements. Complex, multi-step or heavily validated forms usually need a server-side connection. Which route fits depends less on the plugin than on what has to happen to the enquiry afterwards.

This guide is for marketing and sales teams that run WordPress and want every website enquiry to arrive in HubSpot with the right properties, the right owner and no duplicates. It compares the three common ways to connect the two systems and ends with the tests worth running before you rely on the setup.

What the HubSpot WordPress plugin actually does

The official plugin, listed on WordPress.org as HubSpot All-In-One Marketing, connects a WordPress site to a HubSpot account and adds the HubSpot tracking code to your pages automatically. According to HubSpot's installation guide, it also gives WordPress users access to HubSpot forms, live chat, contacts, email, lists and reporting from the WordPress admin area, and it is available for all HubSpot products and plans.

Three requirements are easy to miss. The person installing it needs to be a Super Admin in HubSpot and an administrator in WordPress. The site must be self-hosted WordPress or a WordPress.com plan that allows plugins. And on a WordPress multisite, the plugin has to be activated for each site separately. The plugin page also notes that the theme must call the standard wp_footer function, because that is where the tracking script is inserted. Custom themes that skip it are a common reason why tracking silently fails.

Option 1: HubSpot forms embedded in WordPress

With the plugin installed, editors can place HubSpot forms on pages with the HubSpot form block. The form is built and maintained in HubSpot, so every field maps to a HubSpot property by design, including dropdowns, checkboxes and consent fields. Follow-up emails, notifications and workflows start from the same form. This is the most reliable choice for contact, demo and consultation forms, because there is no translation layer between the website and the CRM.

The trade-off is design and ownership. The form's look is controlled through HubSpot form styling and your theme's CSS, not through the WordPress form builder your team may know. Decide who changes fields, labels and confirmation messages, and keep that in one place. If the site has several languages, plan one form per language or a clear rule for how the language is recorded.

Option 2: Keep WordPress forms and let HubSpot collect them

HubSpot can capture submissions from forms that were not built in HubSpot. HubSpot's documentation on non-HubSpot forms describes how: with the tracking code on the page and the setting for collecting website form data switched on, HubSpot detects HTML forms and creates or updates contacts from their submissions. That makes it attractive when a site already has dozens of forms from Contact Form 7, WPForms or a page builder.

The conditions are strict, and they decide whether this works for you. According to HubSpot, a form is only captured if:

  • it is a standard HTML form in <form> tags with an email field of type email and a standard submit button,
  • it is present when the page loads, not added later and not inside an iframe,
  • no JavaScript is bound to the submit event or the submit button,
  • it does not contain sensitive fields such as card numbers.

Hidden fields are not collected, only single-line text properties receive values, and fields cannot be mapped by hand: HubSpot matches them by field name and label. HubSpot also notes that it is not currently possible to send a HubSpot follow-up email for these submissions directly. Many WordPress form plugins validate or submit with JavaScript, so test each form type before you rely on this route. If a form must set a dropdown property, a lifecycle stage or a hidden campaign value, collected forms are the wrong tool.

Option 3: A server-side connection

Multi-step forms, forms with conditional logic or forms that also feed another system often need a server-side connection: a native integration of the form plugin, HubSpot's forms API, or an automation tool such as Make or n8n. The form plugin keeps its full validation, and the connection sends the submission to HubSpot with explicit field mapping. To keep page-view history attached to the contact, the HubSpot tracking cookie has to be passed along with the submission; check that your chosen connection does this.

This route gives you the most control and the most responsibility. Someone has to monitor failed submissions, update the mapping when properties change and keep the connection working after plugin updates. Our guide to reliable HubSpot and Make scenarios covers matching keys and error handling for exactly this kind of setup.

Avoid the two most common mistakes

The first mistake is loading the tracking code twice, for example through the plugin and again through Google Tag Manager or a manual snippet in the theme. Duplicate scripts can double page views and make it hard to see where a contact came from. Pick one method and remove the others. The second mistake is mixing routes on the same form, such as an embedded HubSpot form on a page where non-HubSpot form collection also picks up a second form. Document which form uses which route.

Consent belongs in the same decision. The tracking code sets cookies, so it should follow the consent settings your site already uses, whether that is HubSpot's cookie banner or another consent tool. Check with the people responsible for your privacy setup how forms and tracking should behave before and after consent; a plugin setting alone does not answer that question. Live chat deserves its own check too: HubSpot notes that the chat widget can affect page load times.

Test before you rely on it

Run each form on the live domain with test data and follow the record into HubSpot. At minimum, check these cases:

  • a new contact submits the form and the expected properties are filled,
  • an existing contact submits again and no duplicate is created,
  • a submission with a validation error does not count as a lead,
  • the owner or team receives the notification or task you intended,
  • the same form works on mobile and in every language of the site.

Separate CRM tests from analytics tests. A contact in HubSpot does not prove that your conversion tracking is right; our guide to tracking HubSpot forms in GA4 covers that side. If you are still deciding whether WordPress is the right base for a relaunch, the comparison of Webflow, WordPress and TYPO3 helps frame that decision.

Our recommendation

Use the official plugin for the tracking code, embed HubSpot forms where enquiries matter most, and use collected forms only for simple forms you have tested. Move to a server-side connection when a form needs logic that neither option can handle. The companion audit helps you list every form on the site and assign the right route before you change anything. SK Digital Solution connects websites and HubSpot so that enquiries reach the right person with the right context. Talk to us about your WordPress and HubSpot setup.

HubSpot and WordPress.org documentation checked on 30 November 2026. Plugin features, requirements and form rules can change; confirm them in your accounts before implementing.

Download

WordPress form audit for HubSpot

List every WordPress form, choose embedded HubSpot form, collected form or server-side connection for each, and test new, existing and failed submissions before you rely on it. Two-page audit.

First page of the PDF audit: WordPress form audit for HubSpot

Are some WordPress forms not reaching HubSpot?

Thank you! We will get in touch with you shortly.

Something went wrong. Please check your email and try again.

Leave your email and we'll get in touch to check which of your WordPress forms reach HubSpot – and how.