HubSpot - Integration / Setup

Translate your HubSpot website

Translate all your content and make your HubSpot website multilingual within minutes.

1) Create an account on Weglot

This account will be where you manage and edit all your translations. You can create your Weglot account here.

You should receive a validation email in the account with which you signed up.

Then select “other” as your website technology.

2) Add your new languages and select your URL structure

The next step is to add the original language of your website and the languages you’d like to translate it into.

After that, you need to enter the URL of your website, and your URL structure.

You can choose the type or URL you wish to use for the integration. Both options are good for your SEO. The only difference is the URL structure. For example, for the French version of your website, the URLs would look like:


Please note that if you’re using a temporary HubSpot domain name ( for example hs-sites.com) you should use the “Javascript integration” instead. Once you have a permanent domain you can continue with this integration, which will give you language subdomains.


Anyway, click on the “Next” button.

3) Create your subdomains (important for multilingual SEO)

In this step, you’ll create your SEO-friendly subdomains, for example, fr.mywebsite.com (if you want to translate your website into French). 
You will need access to your domain name provider account. The following video demonstrates the process with Google Domains – check our videos for other domain name providers or contact us at support@weglot.com if you need any help.
In the section where you add your CNAME entries, ‘name’ will be the language code given to you in the Weglot setup process and the ‘data’ section will be the value given by Weglot. 

Here, the name is fr, and the value is xxx.translate-cf.weglot.io.
⚠️ The value is an example and is different on each project.
After you’ve saved this entry in your domain name provider, go back to your Weglot account and click on the ‘Check DNS’ button. This should turn green but may take up to 10 minutes to do so.

4) Add the Javascript code

This will allow you to add a language-switcher button to your HubSpot website.

  • Go on your HubSpot website, click on “Settings” > “Advanced option” 
  • Go to “Additional code snippet”, and you should see a field that’s titled “Head HTML”

Copy and paste the JavaScript snippet provided to you on your Weglot account.

Click on the button, “Save Changes” and publish your changes by clicking on the blue button at the very top right.

5) Your HubSpot website is now multilingual!

Once it’s done, you’ll be able to see the language switcher button at the bottom of your website. Feel free to test it and switch between languages. Weglot automatically generates a first layer of automatic translation, you’ll then be able to edit and manage your translation from your Weglot dashboard.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us