Embed single/multi purpose preferences widget

circle-check

Once a single purpose or multi purpose preferences widget is published, it can be successfully embedded onto your organization's website(s). In this article, we provide an overview of the prerequisites and process involved with embedding these preferences widgets.

circle-exclamation

Prerequisites

Preferences widgets need to be embedded in an authenticated environment (i.e. Didomi needs a way to verify the end-user's identity and store/match the preferences record to the correct user). Authentication must be performed in your organization's backend.

circle-check

Embed preferences widget

The configuration for your published preferences widget is stored in an Amazon S3 bucket and can be accessed by loading the Didomi SDK and adding the relevant Didomi container on your website.

circle-info

Click herearrow-up-right to review our developer documentation on how to embed a single purpose or multi purpose preferences widget on your website.

To find the necessary code snippets that need to be added to your organization's website(s), click Preference Management on the left-hand panel and ensure the Widgets tab is selected on the subsequent page.

Navigate to a preferences widget with a publication status of Published on the list and click the Edit icon inline with the preferences widget name.

Select the Embedding tab in the preferences widget configuration flow and navigate to the right-hand panel.

Use the provided fields to copy and paste the SDK script and Didomi container code snippet onto your website(s). The necessary values will already be inserted into the copied code.

Last updated