NB Cookie Consent

plugin banner

Cookie consent banner with script blocking for WordPress. Lightweight, GDPR-friendly with full RTL support.

Author:aviyo (profile at wordpress.org)
WordPress version required:5.2
WordPress version tested:6.8.3
Plugin version:1.2.1
Added to WordPress repository:09-12-2025
Last updated:21-12-2025
Rating, %:0
Rated by:0
Plugin URI:https://nbplugins.com/cookie-consent
Total downloads:334
Active installs:20+
plugin download
Click to start download

NB Cookie Consent provides cookie consent functionality for WordPress websites with script blocking capabilities.

Features:
* Accept & Decline cookie buttons (GDPR-friendly)
* WordPress script blocking until consent
* One-click Cookie Policy page generator
* Full RTL support (Arabic, Hebrew, Persian & more)
* Banner customization (colors, positioning, button text)
* Custom button text – translate to any language
* Admin testing tools to verify blocking
* Debug mode for developers
* Cookie consent revocation shortcode [nb_cookie_revocation]
* Accessibility Ready (WCAG) – ARIA support, keyboard navigation, screen-reader friendly
* Cache Plugin Compatible – Works with WP Rocket, LiteSpeed, W3 Total Cache & more

Blocked Scripts:
* Google: Analytics (GA4, UA), Tag Manager, Site Kit
* Meta: Facebook Pixel, Facebook Events
* Analytics: MonsterInsights, ExactMetrics, Yoast GA
* Behavior: Hotjar, FullStory, LogRocket, Heap
* Marketing: Mixpanel, Segment, Amplitude
* Chat Widgets: Intercom, Zendesk, Tawk.to, Crisp, Drift
* + Many more automatically detected via WordPress handles

Pro Version Available:
Upgrade to NB Cookie Consent Pro for additional features:
* Google Consent Mode v2 (Essential for Google Ads)
* Smart Script Blocking – blocks even hardcoded scripts
* Multi-language Support – Auto-detects 5 languages + WPML
* Automatic Scanner & Cookie Categorization
* Consent Dashboard (Analytics)
* Premium Designs – 6 layouts
* Priority support

Use Cases:
* WordPress sites needing cookie consent
* RTL language websites (Arabic, Hebrew, Persian)
* Basic privacy compliance requirements

Design:
LTR & RTL support ready out of the box.

Technical Details

Script Blocking Method:
Uses WordPress’s script_loader_tag filter to block tracking scripts at the server level until user consent.

Supported Scripts:
* google-analytics
* googleanalytics
* gtag
* gtm
* google-tag-manager
* facebook-pixel
* fbpixel

Browser Compatibility:
* Chrome 70+
* Firefox 65+
* Safari 12+
* Edge 79+

Performance:
* Minimal impact on page load speed
* Efficient consent checking
* Clean, lightweight code

Privacy Policy

This plugin stores user consent in a cookie named nb_cookie_consent for 365 days. No personal data is transmitted to external servers. The plugin only enables/disables tracking scripts based on user consent.

Support

For support, please use the WordPress.org support forums.
For priority support and advanced features, consider upgrading to NB Cookie Consent Pro.

Legal Notice

This plugin provides a technical tool for implementing cookie consent.
The author does not provide legal advice and bears no responsibility for any damage, fine, or claim arising from the use of this plugin.
It is strongly recommended to consult with a qualified legal expert to ensure compliance with applicable privacy and cookie regulations.


Screenshots
FAQ
ChangeLog