Skip to content

Documentation

How to Add a Cookie Banner on Square Online

How to Add a Cookie Banner on Square Online

Last updated Mar 15, 2026

This guide walks you through adding the Kukie.io cookie consent banner to your Square Online store. Square Online provides a code injection feature that lets you add custom scripts to every page.

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 Square Online

  1. In your Square Dashboard, go to Online → Website (or Square Online)
  2. Click Website → Pages, then click the ... menu and select Website Settings
  3. Scroll down to Advanced and find Code Injection (or Header Code)
  4. In the Header section, paste:
    <script src="https://cdn.kukie.io/s/YOUR-SITE-KEY/c.js" async></script>
  5. Click Save and Publish your site

Square Online plan required: Code injection is available on Square Online Plus and Premium plans. If you are on the free plan, you may need to upgrade to add custom scripts.

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 Square Online
  • 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?