Skip to content

Install and use the HubSpot WordPress plugin

Last updated: April 8, 2025

Available with any of the following subscriptions, except where noted:

All products and plans

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:

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:

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:

  • 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.

Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.