Skip to content
Back to Documentation

COKIQ docs

Install Script

Install the COKIQ consent script on a website using the generated site key and verify that consent logging works.

Best for

Developers and operators installing COKIQ on a production website.

Setup steps

Step 1

Copy the site key

Use the site key generated for the exact domain in the COKIQ dashboard.

Step 2

Add the script before the closing body tag

Paste the script once so the banner and consent logic can load across the site.

Step 3

Avoid duplicate installs

Do not install COKIQ through both the theme and tag manager unless you intentionally control one load path.

Step 4

Test consent choices

Open a private browser window, accept or reject categories, and confirm the interaction is recorded.

Implementation checklist

  • One script instance only
  • Correct site key
  • No cache serving old markup
  • Banner appears on first visit
  • Consent choice is stored

FAQ

Where should the script go?

Install it once in the site shell, theme footer, tag manager, or framework layout so it loads across pages.

Can I use COKIQ with any platform?

Yes. Use the universal script if there is no dedicated platform guide for your stack.