Widget localization
This article explains how to configure a campaign with a widget that displays content in multiple languages. Use this process to ensure your widget content is localized for each audience.
Prerequisite
To enable localization, ensure your account has multiple tags thanks to the Tag Sharding feature. Contact your Customer Success Manager (CSM) to activate this feature.
1. Localized Widget Campaign Setup
Create a new campaign.
If you need more information about campaign creation, read our dedicated article.
In the Main information page > Options panel, toggle on the Campaign localization option
In the Sample URL to load in the editor field, enter the URL of a page in one of your chosen languages.
Example : "https://mywebsite.com"
Choose the target languages:
Open the drop-down menu.
Select all languages you want to support in your campaign.

Click on Save & Go to the next step to access the editor.
The Preview localization button (language flag) appears at the top of the editor.

Add and configure a widget
Insert a widget into the page.
Configure the widget content in the primary language
If you need more information about widgets configuration, read our dedicated article.
Open the Localization interface
In the Editor action bar, click on the Translations button.

In the translation windows, enter the translated content for each selected language.

Click on Save changes.
The widget content is now available in all selected languages.
2. Preview and verify translations
On the top of the editor, click on the Preview button (Flag).
Select the language you want to preview. A confirmation box opens.
Click OK to open the preview. Your widget appears in the selected target language.
Review each translation to ensure accuracy.
If you spot an issue,
In the Editor action bar, click on the Translations button.
Fix the target text.
Click on Save changes.
3. Set up targeting for all languages
In the targeting phase, in the Page(s) block, enter the URLs for every page and language you want to target.
Example:
Enter condition "is https://mywebsite.com" for your source website
Enter condition "is https://mywebsite.com/fr" for French version of your website
Enter condition "is https://mywebsite.com/se" for swedish version of your website
This ensures the localized widget displays on the correct pages for each language.
If you need more information about the targeting step, read our dedicated article.
Result
Your campaign now includes a widget that displays localized content based on the visitor’s language.
Last updated
Was this helpful?

