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:
- Subdomains: fr.yourwebsite.com
- Subdirectories (beta): yourwebsite.com/fr
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)
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.