Title: ConsentLab – GDPR Cookie Consent Banner
Author: consentlab
Published: <strong>2026 年 6 月 29 日</strong>
Last modified: 2026 年 8 月 13 日

---

搜尋外掛

![](https://ps.w.org/consentlab/assets/banner-772x250.png?rev=3590282)

![](https://ps.w.org/consentlab/assets/icon-256x256.png?rev=3590282)

# ConsentLab – GDPR Cookie Consent Banner

 由 [consentlab](https://profiles.wordpress.org/consentlab/) 開發

[下載](https://downloads.wordpress.org/plugin/consentlab.1.3.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/consentlab/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/consentlab/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/consentlab/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/consentlab/#developers)

 [技術支援](https://wordpress.org/support/plugin/consentlab/)

## 外掛說明

ConsentLab is a free, privacy-first **cookie consent banner** that helps your WordPress
site meet **GDPR**, ePrivacy and CNIL requirements — without writing a single line
of code.

Install the plugin, connect it to your ConsentLab account in one click, and design
your **cookie notice** in the dashboard. The plugin loads it on your site, **blocks
analytics and marketing scripts until the visitor consents**, records proof of consent,
and keeps your **Google Consent Mode v2** signals in sync — so your Google Analytics
and Google Ads measurement stays compliant.

A lightweight, fast **Consent Management Platform (CMP)** built for real GDPR compliance—
not just a cookie banner.

**Features:**

 * Customizable cookie consent banner (colors, texts, position) designed in the 
   ConsentLab dashboard
 * Native Google Consent Mode v2 — GA4 & Google Ads
 * Automatic script blocking by category (analytics, marketing)
 * Cookies cleared automatically on consent withdrawal
 * Proof-of-consent storage and statistics, hosted in the EU
 * Hide the banner for logged-in administrators
 * Deferred script loading for performance (no jQuery)
 * Free plan available — no credit card required

### External services

This plugin relies on the ConsentLab service to display the consent banner and to
record consent. This connection is required for the plugin to function.

What it does and what data is sent:

 * Loads the banner script from `https://cdn.consentlab.eu/widget/v1/consentlab.
   min.js`.
 * Fetches your banner configuration from `https://api.consentlab.eu` using your
   public API key. The same endpoint is called from your WordPress admin to display
   the connection status (project name and plan).
 * Sends visitors’ consent choices (categories accepted/refused, an anonymised consent
   id and timestamp) to `https://api.consentlab.eu` for consent-proof storage and
   statistics.

The service is provided by ConsentLab.

 * Terms of Service: https://consentlab.eu/fr/cgu
 * Privacy Policy: https://consentlab.eu/fr/politique-confidentialite

## 螢幕擷圖

[⌊The ConsentLab consent banner on your website — compliant, customisable, refusing
as easy as accepting.⌉⌊The ConsentLab consent banner on your website — compliant,
customisable, refusing as easy as accepting.⌉[

The ConsentLab consent banner on your website — compliant, customisable, refusing
as easy as accepting.

[⌊Banner customization in the ConsentLab dashboard — colors, logo, position, languages,
published instantly.⌉⌊Banner customization in the ConsentLab dashboard — colors,
logo, position, languages, published instantly.⌉[

Banner customization in the ConsentLab dashboard — colors, logo, position, languages,
published instantly.

[⌊The automatic cookie scanner detects and categorises your trackers, with email
alerts on new ones.⌉⌊The automatic cookie scanner detects and categorises your trackers,
with email alerts on new ones.⌉[

The automatic cookie scanner detects and categorises your trackers, with email alerts
on new ones.

[⌊Consent analytics — acceptance rate, trends per site, CSV export.⌉⌊Consent analytics—
acceptance rate, trends per site, CSV export.⌉[

Consent analytics — acceptance rate, trends per site, CSV export.

[⌊All your sites and consents at a glance in the ConsentLab dashboard.⌉⌊All your
sites and consents at a glance in the ConsentLab dashboard.⌉[

All your sites and consents at a glance in the ConsentLab dashboard.

## 安裝方式

 1. Upload the plugin files to `/wp-content/plugins/consentlab/`, or install the plugin
    through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Go to Settings > ConsentLab.
 4. Click “Connect with ConsentLab” — sign in (or create a free account), pick the 
    project for this site, and the API key is configured automatically.

Alternatively, you can set it up manually: create a project at https://app.consentlab.
eu, copy its API key, paste it in the plugin settings and save.

## 常見問題集

### Do I need a ConsentLab account?

Yes. The banner configuration (design, texts, cookie categories) is managed in the
ConsentLab dashboard. A free plan is available — no credit card required.

### Where are consent choices stored?

Consent choices are stored on ConsentLab’s servers in the European Union, as proof
of consent required by GDPR. No personal data such as IP addresses is stored with
the consent record.

### Does the plugin slow down my site?

No. The banner script is a small file served from a CDN and is deferred by default,
so it does not block page rendering.

### Can I use the plugin on a staging site?

Yes. Endpoints can be overridden with the `CONSENTLAB_API_BASE`, `CONSENTLAB_CDN_URL`
and `CONSENTLAB_DASHBOARD_URL` constants in `wp-config.php` (see the Environment
panel in the plugin settings).

### Does the plugin work with a strict Content-Security-Policy (CSP)?

Yes. The widget is enqueued through the standard WordPress script API, so if your
CSP plugin adds nonces to script tags (via the `wp_script_attributes` or `script_loader_tag`
filters), the nonce is applied to the ConsentLab tag automatically — and the widget
propagates it to everything it injects. No configuration needed. Full guide: https://
consentlab.eu/en/docs/csp

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈ConsentLab – GDPR Cookie Consent Banner〉的開發相關工作。

參與者

 *   [ consentlab ](https://profiles.wordpress.org/consentlab/)

[將〈ConsentLab – GDPR Cookie Consent Banner〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/consentlab)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/consentlab/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/consentlab/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/consentlab/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/consentlab/)。

## 變更記錄

#### 1.3.5

 * Security hardening: the Connect redirect is now validated against an allowlist(
   safe redirect). No functional change.

#### 1.3.4

 * Compatibility verified with WordPress 7.1 — no functional change.

#### 1.3.3

 * Expanded the plugin description with clearer feature highlights (cookie banner,
   GDPR/CCPA consent, Consent Mode v2) — no functional change.

#### 1.3.2

 * Clearer plugin name and description, and refined tags to help you find it — no
   functional change.

#### 1.3.0

 * One-click “Connect with ConsentLab”: sign in, pick your project and the API key
   is configured automatically — no more copy-paste (secure OAuth Authorization-
   Code + PKCE flow).
 * Manual API key entry is still available as a fallback.

#### 1.2.0

 * Live API key validation: the connection is now checked as you type, before saving.
 * “Customize banner” now links straight to your project’s banner editor.
 * Added a confirmation that the banner is live, with a link to view your site.

#### 1.1.1

 * Internal: widget asset renamed cookie-cmp.min.js -> consentlab.min.js (brand 
   consistency)

#### 1.1.0

 * Renamed plugin slug and text domain to `consentlab` (options are migrated automatically).
 * New settings screen: branded header, live connection status (project name and
   plan), onboarding for new users, quick links.
 * Banner can be hidden for logged-in administrators.
 * Endpoints overridable via constants, options or filters (staging support).
 * Widget is now loaded through wp_enqueue_script with optional defer strategy.

#### 1.0.0

 * Initial release.

## 中繼資料

 *  版本 **1.3.5**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.3 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.2**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/consentlab/)
 * 標籤:
 * [consent mode](https://tw.wordpress.org/plugins/tags/consent-mode/)[cookie banner](https://tw.wordpress.org/plugins/tags/cookie-banner/)
   [cookie consent](https://tw.wordpress.org/plugins/tags/cookie-consent/)[cookies](https://tw.wordpress.org/plugins/tags/cookies/)
   [GDPR](https://tw.wordpress.org/plugins/tags/gdpr/)
 *  [進階檢視](https://tw.wordpress.org/plugins/consentlab/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/consentlab/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/consentlab/reviews/)

## 參與者

 *   [ consentlab ](https://profiles.wordpress.org/consentlab/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/consentlab/)