How To Embed HubSpot Form In WordPress

How To Embed HubSpot Form In WordPress

  1. Log in to HubSpot: Access your HubSpot account.
  2. Create a Form: Navigate to Marketing > Lead Capture > Forms and create a new form.
  3. Get the Embed Code: After saving, click on "Embed" to copy the HTML code.
  4. Log in to WordPress: Access your WordPress admin dashboard.
  5. Choose a Page or Post: Select the page or post where you want to embed the form.
  6. Add a Custom HTML Block: In the editor, add a "Custom HTML" block.
  7. Paste the Embed Code: Insert the copied HubSpot form code into the HTML block.
  8. Preview the Form: Check how the form looks by previewing the page or post.
  9. Publish or Update: Save your changes by publishing or updating the page or post.