Skip to content

Documentation

How to Add a Cookie Banner to an Ecwid Store

How to Add a Cookie Banner to an Ecwid Store

Last updated Mar 15, 2026

This guide shows you how to add the Kukie.io cookie consent banner to your Ecwid-powered online store. Since Ecwid embeds into an existing website, the installation method depends on where your store is hosted.

Prerequisite: You need a Kukie.io account and at least one site added. If you haven't done this yet, follow Create Your Account & Add Your First Site first.

Step 1: Get Your Embed Code

Log in to your Kukie.io dashboard, navigate to your site, and copy the embed code from the Setup tab. It looks like this:

<script src="https://cdn.kukie.io/s/YOUR-SITE-KEY/c.js" async></script>

Replace YOUR-SITE-KEY with the actual site key shown in your dashboard.

Step 2: Add the Script to Ecwid

Ecwid embeds into an existing website, so you need to add the Kukie.io script to the host page where your Ecwid store is embedded.

  1. Open the HTML source of the page where your Ecwid store widget is embedded
  2. Add the Kukie.io embed code inside the <head> tag:
    <script src="https://cdn.kukie.io/s/YOUR-SITE-KEY/c.js" async></script>
  3. Save and publish the page

Ecwid Instant Site: If you use Ecwid's Instant Site (standalone storefront), go to Ecwid Admin → Website → SEO and paste the script tag into the Header tracking codes field.

Ecwid on Wix/Squarespace/WordPress? If your Ecwid store is embedded in one of these platforms, follow the respective platform guide — Wix, Squarespace, or WordPress — to add the script site-wide.

Step 3: Verify the Installation

Visit your website in a new browser window (or incognito/private mode). You should see the Kukie.io consent banner appear. If it does not show, check the following:

  • Open your browser's Developer Tools (F12) and look for the script in the Network tab — it should load with a 200 status
  • Check the Console tab for any JavaScript errors
  • Make sure you published/saved your changes in your Ecwid store
  • Clear any platform-level cache if applicable

For a detailed verification walkthrough, see How to Verify Your Banner Installation.

Next Steps

Need help? If you run into any issues, contact our support team and we'll help you get set up.

Was this helpful?