[WordPress] 外掛分享: Konsentra – Cookie Consent Banner

首頁外掛目錄 › Konsentra – Cookie Consent Banner
WordPress 外掛 Konsentra – Cookie Consent Banner 的封面圖片
全新外掛
安裝啟用
尚無評分
12 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.2+ v1.0.4 上架:2026-08-05

內容簡介

Konsentra 是一款幫助網站遵循 GDPR 和 ePrivacy 規範的外掛,提供清晰的 Cookie 同意選擇,並具備可自訂的同意橫幅和腳本阻擋功能,確保用戶在同意後才會加載追蹤代碼。

【主要功能】
• 可自訂的響應式同意橫幅
• 接受所有、拒絕所有及偏好設定面板
• 四種預設 Cookie 類別
• 自動阻擋未獲同意的腳本
• 完全控制顏色、文本和按鈕標籤
• 簡單的短碼讓訪客隨時重新開啟偏好設定

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Konsentra – Cookie Consent Banner」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Konsentra gives your visitors a clear choice about the cookies your site uses, and helps you stay on the right side of GDPR and the ePrivacy rules. It ships with a clean, customisable banner, granular cookie categories, and a script blocker that holds tracking code back until someone actually agrees to it.
No account, no external service, no phoning home. Everything runs on your own site.
What you get

A responsive consent banner you can drop in at the top, bottom, or in a corner
Accept all, reject all, and a preferences panel for per-category control
Four cookie categories out of the box: strictly necessary, functional, analytics, and marketing
Automatic blocking of tagged scripts until the matching category is granted
Full control over colours, text, and button labels, with a live WordPress colour picker
A shortcode so visitors can reopen their preferences whenever they like
Optional, anonymised consent logging (hashed IP only, never a raw address)
Translation ready, with a bundled .pot file
Clean uninstall that removes everything it created

Blocking your own scripts
Tag any script you want held back until consent like this:

When the visitor grants the “analytics” category, Konsentra swaps it for a real script tag and runs it. The same works for inline scripts and for the functional and marketing categories.
Developer hooks
A konsentra:updated event fires on document every time consent changes, so your own code can react:
document.addEventListener( 'konsentra:updated', function ( e ) { console.log( e.detail ); } );

延伸相關外掛

文章
Filter
Mastodon