Guide
analytics

Configuring the cookie-consent banner

Show a GDPR-friendly cookie banner, organise tracking scripts into categories, and gate them behind visitor consent.


The cookie-consent banner asks visitors whether they accept cookies before any optional tracking scripts run. It is the tool that keeps your published site GDPR-friendly: Marketing scripts (including the Meta Pixel) only load after a visitor agrees.

You configure it per project, on the Cookie Consent screen.

Watch: set up the cookie-consent banner
  1. Open your project from the dashboard.
  2. In the left sidebar, click Cookie Consent.

If the banner has never been set up, you'll see a Not configured state. Enabling the banner is the first step.

Enable the banner

  1. On the Not configured screen, fill in the starter fields:
    • Banner Title — the heading shown in the banner (e.g. We use cookies).
    • Banner Description — a short explanation of why you use cookies.
    • Accept Button Label — e.g. Accept All.
    • Reject Button Label — e.g. Reject Optional.
  2. Click Enable Cookie Consent.

The banner is now active and the full Banner Settings become available.

Customise the banner

Once enabled, the Banner Settings card lets you adjust everything about how the banner looks and reads.

Text and buttons

Setting What it controls
Banner Title The banner's heading.
Banner Description The explanatory text shown to visitors.
Accept Button Label The wording on the accept button.
Reject Button Label The wording on the reject button.

Hide reject behind "More options"

Tick Hide reject behind "More options" to replace the reject button with a More options button that opens a preferences panel with per-category toggles. Use More Options Button Label to set its wording.

Use the Banner Position picker — a 3×3 grid — to choose where the banner appears on the page. You can place it at the top, center or bottom vertically, and left, center or right horizontally. The default is bottom center.

Preferences panel labels

When a visitor opens More options, they see a preferences panel with a toggle for each category. You can rename everything in the Preferences Panel Labels section:

  • Save Preferences Button Label — the button that saves their choices.
  • Necessary Label and Necessary Description.
  • Analytics Label and Analytics Description.
  • Marketing Label and Marketing Description.

Every tracking script is filed under one of three categories. The category decides whether the script runs before or after the visitor gives consent.

Category When it runs Typical use
Necessary Always loaded — required for the site to function. Essential scripts the site can't work without.
Analytics Only after the visitor accepts. Scripts that measure how visitors use the site.
Marketing Only after the visitor accepts. Advertising and remarketing scripts, including the Meta Pixel.

The default descriptions explain each category to your visitors:

  • NecessaryRequired for the website to function properly.
  • AnalyticsHelp us understand how visitors interact with our website.
  • MarketingUsed to deliver personalized advertisements.

Warning: If you remove the banner, marketing scripts run unconditionally — they will load for every visitor without asking for consent. The dashboard asks you to confirm this before removing it.

Add your own tracking scripts

Scripts you paste here are loaded according to their category, so consent is handled for you.

  1. In the Custom Scripts section, click Add Script.
  2. Give it a Script name (e.g. Google Tag Manager).
  3. Choose its category — Necessary, Analytics or Marketing.
  4. Paste the script code into the box (without the surrounding <script> tags).
  5. Repeat for any other scripts. Use the trash icon to remove one.

Save and publish

  1. Click Save.
  2. A green Configuration saved notice appears, reminding you that changes will take effect after the next deploy.
  3. Click Deploy now to publish the change immediately, or just continue working and let it go out with your next publish.

Note: Banner and script changes only reach visitors after a deploy. If something looks unchanged on the live site, deploy and check again.

Removing the banner

To turn the banner off, click Remove in the top corner of the Banner Settings card and confirm. Remember that this lets marketing scripts run for everyone — re-enable the banner if you need consent gating back.