languages.enabled
property to your list of supported languages and languages.default
property as the default language in case the customer language is not supported:enabled
is the list of supported languages by Didomi and default
is en
. You can support different languages by changing the English texts and setting English as the only enabled language.position
configuration parameter lets you define the position of the notice. The possible values are:popup
panel-top-left
panel-top-right
panel-bottom-left
panel-bottom-right
panel-bottom-right
is the default value.top
bottom
top-left
top-right
bottom-left
bottom-right
Agree and close
and Learn More
buttons. These allow users to give consent or get more information on the purposes and vendors that your website works with.Agree and close
and Disagree and close
buttons directly in the notice:notice.denyOptions.button
of your notice to primary
bottom
or top
positions) or pop-ins (popup
position).Disagree and close
button is a primary button. To make it a secondary button, you can set the notice.denyOptions.button
configuration option secondary
:Disagree and close
button in the notice you can set notice.denyOptions.button
to none
.denyAsPrimary
parameter is deprecated and should not be used for the styling of the "Disagree and close" button.optin
notice type:notice.denyOptions.link
value to true
:notice.denyOptions.link
is true
then notice.denyOptions.button
options will be ignored and only a link will be shown in the notice.denyAsLink
parameter is deprecated and should not be used for the "Continue without agreeing" link configuration. notice.denyOptions.cross
parameter value to true
:notice.denyAppliesToLI
should be set to true
in the Didomi configuration object:popup
, you can show a Close icon to allow users to ignore the notice until the next page:notice.canCloseAndIgnore
value to true
:left
, right
, center
and justify
. By default, the text is aligned to the left
.flex-start
and to the right flex-end
. By default, the logo is aligned to the center
.learnMorePosition
is null
and the "learn more" button is displayed before the "agree" button on the regular notice and after on the popup notice.before
and after
.margin
property.notice.content.dismiss
notice.content.deny
notice.content.learnMore
notice.content.subTextPopup
notice.content.notice
instead of having a separate link, you can use the function Didomi.preferences.show('vendors')
to open the preference popup. The original link will be automatically replaced.