Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Add a GDPR, ePrivacy and CCPA compliant cookie consent banner to your Duda site. CookieChimp installs as Site-Wide Code from the Duda editor — works on agency, team and white-label setups.
1

Copy your CookieChimp snippet

Log in to your CookieChimp dashboard and copy your website's JS snippet:
<script src="https://cookiechimp.com/widget/abc123.js"></script>
Replace abc123 with your website's unique CookieChimp ID.
2

Add the snippet via Duda's Site-Wide Code

  1. Open your site in the Duda editor.
  2. Click the Settings icon in the left sidebar (or Site → Settings at the top).
  3. Open Site-Wide Code under SEO & Settings.
  4. Paste the CookieChimp snippet into the Header section. This injects it into <head> on every page.
  5. 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:
  1. Go to Settings → Cookie Policy (or Privacy depending on your Duda version).
  2. Disable Duda’s Cookie Notification widget.
CookieChimp now handles consent end-to-end.
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.
Duda integrations like Google Analytics, Facebook Pixel and HubSpot are typically added via Site-Wide Code → Header / Body or through the Apps marketplace. For any <script> tags you’ve pasted into Site-Wide Code, set type="text/plain" and add a data-category attribute so CookieChimp can release them once consent is given.
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 data-cc="show-preferencesModal":
<button type="button" data-cc="show-preferencesModal">
  Manage cookie preferences
</button>
Duda widgets like buttons and text links support custom HTML attributes — add 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.com preview 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.
Yes. Duda allows site templates to include Site-Wide Code, so you can pre-install CookieChimp in a template and roll it out across every site your agency builds. Each site uses its own CookieChimp ID for separate consent records.
Yes. CookieChimp’s banner supports 40+ languages and detects the active language from the page’s <html lang> attribute, which Duda sets automatically per locale.
Yes. CookieChimp also offers white-label and partner features — see the Partner API and Whitelabeling docs.
No. The CookieChimp script is under 30KB gzipped, loads asynchronously and is served from a global CDN. It doesn't block rendering and won't meaningfully affect your Lighthouse scores.
CookieChimp has a free tier suitable for low-traffic sites, with paid plans for higher traffic and additional features. See pricing.