Consentful

Any website

Add Consentful's cookie consent banner to any website — Squarespace, Carrd, Ghost, Next.js, Hugo or plain HTML — with one script tag.

No plugin for your platform? Design your banner in the dashboard and paste one line of code into your site.

Add your website

In the dashboard open Websites, click Add website, and enter its name and domain.

Design the banner

Open the website to launch the banner builder — the same editor as the platform apps. Click Publish when you're happy.

Paste the snippet

Copy the snippet from the Websites page and paste it into your site's <head>, as high up as possible:

<script src="https://consentful.theplugins.co/embed/YOUR-SITE-ID.js" defer></script>

Future changes you publish in the builder go live automatically — you never need to touch the snippet again.

Where to paste it

PlatformWhere
SquarespaceSettings → Advanced → Code Injection → Header
CarrdAdd an Embed element → type Code, placement Head
GhostSettings → Code injection → Site header
Next.js / ReactYour root layout's <head>
Plain HTMLInside <head> on every page

Put Consentful above your analytics and ad tags so it can set consent defaults before they run.

On this page

How to add a cookie consent banner to any website | Consentful