1
Copy your CookieChimp snippet
Log in to your CookieChimp dashboard and copy your website's JS snippet:Replace
abc123 with your website's unique CookieChimp ID.2
Add the snippet via Duda's Site-Wide Code
- Open your site in the Duda editor.
- Click the Settings icon in the left sidebar (or Site → Settings at the top).
- Open Site-Wide Code under SEO & Settings.
- Paste the CookieChimp snippet into the Header section. This injects it into
<head>on every page. - Click Save, then Publish your site.
The CookieChimp script needs to be the first script in the
<head> section so it can block other scripts before they run and set cookies without consent. If other scripts are added before, they may set cookies and other storage items before consent is granted.3
Disable Duda's built-in cookie banner
Duda offers a built-in cookie notification widget that will conflict with CookieChimp:
- Go to Settings → Cookie Policy (or Privacy depending on your Duda version).
- Disable Duda’s Cookie Notification widget.
4
Block scripts & cookies
To stay compliant with GDPR and other privacy regulations, you need to actively block non-essential scripts and cookies until the user gives consent. See our Scripts Management Section for full details.
5
Allow users to update their preferences
CookieChimp provides a floating privacy icon (Privacy Trigger) that lets users manage cookie preferences at any time. Enable it in the banner settings.To open the preferences modal from a custom button or link, add the data attribute Duda widgets like buttons and text links support custom HTML attributes — add
data-cc="show-preferencesModal":data-cc="show-preferencesModal" to any button to make it open the preferences modal.Troubleshooting
- Banner doesn’t appear — make sure your Duda domain (both the
*.editmysite.compreview URL and any custom domain) is allowed in Account Settings → Additional Domains in your CookieChimp dashboard. - Site-Wide Code option is missing — head injection is available on most paid Duda plans. Some white-label/reseller setups restrict it; check with your agency administrator.
- Both Duda’s banner and CookieChimp appear — re-check that Duda’s Cookie Notification widget is disabled under Settings → Cookie Policy.
- Enable Debug mode from the CookieChimp dashboard and check the browser JS console for errors.
If you encounter any issues or need further assistance, please reach out to us via our chat.
Duda cookie banner FAQ
Is this compatible with Duda's white-label / agency offering?
Is this compatible with Duda's white-label / agency offering?
Yes. CookieChimp also offers white-label and partner features — see the Partner API and Whitelabeling docs.