Learn how to create a cookie consent banner with GetTerms. In this guide, we’ll show you how to setup, style, configure, and customize your cookie banner. Create your own Cookie Consent Banner and manage consent with our award winning consent management platform.
This guide will walk you through the step-by-step process of adding a cookie consent banner to your website with a Cookie Banner Generator, ensuring your site meets legal standards and respects user privacy.
From the overview page, click the box that says cookie consent banner & cookie policy to start the cookie banner setup wizard.
Input your contact details for data privacy related inquiries.
Click Add Cookie Banner & Policy.
Your cookie banner has now been generated. GetTerms will automatically start scanning your website for cookies and categorizing them for you.
2. Customize your Cookie Banner
By default, your cookie banner will be set up with our recommended appearance settings and configured for global privacy compliance. If you’re happy with the default appearance settings, you can skip to section 5 to install your banner on your website.
If you’d like to customize your banner’s appearance, let’s walk you through some of the settings.
Font Size: Controls the size of the text on the message and button text of your banner.
Background: Controls the color of the background of your banner.
Font Color: Controls the color of the message text and secondary button text of your banner.
Button Color: Controls the background color of your banner’s primary button.
Button Text Color: Controls the color of your primary button’s text.
Link Text Color: Controls the color of any links found on your banner.
Same Style for all Buttons: When enabled, sets the color of all banner buttons to reflect the primary button color.
Custom Color for Update Preferences Button: When enabled, allows you to change the color of the floating cookie icon to a unique color. By default, this button will use your Button Color setting.
Appearance: Sets the banner format to either Card, Banner, Pill or Popup. Setting your banner to Pill or Card will enable you to select the position of your banner to left, center or right.
Block Page Interaction: When enabled, your users will be unable to interact with your site until they have input their cookie consent preferences (recommended for discreet banner styles).
Once you save your settings, it will take about 2 minutes for your changes to display on your live banner. This timer resets each time you update your settings.
3. Configure your Cookie Banner’s behavior
Click the configuration tab in the sidebar menu to open your banner’s configuration settings.
Configure your banner’s behaviour based on the location of your users with the Region Specific Configurations.
Consent setting: Allows you to select a preset banner behavior for quick setup.
Opt-in: Cookies are blocked automatically and only unblocked if the user consents to cookies.
Opt-out: Cookies are allowed by default but blocked if the user rejects cookies.
Use global default: Sets the cookie banner behavior to reflect the global default banner configuration (base of configuration page).
No banner: Cookies are granted by default and no banner is displayed.
Use regional default (California only): Sets the cookie banner behavior to reflect the banner configuration of the parent region.
Custom: Allows you to configure the region’s banner behavior manually.
Auto-block third party cookies: Automatically blocks non-essential cookie-setting scripts (e.g. Google Tag or Hotjar).
Reject all cookies button: Reject all cookies button.
Persistent icon to manage preferences: When enabled, a clickable floating icon will be displayed that allows users to quickly reopen the consent modal and update their cookie preferences.
Allow granular consent controls: When enabled, users will be able to select which categories of cookies they want to accept or reject.
Consent Mode Settings (Only visible if Google consent mode is enabled):
Default consent state: Controls the initial consent state set by the site before the user interacts with the consent banner. For opt-in, set this to denied; for opt-out, set this to granted.
Global Privacy Control (GPC) settings (United States only): GPC lets users set their consent preferences for marketing cookies at the browser level for all sites, allowing them to opt out of their personal information being sold or shared.
Respect GPC signals: Enabling this setting will allow your banner to detect and respect GPC signals automatically.
Show GPC detection notice: Displays a notification in the preferences panel to inform users that a GPC signal has been detected and their privacy preferences are being honored.
Click Save. As with the appearance settings, it will take about 2 minutes for your changes to display on your live banner. This timer resets each time you update your settings.
4. Edit your cookie banner’s content
You can edit any of the content fields found on your cookie banner via the Content tab of your dashboard.
All content settings are customizable per language. We support 5 languages natively: English US, English UK, German, French, Italian, Spanish, Hindi, and one custom translation.
By default, we will link to the generated cookie policy, hosted via our website in the relevant language. You can update this to a link of your choosing; just make sure you update the link in all languages if you wish to always link to the cookie policy hosted on your website.
Click Save at the bottom of the page to save your changes.
5. Install your Cookie Banner on your website
Once you’ve set up your banner with your desired appearance and configuration settings, you can install it using one of 3 methods.
Manual installation (recommended): Place your banner’s code snippet directly in your website’s <head> section. Make sure to position it as high as possible. It must be the first <script> tag on the page.
Default Language: Sets the language your consent banner displays in by default.
Language detection: When enabled, your banner will display in the user’s chosen browser language if it is supported. If the user’s browser language isn’t supported, your banner will display in your default language.
Via Google Tag Manager: Install and manage your banner using our Tag Template found in the Google Tag Manager Community Template Gallery. Note: This will prevent script blocking from working reliably.
5. Manage your cookies
While you’ve been setting up and installing your banner, our cookie scanner has been crawling your website, finding any active cookies and trackers and categorizing them for you. Any cookies found on the Cookie Management page, under Active Cookies, will be displayed on the second layer of your cookie banner.
You can add, edit, and remove any active cookie using the cookie editor.
Click the dropdown of any of the cookie categories to display the active cookies belonging to the category.
Click Add a cookie to add any cookies not found by our scanner. Cookies behind a login page or cart page may not be visible to our scanner.
Click the pencil icon to open the cookie editor.
Key: The unique name belonging to the cookie (e.g. _ga)
Category: The category belonging to the tracking cookie
Data controller: The name of the company responsible for creating the cookie, e.g. Google
Platform: The platform the cookie is tied to
Domain: The domain that sets the cookie; usually this is your domain
Retention period: How long the cookie stays saved in the user’s browser before expiring
Description: A description of what the cookie does, e.g. setting an ID that identifies unique users
Click Save to save any edits made to a cookie.
Click Back to report to go back to the Cookie Management page.
Click the red subtract/delete button to remove a cookie from the active cookies and place it in the inactive cookies section. Inactive cookies won’t be displayed on your consent banner.
Clicking Restore will place the cookie back in the active cookies section.
Clicking the trash can will remove the cookie from the report entirely. Note: If the cookie is detected in a later scan, it will be re-added to the inactive cookies section automatically.