<script>
tag.<head>
section of your HTML pages, before any other script tag.<head>
tag on your page as possible, before any other tag gets embedded<head>
tag. If our SDK gets included after the other tags then the consent information will not be correctly shared and you will not be compliant with the GDPR requirements.notice.ignoreCountry: true
option if you are testing the banner from the US and force it to be shown to make sure it is working properly.#didomi:notice.ignoreCountry=true
to the URL in your browser bar to force the SDK to ignore the country on the page. Example: If your website is https://www.mywebsite.com
, go to https://www.mywebsite.com/#didomi:notice.ignoreCountry=true
and the notice should be displayed even if you are not in the EU.Didomi.preferences.show()
to open the preferences manager and let the user update her choices. Example: