[WordPress] 外掛分享: Clarke Cookie Consent

首頁 › 外掛目錄 › Clarke Cookie Consent
WordPress 外掛 Clarke Cookie Consent 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 7.4+ v0.1.2 上架:2026-10-12

內容簡介

Clarke Cookie Consent 外掛協助網站在設置非必要的 Cookie 前,向訪客請求同意,符合英國 GDPR、PECR 及 ICO 指導方針的要求,確保網站的合規性。

【主要功能】
• 提供接受與拒絕所有 Cookie 的選項
• 訪客可按類別選擇 Cookie 偏好設定
• 設置小型 Cookie 設定按鈕,隨時更改選擇
• 自動生成 Cookie 政策頁面供使用者審核
• 支援頁面快取,選擇在訪客瀏覽器中讀取

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.2) 或搜尋安裝

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

原文外掛簡介

Clarke Cookie Consent asks visitors for permission before any non-essential cookies are set, as the UK GDPR,
PECR and the ICO’s guidance require.

A cookie banner with Accept all and Reject all buttons given equal prominence.
A preferences panel where visitors choose by category: Necessary (always on), Analytics and Marketing.
Tracking scripts are held back until the visitor accepts their category – nothing runs on page load.
A small cookie settings button on every page, so visitors can change or withdraw their choice at any time.
Withdrawing consent removes the tracking cookies the site set and reloads the page.
A Cookie Policy page is created for you when the plugin is activated, ready for you to review.
Works with page caching – the choice is read in the visitor’s browser, not on the server.

Blocking your scripts
Paste tracking code (Google Analytics, Meta Pixel and so on) into Settings > Cookie Consent > Scripts, under
the right category. It is added to every page, but only runs once the visitor accepts that category.
Scripts already in your theme can be blocked by changing the script tag to:

using analytics or marketing as the category.
Changing the choice later
As well as the floating button, you can add a button anywhere with the shortcode [cd_cookie_settings],
link a menu item to #cd-cookie-settings, or give any element the class cd-cookie-settings.
For developers

window.cdCookieConsent.hasConsent( 'analytics' ), .getConsent() and .showPreferences().
Document events cd-cookie-consent:ready and cd-cookie-consent:change (the choice is in event.detail.consent).
Filters cd_cookie_consent_categories and cd_cookie_consent_clear_cookies.
Colours can be changed with CSS variables such as --cd-cc-accent and --cd-cc-bg.

A Pro add-on adds banner position and colour options, and holds back YouTube videos and Google Maps until visitors consent.

延伸相關外掛

文章
Filter
Mastodon