EARN UP TO 50% COMMISSION WITH OUR RESELLER ACCOUNTS + REGULAR PASSIVE INCOME SIGN UP TODAY

Weebly Platform

4 min read

Weebly offers a built-in Embed Code element and per-page header code settings. For CookieScan, the best approach is to add it to the site-wide Header Code via the Settings area.

Before you start

You will need:

  1. An active CookieScan subscription (view plans)
  2. Your banner installation code from the CookieScan dashboard (Cookie Banner → Install Code)
  3. A Weebly Pro plan or higher (Header Code requires paid plan)
  4. Site admin access

The install code looks like this:

<script src="https://banner.cookiescan.com/js?id=YOUR-COOKIESCAN-ID"></script>

Replace YOUR-COOKIESCAN-ID with the code from your dashboard.

Method 1: Site-wide Header Code (recommended)

Step 1 – Open Site Settings

  1. Log into your Weebly account
  2. Select the site you want to edit
  3. Click the Settings tab at the top
  4. In the left sidebar, click SEO

Step 2 – Add script to Header Code

  1. Scroll down to Header Code
  2. Paste your CookieScan script:
    <script src="https://banner.cookiescan.com/js?id=YOUR-COOKIESCAN-ID"></script>
  3. Click Save at the top right

Step 3 – Publish your site

  1. Click Publish (top right of the editor)
  2. Wait for the publish to complete

Step 4 – Verify

  1. Visit your site in a new incognito window
  2. The CookieScan banner should appear

Method 2: Per-page Header Code

If you only want CookieScan on specific pages (not recommended for compliance):

  1. Open the page in the Weebly editor
  2. Click Pages in the top menu
  3. Select the page you want, then click SEO Settings
  4. In Header Code, paste your CookieScan script
  5. Save and publish

For compliance purposes, cookie banners should appear on every page. Always use the site-wide Header Code (Method 1) unless you have a specific reason to limit it.

Method 3: Install via Google Tag Manager

If you have GTM already installed on your Weebly site:

  1. In CookieScan, open Cookie Banner → Install Code and switch to the Google Tag Manager Install tab
  2. Copy your CookieScan ID
  3. In GTM, go to Templates → Search Gallery and add the CookieScan template
  4. Create a tag using the template, paste your ID
  5. Trigger: Consent Initialization – All Pages
  6. Submit and publish GTM

Disable Weebly's built-in cookie notice (if enabled)

Weebly has a basic cookie notice feature. Disable it so CookieScan handles consent:

  1. Go to Settings → General
  2. Find the Cookie Notice option (if shown)
  3. Turn it off or leave it disabled

Verify the installation

  1. Visit your site in a new incognito window
  2. The CookieScan banner should appear within a second
  3. Open DevTools (F12) → Network tab → filter by cookiescan
  4. Confirm banner.cookiescan.com loads

What happens next

  • CookieScan scans your Weebly site and detects all cookies (Weebly's built-in analytics, any integrations)
  • Discovered cookies appear in Cookie Manager → Unclassified – categorise them
  • The banner blocks non-essential cookies until the user consents
  • Every decision is logged in Consent Log

Troubleshooting

Banner not appearing

  • Verify you're on a Weebly paid plan (Pro or higher) – Header Code requires this
  • Check you saved AND published – Weebly requires both
  • Clear your browser cache
  • View page source and search for cookiescan to confirm the script is in the <head>

Script appears but some pages don't show the banner

  • Make sure you're using the site-wide Header Code, not a per-page one
  • Re-publish the site to refresh all pages

Weebly's own cookies still loading

  • Weebly sets some essential session/session-state cookies which should be categorised as Necessary
  • Any analytics/marketing cookies can be categorised appropriately so the banner blocks them
  • Run Cookie Manager → Rescan Domain to refresh the list

Full documentation

For detailed setup help, see the support guide linked in your CookieScan dashboard, or visit our support guides.