New: Google Consent Mode v2 built into every banner, nothing to set up. See how it works →
← All guides

How to install the cookie banner on HTML

Step by step, in about 5 minutes.

Your script

You'll find it in the dashboard, under Installation, with your site ID already filled in.

<script id="cookigator" src="https://cdn.cookigator.com/c.js" data-site-id="TU_ID" data-blocking="auto"></script>

Steps

  1. Open your site's template or HTML file.
  2. Find the <head> tag.
  3. Paste the script right after <head>, before any other script.
  4. Publish your changes and click “Verify installation”.

After installing