Skip Navigation
Updated
November 24, 2022

HubSpot is a CRM platform that allows you to organize and track your business’s leads, sales, and conversions. You can integrate its features with multilingual sites using the HubSpot WordPress plugin.

On This Page

Getting Started

Start by installing and activating the following plugins:

If you’re new to WPML, check out our Getting Started Guide. It quickly walks you through all the translation options you can use.

When you activate the HubSpot WordPress plugin on your site, you will be prompted to log in to your HubSpot account or create a new account. You can then connect HubSpot to your WordPress site to access all of its features.

Connecting a website with a HubSpot account

Adding HubSpot Forms to Multilingual Sites

Creating a Form

Go to HubSpotForms to create a form in your site’s default language.

When creating your form, you can include a Preferred Language field to pass language information to your HubSpot database. You can either let your site visitors choose their preferred language themselves, or you can make the field hidden and preselect the language of the form.

Adding a hidden field for preferred language

When you finish creating the form, take a note of each language’s form ID. You will need this for translation later. You can also get this ID by going to HubSpot → Forms and copying the form’s shortcode.

The form’s shortcode ID

Once you have created the form in your site’s default language, you need to create forms in each of your site’s languages. To do so:

  1. Go to HubSpotForms and find your default language form.
  2. Click Actions and then Create translation.
  3. This clones the form into the language you choose. If you use the default field labels, these will be translated automatically. Otherwise, you will need to add your own translations.
The form in a secondary language
  1. Take note of the ID for each of the translated forms you create.

Adding a Form to a Page and Translating It

After you create your forms, you can add them to a page or post either using the HubSpot block or by pasting the shortcode. If you use the shortcode option, make sure the type, portal, and id are wrapped in quotation marks.

Pasting the form shortcode onto a page

When you translate the page where your form appears, search for the ID of the default language form and paste the ID for the secondary language form as its translation.

Adding the form ID for the translated form

Now, your translated page will display the correct form according to the translated form ID.

Using Other Form Plugins

HubSpot also integrates with other form plugins, including ones that are compatible with WPML such as Gravity Forms and Contact Form 7.

However, it may not be possible to pass language information like you can when using HubSpot forms.

For more, please see HubSpot’s documentation about creating non-HubSpot forms.

Creating Multilingual Live Chats

By default, HubSpot live chats are displayed in the same language as a site visitor’s browser settings. This requires no translating on your end. However, leads are not divided by language in the HubSpot inbox.

You can also create custom welcome and away messages. If you decide to do this, you will need to create chats for each of your site’s languages and target specific URLs on which to display them.

To do this for each language:

  1. Go to HubSpot → Live Chats.
  2. Create and publish a new chat with a custom welcome or away message.
  3. Edit the chat you just created and click Target.
Setting the target options for a live chat in the default language

Depending on your language URL format, you can set the Website URL targeting as follows (replacing the example URLs with your own in the correct languages):

  • For languages in directories, choose When Website URL begins with website.com/es
  • For different domains per language, choose When website URL begins with es.website.com
  • For languages added as a parameter, choose When query parameter ?lang is es

When creating the targeting rules for the default language, be sure to add exclusion rules for the secondary language URLs.

Sending Emails by Language

While there are no specific multilingual features for lists, emails, or contacts, you can use the Preferred language field to send emails, create lists, and filter contacts.

To create a list that targets a specific language:

  1. Go to HubSpot → Lists and create a new list.
  2. Give the list a name, and choose the Active List option to automatically add new contacts.
  3. Add a filter for Preferred language, and choose the language.
Creating a list according to language

After saving the list, you can create an email in the secondary language and send it only to contacts who speak that language.

Syncing WooCommerce Customer Data with Your HubSpot Account

Send customer information to HubSpot with the HubSpot for WooCommerce plugin. This free plugin from MakeWebBetter can help you maximize conversions. You can:

  • See your customers’ complete order history
  • Sync currency preferences
  • Follow up on abandoned carts
  • View detailed e-commerce analytics

HubSpot for WooCommerce is compatible with WPML. You can send multilingual and multi-currency data to your HubSpot account.

Read more about HubSpot for WooCommerce’s multilingual and multi-currency setup.

Please note: if you’re using the free HubSpot plan, products do not sync with the CRM.

Known Issues

There are no unresolved compatibility issues between this plugin and WPML. Search all known issues.

Getting Help From Our Technical Support

For more help translating your site built using HubSpot and WPML, visit WPML’s support forum.