Weebly cookie consent, added through custom code.
Add the CookieHub implementation code to your Weebly site’s Header Code to block supported non-essential tracking before consent, show a customizable cookie banner and keep records of visitor consent where consent records are enabled on your plan. No Weebly App Center installation required.
- Custom code — nothing to install from the App Center
- Added once in Settings › SEO › Header Code
- No theme changes or code refactoring
Why use CookieHub with Weebly.
Weebly sites often rely on embedded widgets, app integrations and external scripts, and each of them can set cookies as soon as a page loads — before a visitor has made a choice. Weebly doesn’t offer advanced consent management for analytics tools, marketing platforms or custom code on its own.
CookieHub adds a structured consent layer across your Weebly site. It controls when supported scripts are allowed to run, records visitor choices where consent records are enabled, and helps you keep your cookie declaration current — without changes to your Weebly theme.
Consent before tracking
Supported non-essential tracking scripts are held back until the relevant consent category is allowed, so their cookies are only set once consent is given.
Site-wide implementation
CookieHub is added once in your site’s Header Code. There is nothing to install from the Weebly App Center and no theme to rewrite.
A banner that fits your site
Match the consent banner’s layout, colors, positioning and buttons to your Weebly design from the CookieHub dashboard, without touching your theme.
Added in your site’s Header Code. No App Center installation required.
CookieHub doesn’t use a Weebly app. You paste the CookieHub implementation code into the Header Code field in Settings › SEO, and it loads on every page of your published site. Once it is in place, CookieHub:
- blocks supported non-essential tracking until the relevant consent is given
- shows your cookie consent banner to visitors
- manages visitor consent preferences
- records consent decisions in a consent log, where consent records are enabled on your plan
- scans your site for cookies introduced by apps, embeds and external scripts
Make sure the domain in your CookieHub dashboard matches the domain your Weebly site is published on. Header Code changes only go live once you publish the site.
Weebly installation guideCookie consent tools for your Weebly site.
Automatic cookie blocking
Commonly used analytics and marketing services are held until the visitor opts in — including scripts Weebly would otherwise run as the page loads.
Cookie scanner
Automated scans detect the cookies your site sets, including new ones introduced by Weebly apps, embedded widgets and external scripts.
Customizable consent banner
Adjust the banner’s layout, colors, button styles and positioning so the consent experience looks native to your Weebly site.
Consent logging
Keep a record of visitor consent choices in CookieHub’s consent log, where consent records are enabled on your plan.
Dynamic cookie declaration
A cookie declaration ready to embed on any Weebly page. Cookie scan results help you review it and keep it in line with the cookies your site uses.
Low-maintenance setup
One snippet in the Header Code covers the whole site. The banner, cookie categories and declaration are managed in the CookieHub dashboard, not in your Weebly editor.
Add CookieHub to Weebly in a few steps.
Everything happens in your Weebly site settings: nothing to install from the App Center and no theme changes.
- 01
Get your implementation code
In the CookieHub dashboard, open your domain (or add one), go to the Implementation tab, select Manually insert the code and copy the code.
- 02
Open your Weebly site
Log in to Weebly and open the site you want to add CookieHub to.
- 03
Open Settings
Select Settings from the top menu.
Settings - 04
Open SEO
In Settings, open the SEO section.
SEO - 05
Find the Header Code
Scroll down to the Header Code section and click Edit SEO Header.
Edit SEO Header - 06
Paste the code
Paste the CookieHub implementation code into the Header Code field as provided, above any other scripts, so it loads before your tracking scripts. Don’t add async or defer.
Header Code - 07
Save your changes
Click Save to store the Header Code.
Save - 08
Publish your site
Click Publish. Header Code changes only go live on the published site.
Publish
Consent control wherever Weebly loads a script.
CookieHub’s automatic cookie blocker handles the most commonly used services. For other services, change the script tag to type="text/plain" and add a data-consent category, so the script only runs once the visitor consents to that category.
How to tag scripts for consentSite-wide Header and Footer Code
Scripts in the Header Code and Footer Code fields in Settings › SEO, which load on every page.
Page-level header code
Scripts added in a single page’s SEO settings, which load only on that page.
Embed Code elements
HTML and scripts placed on a page with Weebly’s Embed Code element, such as third-party widgets.
Weebly apps
Apps from the Weebly App Center can load their own scripts. The cookie scanner reports the cookies they set; services the blocker doesn’t recognize may need extra configuration.
Already using Google Tag Manager?
If your Weebly site manages tags through Google Tag Manager, install CookieHub through GTM rather than adding a second implementation in your Header Code.
View Google Tag Manager setupAdd a cookie declaration page
CookieHub generates a dynamic cookie declaration you can embed on any Weebly page, so visitors can see which cookies your site uses.
Learn about the cookie declaration
Weebly questions, answered.
CookieHub’s automatic cookie blocker holds back commonly supported services until the visitor allows the relevant consent category, including when they are loaded by Weebly apps or embedded widgets. For services it doesn’t recognize, change the script tag to type="text/plain" and add a data-consent category so CookieHub can hold the script until consent. A cookie scan shows which cookies your site sets.
No. CookieHub only controls non-essential cookies. Essential cookies that support basic site operation are not blocked.
No. CookieHub is a custom code integration: you add the implementation code to your site’s Header Code, and nothing is installed from the Weebly App Center.
Select Settings from the top menu, open SEO, scroll down to the Header Code section and click Edit SEO Header. Paste the CookieHub implementation code into the Header Code field, click Save and then Publish.
No. CookieHub’s automatic cookie blocker needs to load before the tracking scripts it controls. Paste the implementation code as provided, above any other scripts in the Header Code field.
Yes. You can customize colors, layouts and button styles in the CookieHub dashboard, without editing your Weebly theme.
Yes. CookieHub’s dynamic cookie declaration can be embedded on any page of your Weebly site. Cookie scan results help you review and maintain it as the cookies your site uses change.
Yes, when they are set up for it. Commonly used services in Embed Code elements and Header Code are blocked automatically. For other scripts, change the script tag to type="text/plain" and add a data-consent category, so the script only runs once the visitor consents to that category.
Install CookieHub through Google Tag Manager instead of also adding it to the Header Code. Use one implementation, not both.
CookieHub provides tools that help Weebly site owners meet consent requirements under privacy laws such as GDPR and CCPA: holding back supported non-essential scripts until consent, recording consent decisions where consent records are enabled, and helping you keep a cookie declaration up to date.
Take control of cookie consent on your Weebly site.
CookieHub gives Weebly site owners a clean, reliable way to manage cookie consent — without theme rewrites or complicated configuration.