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 WordPress

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. Install the free WPCode plugin (Insert Headers and Footers).
  2. Go to Code Snippets → Header & Footer.
  3. Paste the script at the top of “Header”.
  4. Save and click “Verify installation”. If you use a cache plugin, clear it.

After installing