Skip to main content

Associate a widget with a campaign

You must create and activate a widget before you can associate it with a campaign.

tip

To avoid incompatibility between the widget’s CSS and the one used on your website, you can activate the Generate the code of all graphic widgets using JS with shadow DOM option in your project's Configuration page.

If you activate this option, widgets already used in a campaign will automatically update when the campaign status changes. If you use CSS class names from your website in your widgets, styles may not apply correctly.

Associate a widget with an experiment

To learn how to add a widget to an experiment in the A/B Graphic editor, read this article.

Associate a widget with a personalization

To learn how to add a widget to a personalization, read this article.

note

If you make changes to an active widget, all linked campaigns will be updated with the widget's latest version.