This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Hubspot

How to Embed HubSpot Form in WordPress

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to embed a HubSpot form directly into your WordPress site.

Quick summary

This tutorial shows you how to embed a HubSpot form in WordPress by retrieving the form's shortcode from HubSpot and pasting it into a Custom HTML block in the WordPress editor. Once published, your HubSpot form will appear live on your WordPress page or post, capturing leads directly into your CRM.


Steps

  1. Navigate to Marketing > Forms in your HubSpot account.
  2. Click on Actions to reveal a dropdown menu for your selected form.
  3. Use the share option to view the form's shortcode.
  4. Copy the code displayed in the share panel.
  5. Open your WordPress page or post and click the + icon to add a new block.
  6. Select the Custom HTML block from the block options.
  7. Paste the shortcode into the Custom HTML block.
  8. Click Update to Publish your page or post with the embedded form.

📌 Why this matters

Embedding a HubSpot form in WordPress lets marketing teams capture leads directly on their website while automatically syncing submissions into HubSpot CRM — no third-party plugins or manual data exports required. This integration ensures that every form submission triggers HubSpot's automation workflows, enabling faster follow-up and more accurate lead attribution. For businesses running WordPress sites alongside HubSpot Marketing Hub, this workflow eliminates data silos and keeps contact records up to date in real time.
Your product deserves an interactive demo
Start free
Similar Articles
Hubspot

How to Integrate Jira with HubSpot

Madhav Bhandari
Director of Marketing @ Storylane
Hubspot

How to Integrate Eventbrite with HubSpot

Madhav Bhandari
Director of Marketing @ Storylane
Hubspot

How to Integrate HubSpot with Acuity Scheduling

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it