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.
- Getting Started
- Adding HubSpot Forms to Multilingual Sites
- Creating Multilingual Live Chats
- Sending Emails by Language
- Syncing WooCommerce Customer Data with Your HubSpot Account
- Known Issues with HubSpot and WPML
- Getting Help
Start by installing and activating the following plugins:
- HubSpot’s WordPress plugin
- WPML core plugin and WPML String Translation add-on
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.
Go to HubSpot → Forms 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.
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.
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:
- Go to HubSpot → Forms and find your default language form.
- Click Actions and then Create translation.
- 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.
- Take note of the ID for each of the translated forms you create.
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.
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.
Now, your translated page will display the correct form according to the translated form ID.
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.
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:
- Go to HubSpot → Live Chats.
- Create and publish a new chat with a custom welcome or away message.
- Edit the chat you just created and click Target.
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.
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:
- Go to HubSpot → Lists and create a new list.
- Give the list a name, and choose the Active List option to automatically add new contacts.
- Add a filter for Preferred language, and choose the language.
After saving the list, you can create an email in the secondary language and send it only to contacts who speak that language.
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.
Please note: if you’re using the free HubSpot plan, products do not sync with the CRM.
For more help translating your site built using HubSpot and WPML, visit WPML’s support forum.