Install and use the HubSpot WordPress plugin
Last updated: April 8, 2025
Available with any of the following subscriptions, except where noted:
|
The HubSpot All-In-One Marketing WordPress plugin allows you to easily connect your WordPress site and HubSpot account. With the plugin, the HubSpot tracking code is automatically added to your WordPress pages, and you can access many of HubSpot's tools directly from your WordPress account.
To install and use the plugin, you must meet the following requirements:
- Your website or blog must use a WordPress.org install, or be on the WordPress.com Business plan. Any other plan with WordPress.com (e.g., Premium, Personal) won't allow for plugins or JavaScript and won't be compatible with the plugin.
- Your WordPress version should match the plugin requirements. This is stated in the plugin page's right sidebar next to WordPress Version.
- You must be a WordPress admin to install plugins for your site.
- You must be a Super Admin to install the plugin.
Please note: to install the plugin you must enable third party cookies in your browser and disable any add-ins or extensions that block third party cookies in your browser.
Install the plugin
You can add the plugin directly from your WordPress account:
- Log in to your WordPress website admin dashboard.
- In the left sidebar menu, navigate to Plugins > Add New.
- Search for the HubSpot – CRM, Email Marketing, Live Chat, Forms & Analytics plugin.
- In the upper right, click Install Now.
- Click Activate Plugin.
- In the left sidebar menu, navigate to HubSpot.
- Click Log in to your account to finish the installation process. If you haven't set up a HubSpot account yet, you'll be prompted to create one.
- If your account uses Brands, select which brand the plugin should use in HubSpot settings.
Please note: if you would prefer to install the plugin from a zip file, download the plugin, then upload the plugin in your WordPress account.
Once you've installed the plugin, you can start tracking website data in HubSpot and create HubSpot forms from WordPress, a live chat for your website, emails, lists, and reports.
Please note: if you have a WordPress multisite network setup, you'll need to activate the plugin for each site separately.
Use the plugin
Once you’ve installed the plugin, you can create HubSpot forms from WordPress, a live chat for your website, emails, lists, and reports.
Access HubSpot tools
In the left panel in your Wordpress account, you have access to the following:
- Forms: create mobile-responsive forms to use on your website. You can add follow-up emails to specific forms to nurture your leads.
- Live chat: add live chat to your website and let site visitors chat with you in real-time. Set up automated chatbots to respond to your visitors when you aren’t online.
- Contacts: a single contact database to manage detailed analytics on all your contacts, leads, and customers in one location. Associate contact records with companies, deals, and more in your CRM.
- Email: create clean and responsive emails in the intuitive drag and drop editor. You can include personalized content and subject lines based on your recipients' known contact properties.
- Lists: create segmented lists to use when sending a marketing email campaign or enrolling contacts in your workflows.
- Reporting: create and share reports and report dashboards of your marketing, sales and service performance.
Please note: in some cases, the live chat widget may impact page load times on your WordPress site. Learn more about the factors that impact page load times.
Host HubSpot content on a WordPress subfolder (BETA)
You can host HubSpot content (e.g., blog, landing pages, site pages, case studies, and more) on a subfolder (e.g., website.com/subfolder).
To set up HubSpot content on a WordPress subfolder:
- Opt in to the beta.
- Install the WordPress plugin.
- In WordPress, in the left sidebar menu, navigate to HubSpot, then select Settings.
- Select Domains.
- Toggle the Enable reverse proxy for HubSpot hosted content switch on.
- Add your domain.
Please note: you're required to enter your domain as it's possible to connect multiple WordPress sites to a single portal.
- In the HubSpot path field, add the slug you set for your content.
- In the WordPress path field, add the slug to which you'd like to route to the HubSpot content.
- You can add a * to create flexible paths, which allow for dynamic request routing without specifying exact URLs. For example, if you have a website with a blog (example.com/blog), instead of manually setting up rules for every blog page (/blog/post1, /blog/post2, etc.), you use a flexible path like /blog/*.
- It's recommended to use the same slug for both, especially if using a flexible path (e.g., if your HubSpot content is /blog/*, it's recommend to use /blog/* for your WordPress path as well).
- The cache is refreshed regularly to detect new paths, but you can click Reset cache in the top-right to update routes instantly.