Create your free cookie banner
Use our setup wizard and have your banner ready to use in minutes.
- Free and open source
- Google Consent Mode v2
- No account needed
Step 1Color scheme, Classic
Low contrast between background and other colors. Help me understand (opens in a new window)
Step 2Position, Bottom right
Step 3Background, Dimmed 20%
The page behind the banner is dimmed and can’t be used until the visitor accepts, rejects or saves their preferences.
Step 4Cookie icon, Bottom left · Accent
The cookie icon is shown after the banner is closed, allowing users to change their preferences.
Step 5Consent types, 3 types
Google Consent Mode and scripts ,
Essential
Google Consent Mode and scripts ,
Analytics
Google Consent Mode and scripts ,
Marketing
Google Consent Mode and scripts ,
Advanced
Override the event fired to window.dataLayer when consent changes. Leave blank to use the default stcm_consent_update.
Step 6Banner text
Accept button
Reject button
Preferences button
Accessible labels are used to describe each button audibly, e.g. for partially-sighted users.
Step 7Preferences panel text
Save button
Credit button
Step 8Installation instructions
Step 1: Add this HTML to your page, inside the <head> tag. The CSS and JS load from jsDelivr CDN — no files to host yourself.
Step 2 (optional): Prefer to self-host? Download the bundle and replace the CDN URLs with paths to where you place the files.
Learn more: Consult our documentation for advanced configuration options and how to set up with Google Consent Mode.
Subscribe to updates
Our cookie banner code will receive updates from time to time. Sign up to be notified so you can download the new version. No spam, we promise.
Press Escape to come back to the wizard.