Cookie consent for Webflow, from $9 a month · [Start free trial] · 14 day trial, no card

Cookie Banner Code: What the Free Scripts Do, and Where They Stop

You can put a cookie banner on any site in twenty minutes with an open-source library. It will render, store a choice, and cost nothing. For a personal site, that is a reasonable answer.

What it will not do is tell you which trackers your site actually sets, keep a record you can hand to a regulator, or send consent signals to Google so your ad measurement survives a decline.

ConsentBit is a Google-certified CMP that runs on any site from a single script, custom-coded, headless or no-code.

Consent, Done Better.

Start free trial
From $9 a month. 14 day trial, no card required.
ConsentBit consent banner with Preferences, Reject and Accept buttons
Google-Certified CMP Partner
IAB TCF 2.3 registered
2,000+ websites and apps
40+ countries
The problem

A banner is not consent

A banner announces cookies. Consent means nothing non-essential runs until the visitor agrees, and that you can show what they agreed to.

Writing the banner is the easy part. The hard parts are knowing what is on your site, holding it back until the answer arrives, telling your tags what the answer was, and keeping the record.

Block first, ask second.
Banner only
1
Page loads
2
Analytics, pixel and embeds fire and set cookies
Too early
3
Banner appears
4
Visitor chooses a choice that was never real
With ConsentBit
1
Page loads
2
Non-essential scripts are held back
On hold
3
Visitor chooses: Accept, Reject or by category
4
Only the allowed scripts run
Free library

Free library or a CMP

Free library
ConsentBit
Renders a banner
Yes
Yes
Stores the visitor’s choice
Yes
Yes
Blocks scripts before consent
You wire it up per script
Automatic, all plans
Tells you what cookies your site sets
No
Automatic scanning, all plans
Consent records you can export
You build the storage
CSV or JSON, all plans
Google Consent Mode v2 signals
You implement it
Included, all plans
Google-certified CMP
No
Yes
IAB TCF
No
Essential and Growth
Keeps up with changing law
Your job
Ours
Ongoing cost
Your time
From $9 a month

The honest summary: a free library saves money and costs maintenance. A CMP costs money and saves maintenance. If your site is simple and you enjoy owning the implementation, the library is fine.

Decide

Four questions that decide it

1
Do you know every cookie your site sets today?
Embeds, chat widgets and third-party scripts change without anyone announcing it.
2
Do you run ads?
Consent Mode v2 is what keeps measurement working after a decline, and implementing it yourself is real work.
3
Could you produce consent records in an audit?
A choice in localStorage is not a record.
4
Who maintains it in a year?
Consent rules move, and so do the people who wrote the original implementation.
Setup

How to add cookie consent to any site

1

Scan your site

Add your domain and ConsentBit returns every cookie and tracker found, including the ones from embeds and third-party widgets.

2

Add one script

Paste the ConsentBit script before the closing </head> tag, wherever your site renders its head: a static HTML file, a template, a layout component, or a no-code builder’s custom code field.

Confirm recommended plugin
3

Set your rules and publish

Choose your categories, style the banner, set your regions, publish. Non-essential scripts stay silent until consent.

For single-page apps and headless front ends, the banner persists across route changes without re-initialising, and the consent API lets you gate your own scripts on the visitor’s choice.

Test it

How to check your site actually blocks cookies

Two minutes.

1
Open your site in a private window.
2
Open DevTools, go to Application → Cookies, and look before touching the banner.
3
If _ga, _gid or _fbp are already there, your scripts fired before consent.
4
Click Reject, reload, check again. Non-essential cookies should still be missing.
5
Click Accept, reload, and confirm they appear.
On a single-page app, repeat it after a client-side route change. That is where home-rolled implementations usually break.
Application → Cookies, before touching the banner
Banner only
_ga
Set before consent
_gid
Set before consent
_fbp
Set before consent
With ConsentBit
No non-essential cookies
Blocked until consent

Illustration of the test result. Cookie names are the examples from step 3.

Not sure what your site sets?

Run a free scan and see every tracker in under a minute.

Scan my site free
What you get

What you get with ConsentBit

Included
Automatic cookie scanning
All plans
Script blocking before consent
All plans
Consent API for your own scripts
All plans
Exportable consent records
All plans
Google Consent Mode v2
All plans
Cookie and privacy policy generators
All plans
Full control over banner design
All paid plans
IAB TCF v2.3
Essential and Growth
Region-based rules
Growth

Proof, not promises.

Every consent is logged with its timestamp and choices, and exports as CSV or JSON.

  • Free · 1 domain, 5,000 pageviews
  • Basic $9
  • Essential $20
  • Growth $56 per domain, per month

Annual billing saves 12.5% to 33%. 14 day trial, no card required.

Start free trial
At a glance

ConsentBit for custom sites at a glance

Install method
One script before the closing head tag
Works with
Static HTML, custom builds, headless front ends, single-page apps, and any no-code builder with a custom code field
Named platforms
WordPress, Webflow, Framer, Shopify, Squarespace, Wix, Magento, Drupal, Joomla
Native apps
Webflow and Framer
Setup time
Under 10 minutes
Google-Certified CMP Partner
Yes
IAB TCF
v2.3 registered, CMP ID 502
Google Consent Mode v2
All plans
Consent records
CSV or JSON export
Pricing
Basic $9, Essential $20, Growth $56 per domain per month
Free plan
1 domain, 5,000 pageviews a month
Built by
Seattle New Media
Who it is for

Who this fits

Developers on custom builds.

One script instead of an implementation you maintain, plus a consent API for gating your own code.

Headless and SPA front ends.

Consent that survives client-side routing, which is where most home-rolled banners fall over.

No-code builders.

Bubble, Softr, Framer, Webflow and anything else with a custom code field. If you can paste a script, you can run a certified CMP.

Agencies.

One account across every client build, whatever it was made in.

Common mistakes

Four mistakes we see on custom sites

01

The banner that only hides cookies.

It renders, it stores a click, and the analytics script in the head already ran.

02

Consent stored, never acted on.

The choice sits in localStorage and no script ever reads it.

03

Consent lost on route change.

The SPA re-initialises and the visitor is asked again, or worse, tracked anyway.

04

No record.

A choice in the browser is not evidence. An export with timestamps is.

FAQ

Frequently asked questions

Yes, and plenty of free libraries do it well. The banner is the straightforward part. Scanning for trackers, blocking them before consent, signalling Google and keeping exportable records are the parts you would be building and maintaining yourself.

Not by itself. Compliance depends on non-essential scripts staying blocked until consent, a genuine reject option and a record you can produce. A banner library gives you the first interface, not the rest.

Paste the ConsentBit script before the closing head tag, set your cookie categories and publish. It works the same on a static site, a template or a component layout.

Yes. The script loads in the head of your rendered page, and the banner persists across client-side route changes.

Yes. The script goes into your front end, so it does not matter which CMS supplies the content.

Yes. The consent API lets your code check the visitor’s choice before running.

Plans start at $9 a month per domain for Basic. Essential is $20 and Growth is $56, with annual billing saving between 12.5% and 33%.

Yes. One domain, 5,000 pageviews a month, with GDPR and CCPA coverage, automatic script blocking and Google Consent Mode v2 included.

Yes. Consent records export as CSV or JSON, with timestamps and the exact choices made.

Scan. Block. Prove.

Consent, Done Better.

If you can paste a script, you can run a certified CMP.

Start free trial
From $9 a month. 14 day trial, no card required.