[WordPress] 外掛分享: NB Cookie Consent

WordPress 外掛 NB Cookie Consent 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「NB Cookie Consent」是 2025-12-08 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2025-12-21,距離現在已有 67 天。
  • 外掛最低要求 WordPress 5.2 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

aviyo |

外掛標籤

rtl | CCPA | GDPR | cookie consent | script blocker |

內容簡介

總結:NB Cookie Consent 提供針對 WordPress 網站的 Cookie 同意功能,並具有腳本阻擋功能。

問題與答案:
1. NB Cookie Consent 主要提供什麼功能?
- 提供 Cookie 的接受和拒絕按鈕(符合 GDPR)
- 在使用者同意前阻擋 WordPress 的腳本
- 全面支援 RTL(從內建支援希伯來語和阿拉伯語)
- 橫幅自定義(顏色、位置、按鈕文本)
- 自訂按鈕文本,可翻譯成任何語言

2. 升級到 NB Cookie Consent Pro 版本可以獲取哪些額外功能?
- Google Consent Mode v2(對 Google 廣告至關重要)
- 智能腳本阻擋 - 即使是硬編碼腳本也可以阻擋
- 多語言支援 - 自動檢測 5 種語言 + WPML
- 自動掃描器和 Cookie 分類
- 同意儀表板(分析)
- 高級設計 - 6 種版面設計
- 優先支援

3. 這個外掛的腳本阻擋方法是什麼?
- 使用 WordPress 的 script_loader_tag 過濾器,在整個伺服器上阻擋追蹤腳本,直到用戶同意。

4. 這個外掛的隱私政策是什麼?
- 外掛將用戶同意存儲在名為 nb_cookie_consent 的 cookie 中,有效期為 365 天。
- 沒有個人數據傳送到外部服務器。
- 外掛只根據用戶同意啟用/禁用追蹤腳本。

原文外掛簡介

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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「NB Cookie Consent」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.1.7 | 1.1.8 | 1.1.9 | 1.2.0 | 1.2.1 | trunk |

延伸相關外掛(你可能也想知道)

文章
Filter
Apply Filters
Mastodon