Lightweight Cookie Consent Banner

Google Consent Mode v2 support without a 300KB script or a monthly fee: a cookie consent banner that weighs about 8 KB, loads nothing from other servers and works with page caching.

Lightweight Cookie Consent Banner asks your visitors for cookie consent and passes their answer on to Google, without slowing your site down or sending you a bill. Most consent tools load a large script from their own servers on every page and start charging by the month once your traffic grows. This one is about 8 KB, inlined in the page, with nothing fetched from anywhere else, and it's free.

It sets up Google Consent Mode v2 the way Google asks for it. All seven signals, including ad_user_data and ad_personalization, start as denied at the very top of the page, before any Google tag runs, and update the moment a visitor chooses. Google Analytics, Google Ads and Tag Manager follow them whether they're added by Site Kit, another plugin or the plugin's own Google tag field, so Google can still model the conversions you'd otherwise lose. Other trackers, like the Meta Pixel or Microsoft Clarity, wait until their category is allowed.

Visitors get Accept all, Reject all and Customize on the banner, a preferences window with Necessary, Preferences, Analytics and Marketing switches, and a small cookie button to change their mind later. Pick a box, a bar or a centered popup in light or dark, set your accent color and reword anything, with a live preview as you go. Ask everyone, or only visitors in Europe. Settings live under Content Powered > Lightweight Cookie Consent Banner, and updates arrive through the normal WordPress Updates screen.

Features

  • Google Consent Mode v2. All seven signals, denied before any Google tag loads and updated the moment a visitor chooses.
  • About 8 KB. Inlined in the page, with no jQuery, no fonts and no requests to other servers.
  • No monthly fee. No account, no page view limits and nothing to renew.
  • Advanced or basic mode. Load your Google tag right away and cookieless, or only after consent.
  • Holds back other trackers. Meta Pixel, Clarity, Hotjar and other scripts run only once their category is allowed.
  • Reject as easily as accept. Accept all, Reject all and Customize on the banner itself, with the same look by default.
  • Changing their mind. A small cookie button reopens the preferences, and withdrawing consent clears tracking cookies.
  • Europe only, if you like. Ask everyone, or only visitors in the EEA, the UK and Switzerland.
  • Your theme can't break it. It uses your font but keeps its own styles, and it never shifts your layout.
  • Works with page caching. Clears WP Rocket, LiteSpeed and other caches when you save, and stays clear of script delay plugins.
  1. Click Download above to save lightweight-cookie-consent-banner.zip. Leave it zipped.
  2. In your WordPress dashboard, go to Plugins > Add New Plugin and click Upload Plugin.
  3. Choose the ZIP and click Install Now, then Activate Plugin.

To update later, upload a newer ZIP the same way. WordPress offers to replace the installed version and keeps your settings.

Do I Need a Cookie Banner If I Only Use Google Analytics?

If you have visitors in the EEA, the UK or Switzerland, almost certainly. Google Analytics sets cookies, which need consent there, and Google now expects Consent Mode v2 signals for that traffic before it will use it for remarketing and conversion modeling. This plugin takes care of both.

Will It Slow Down My Site?

No. Both of its scripts are inlined in the page, about 8 KB together, so there's no extra file to download and nothing is fetched from another server. The banner sits on top of the page instead of pushing it around, so it doesn't cause layout shift, and it works with page caching because every visitor gets the same HTML.

Does It Work With Site Kit and Google Tag Manager?

Yes. The Consent Mode defaults are printed before anything else in the page, so Google tags added by Site Kit, Tag Manager or your theme follow them. Leave Site Kit's own Consent Mode setting off, since this plugin already sends the signals. Tag Manager also gets an lccb_consent event whenever the choice is known or changes.

What's the Difference Between Advanced and Basic Mode?

In advanced mode, which Google recommends, your Google tag loads right away but sets no cookies until the visitor agrees, and its cookieless pings let Google model the conversions you'd miss. In basic mode, nothing from Google loads until the visitor allows analytics or marketing.

Can I Show the Banner Only to Visitors in Europe?

Yes. Choose "Only visitors in the EEA, the UK and Switzerland" on the Google tab. Google applies the denied defaults to those countries by IP address, and the banner appears for visitors whose device is set to a European time zone, which works with page caching without looking anyone up.

Does It Work With AdSense?

Not for visitors in Europe. Google requires a certified consent platform that supports the IAB's TCF framework for AdSense, Ad Manager and AdMob ads there, and this plugin isn't one. For Google Analytics, Google Ads conversion tracking, remarketing and Tag Manager, its Consent Mode signals are what Google needs.

Where Are the Settings?

In your dashboard under Content Powered > Lightweight Cookie Consent Banner. If you use other Content Powered plugins, they share the same menu.

Download

Download Plugin

By downloading, you agree to the .

All Time Downloads
45

Download activity

More Free WordPress Plugins

Let's Grow Your Business

Want some free consulting? Let's hop on a call and talk about what we can do to help.

WordPress Plugin Terms of Use

Last updated October 26, 2026

These terms apply to every free plugin you download from the WordPress Plugins section of contentpowered.com (the "plugins"). By downloading, installing or using a plugin, you agree to them. If you don't agree, please don't download or use the plugins.

1. Provided "as is"

The plugins are free and are provided "as is" and "as available", without warranty of any kind, express or implied. That includes any warranty of merchantability, fitness for a particular purpose, non-infringement or security, and any promise that a plugin will be free of errors, compatible with your site, or kept up to date.

2. You use them at your own risk

You're responsible for deciding whether a plugin is right for your site, for testing it, for keeping backups, and for keeping WordPress, your theme, your plugins (ours included) and your hosting up to date and secure. We recommend trying any new plugin on a staging copy of your site first.

3. No guarantee of updates or support

We may update, change or stop maintaining any plugin at any time, without notice. Older versions may contain bugs or security vulnerabilities, and it's up to you to install updates. We don't promise to fix problems, answer questions or provide support, though you're welcome to report issues from inside a plugin (Content Powered > Report a Bug in your WordPress dashboard).

4. Limitation of liability

To the fullest extent the law allows, Content Powered and its owners, employees and contractors are not liable for any direct, indirect, incidental, special, consequential or punitive damages, or for any loss of data, revenue, profits, search rankings, traffic or business, arising from downloading, installing, using or being unable to use a plugin. This includes hacks, security breaches, malware, downtime, conflicts with other software, and problems caused by outdated versions. If we are found liable despite this, our total liability is limited to the amount you paid us for the plugin.

5. You agree to hold us harmless

You agree to indemnify and hold harmless Content Powered and its owners, employees and contractors from any claims, losses, damages, liabilities and costs, including reasonable legal fees, that arise from your use of a plugin or your breach of these terms.

6. License

Each plugin is released under the license stated in its files, usually the GNU General Public License (GPL) version 2 or later. The GPL lets you use, study, change and share the plugin, and it also says the software comes with no warranty. Nothing in these terms takes away the rights a plugin's license gives you.

7. Third-party code and services

Some plugins include code from other projects or connect to services run by other companies, which have their own licenses and terms. We aren't responsible for them.

8. Changes to these terms

We may update these terms at any time. The version shown here applies from the date above.

9. Our other terms

These terms add to our website Terms and Conditions and Privacy Statement. Where they conflict, these terms apply to the plugins. Questions? Contact us.

Report an Issue

The best way to report an issue is from inside the plugin:

  1. Log in to your WordPress dashboard at yoursite.com/wp-admin/.
  2. In the left-hand menu, go to Content Powered > Report a Bug.

Can't get into your dashboard? Contact us instead.

Share
Tweet
Share
Pin
Email