sandywp / plugins / beautiful-and-responsive-cookie-consent

Beautiful Cookie Consent Banner

4.5 out of 5 stars. 4.5 95 reviews

Free and beautiful Cookie Consent Banner to make your website compliant. Highly customizable and not loading any files from 3rd party servers.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v4.11.0 40,000+ installs WP 4.0+ PHP 7.0.0+

your-sandbox.sandywp.com/wp-admin
Beautiful Cookie Consent Banner running inside a SandyWP sandbox

What you get inside

8 screens
  • Cookie Banner Mobile Example - two buttons.

  • Cookie Banner admin settings area with banner example.

  • Set the colors and general appearence of the Cookie Banner.

  • Set the text and customize the links of the Cookie Banner.

  • How should the Cookie Banner behave? Two Buttons, one button? Consent categories? Everything is possible.

  • Define how user can interact with the Cookie Baner after they closed it? Only per shortcode link? Or a tab?

  • Block scripts which set cookies automatically with the premium add-on of this cookie banner.

  • Basic cookie settings. The consents are stored in a cookie.

About this plugin

Beautiful Cookie Consent Banner is a free, highly customizable cookie consent plugin for WordPress, with zero external dependencies.

Create a cookie banner that perfectly matches your website. Customize colors, fonts, text, buttons, and layout without writing code. All banner resources are hosted directly on your WordPress site, with no external CDNs or third-party requests.
Unlike cookie consent solutions that rely on external services, Beautiful Cookie Consent Banner runs independently on your own website, which might give you a privacy advantage.

Key Features — Free

  • Fully customizable: Adjust colors, fonts, text, buttons, positioning, and appearance to match your website.
  • Zero external dependencies: No external CDNs or third-party requests from the cookie banner. Everything is served from your own domain.
  • Flexible consent management: Choose between information-only, opt-in, opt-out, and category-based consent.
  • Responsive design: Multiple banner layouts that adapt to desktop and mobile devices.
  • Consent integrations: Supports the WP Consent API and Google Tag Manager dataLayer events.
  • Visitor preferences: Allow visitors to review and change their cookie settings at any time.
  • Developer-friendly: Customization hooks, import/export functionality, and configurable cookie settings.

More Features with Premium

Need advanced consent management? Extend the free plugin with optional Premium features:

  • Google Consent Mode v2: Integrate consent signals with Google Analytics and Google Ads.
  • Automatic service blocking (beta): Block supported services until visitors provide consent.
  • Multilingual cookie banners: Display your banner in different languages.
  • Microsoft integrations: Support for Microsoft Clarity Consent API and Microsoft UET Consent Mode.
  • Consent statistics and logs: Gain insights into visitor consent decisions.
  • Advanced Google Tag Manager integration: Load and configure GTM through the plugin.

Explore all Premium features

Privacy-Friendly by Design

Your cookie banner should respect your visitors’ privacy without introducing unnecessary external dependencies.

Beautiful Cookie Consent Banner loads its own resources directly from your website. There’s no need for external hosting services or third-party CDNs just to display your banner.

These cookies are set by this plugin

See the list cookies and localStorage used: Cookies used by Cookie Banner

Features

  1. Fully responsive.
  2. Make consent cookie a backend cookie to prevent automatic deletion which many browsers do for javascript/frontend cookies.
  3. reload after acceptance
  4. Works with liteSpeed and other caching plugin.
  5. Easily export your settings to another installation: just copy and paste the json string.
  6. Show banner until user accepts cookies
  7. Google Tag Manager supported: Push consent to dataLayer for easy configuration
  8. Users can easily change cookie settings: choose between an extra tab or with a shortcode.
  9. Fully customizable colors and text.
  10. It is for all kind of compliance: opt-out, opt-in, info only, differentiated
  11. choose between different themes
  12. choose the position on your website
  13. choose cookie name, duration, domain.
  14. cookie setting management via shortcode: [cc_show_cookie_banner_nsc_bar]
  15. preview banner in backend.
  16. auto dismiss
    … and there are a lot more.

See the full list of all features: beautiful-cookie-banner.com

The plugin helps you preparing your website for a lot cookie laws and regulations, for example:

  • GDPR: The General Data Protection Regulation (European Union)
  • CCPA: The California Consumer Privacy Act (California, United States)
  • PIPEDA: The Personal Information Protection and Electronic Documents Act (Canada)
  • LGPD: The Brazilian General Data Protection Law (Brazil)
  • OAIC: Australia’s Privacy Principles (Australia)

Credits

This really beautiful plugin wraps the solution provided by osano (https://www.osano.com/cookieconsent/download/) into a wordpress plugin.
This Version uses 3.1.0 from osano as basis, but it has a lot modifications to the original source code. It is optimized for performance and for a low database impact.

NOTE: Using this plugin alone does not make your site automatically compliant. As each website and country is different you must make sure you have the right configurations in place. Google tag manager can help you with that for free.

Questions

Why backend cookies? (ITP >= 2.1)

Most Cookie Banner plugins set javascript cookies. In Safari and Firefox these cookies have a short lifetime, even if the cookie is set with an very long expiration date.
Consequence: Your user have to opt in every seven days again. And sees the banner every seven days. Which is kind of annoying.
With this Plugin the consent cookie stays save and is not limited in lifetime. If you use the option.

How to remove tab at the bottom?

Just go to Settings > Cookie Consent Banner > Consent Management and uncheck the checkbox “Show ‘Cookie Settings’ tab”

Does this plugin have a setting for blocking scripts or cookies until acceptance?

Yes. With the premium add-on (beautiful-cookie-banner.com) you can enable autoblocking. But be aware: there is no 100% guarantee that this will always work. As this is heavily dependent from your wordpress installation.

How should I organize my trackingscripts and cookies?

The technical recommandation is to use the google tag manager. It is an awesome and free tagmanager. Since version 2.2 this plugin natively supports it. But as always: check if it is legal to use it in your jurisdication☝️.

I have a custom template and want to modify the cookie message. How?

You can use the filter hook “nsc_bar_cookie_bar_message” in your plugin or theme.

4.5

95 reviews

  • 5 ★ 81
  • 4 ★ 2
  • 3 ★ 2
  • 2 ★ 1
  • 1 ★ 9

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.