Add a GDPR, ePrivacy and CCPA compliant cookie consent banner to your Weebly site. CookieChimp installs from Weebly’s SEO Header Code settings — no theme edits required.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.
Header Code is available on Weebly’s paid plans. The free plan does not allow third-party script injection.
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.Add the snippet to your Weebly site
- Sign in to your Weebly editor.
- Open the Settings tab at the top.
- Click SEO in the left sidebar.
- Scroll to the Header Code field.
- Paste the CookieChimp snippet there. Header Code is injected globally into
<head>. - 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.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.
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 To add a “Cookie preferences” link to your footer, drag in an Embed Code element and use the
data-cc="show-preferencesModal":data-cc="show-preferencesModal" attribute on a button or link.Troubleshooting
- Banner doesn’t appear — make sure your Weebly domain (both the
*.weebly.comURL and any custom domain) is allowed in Account Settings → Additional Domains in your CookieChimp dashboard. - “Header Code” field is missing — you’re on a free Weebly plan. Upgrade to a paid plan to unlock custom code.
- Changes don’t appear on the live site — Weebly only updates the live site after you click Publish. The editor preview uses cached state.
- 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.
Weebly cookie banner FAQ
Do I need a paid Weebly plan to install CookieChimp?
Do I need a paid Weebly plan to install CookieChimp?
Does CookieChimp work with Weebly's eCommerce / Square Online?
Does CookieChimp work with Weebly's eCommerce / Square Online?
Does CookieChimp support Google Consent Mode v2?
Does CookieChimp support Google Consent Mode v2?
Will CookieChimp affect my site's performance?
Will CookieChimp affect my site's performance?
Can I customize the cookie banner to match my brand?
Can I customize the cookie banner to match my brand?
Is CookieChimp free?
Is CookieChimp free?