We’ve officially upgraded ConsentBit with enhanced support for the latest IAB Transparency & Consent Framework (TCF) standards
Coupon code : PRIVACY20
Cookie Compliance, 20% lighter on your budget
20% oFF
10% oFF
Safer  INternet  Day
Coupon code: SAFE10
10% oFF
Use coupon code: ENDOFYEAR
END OF YEAR SALE
Use coupon code: ENDOFYEAR

Custom HTML / Any Website

May 18, 2026

This is the universal method. It works on any site where you can edit the HTML.

Steps:

  1. In ConsentBit, go to Install → Custom HTML and copy your script snippet.
  2. Open the HTML file (or template) for every page on your site.
  3. Find the <head> section.
  4. Paste the ConsentBit script as the first script in the head, before any analytics, ads, or other tracking.
  5. Save and upload your changes.
  6. Test in an incognito window.

Why "first in head" is so important: ConsentBit needs to load before any tracking scripts so it can intercept and block them. If Google Analytics loads first, it has already set its cookies before ConsentBit can stop it.

For static site generators (Hugo, Jekyll, Eleventy, Astro, Next.js, etc.), put the script in your base layout / template so it appears in the head of every page.

Frequently asked questions

No items found.
Didn’t find your answer?
Contact us here