Title: Simple Consent Mode
Author: Marcin Pietrzak
Published: <strong>2025 年 2 月 13 日</strong>
Last modified: 2026 年 4 月 30 日

---

搜尋外掛

![](https://ps.w.org/simple-consent-mode/assets/banner-772x250.jpg?rev=3239834)

![](https://ps.w.org/simple-consent-mode/assets/icon.svg?rev=3239834)

# Simple Consent Mode

 由 [Marcin Pietrzak](https://profiles.wordpress.org/iworks/) 開發

[下載](https://downloads.wordpress.org/plugin/simple-consent-mode.1.4.0.zip)

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

 [技術支援](https://wordpress.org/support/plugin/simple-consent-mode/)

## 外掛說明

The **Simple Consent Mode** plugin helps seamlessly integrate Google Tag Manager’s(
GTM) Consent Mode v2 on your website, ensuring compliance with privacy regulations
like GDPR. This lightweight plugin automatically configures Consent Mode and manages
user consent for analytics and marketing cookies.

With Simple Consent Mode, you can dynamically adjust the behavior of your tags based
on whether the user has granted or denied consent, while still gathering anonymous
data when consent is not provided. The plugin makes it easy to implement, providing
a simple interface for enabling and configuring consents, without needing to manually
adjust code.

#### Key Features

 * **Automatic Consent Mode Configuration**: Integrates GTM Consent Mode v2 with
   no need for complex manual setup.
 * **Granular Consent Control**: Allows users to opt in or out of specific types
   of cookies (e.g., analytics, marketing).
 * **GTM Tag Support**: Works seamlessly with Google Analytics, Google Ads, and 
   other GTM tags that rely on user consent.
 * **GDPR and Privacy Compliant**: Helps ensure compliance with global privacy regulations
   by allowing proper consent tracking.
 * **Lightweight & Easy Setup**: Minimal configuration required.

This plugin simplifies the process of integrating and managing GTM’s Consent Mode
v2, giving site owners better control over cookie usage while respecting user privacy
preferences.

#### GitHub

The Simple Consent Mode plugin is available also on [GitHub – Simple Consent Mode](https://github.com/iworks/simple-consent-mode).

## 安裝方式

There are 3 ways to install this plugin:

#### The super-easy way

 1. Navigate to WPA > the Plugins and click the `Add New` button.
 2. Search for `Simple Consent Mode`.
 3. Click to install.
 4. Activate the plugin.
 5. A new menu `Simple Consent Mode` will appear in your Admin.

#### The easy way

 1. Download the plugin (.zip file) on the right column of this page
 2. Navigate to WPA > the Plugins and click the `Add New` button.
 3. Select button `Upload Plugin`.
 4. Upload the .zip file you just downloaded.
 5. Activate the plugin.
 6. A new menu `Simple Consent Mode` will appear in your Admin.

#### The old and reliable way (FTP)

 1. Upload `simple-consent-mode` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. A new menu `Simple Consent Mode` will appear in your Admin.

## 常見問題集

### I have a problem with the plugin, or I want to suggest a feature. Where can I do this?

You can do it on [Support Threads](https://wordpress.org/support/plugin/simple-consent-mode/#new-topic-0),
but please add your ticket to [Github Issues](https://github.com/iworks/simple-consent-mode/issues/new).

### How to open the consents dialog for any location (eg. a menu)

Simply add the class `iw-scm-dialog-open` to any link, and the dialog will open.

### How to use the shortcode `scm_link_to_show’

The shortcode scm_link_to_show, is designed to create a link that opens a consent
dialog.i

Parameters
 The scm_link_to_show shortcode accepts the following parameters:

 * **container_tag**: The HTML tag to use for the container element. Default is 
   div.
 * **container_classes**: Classes to apply to the container element.
 * **classes**: Classes to apply to the link element itself.
 * **text**: The text to display for the link.
 * **aria-label**: The ARIA label for accessibility purposes.

**Usage Example**

To use the shortcode, insert it into your WordPress page or post with the desired
parameters.

    ```
    [scm_link_to_show
      container_tag="span"
      container_classes="my-container-class"
      classes="my-link-class"
      text="Open Consent Dialog"
      aria-label="Open consent dialog for more information"]
    ```

This will create a link wrapped in a span element with the specified classes and
text, and it will open a consent dialog when clicked.

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈Simple Consent Mode〉的開發相關工作。

參與者

 *   [ Marcin Pietrzak ](https://profiles.wordpress.org/iworks/)

〈Simple Consent Mode〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/simple-consent-mode/contributors)
為這個外掛做出的貢獻。

[將〈Simple Consent Mode〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/simple-consent-mode)

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

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

## 變更記錄

#### 1.4.0 – 2026-04-30

 * **Dependencies**: Updated the [iWorks Options](https://github.com/iworks/wordpress-options-class)
   module to version 3.1.0.
 * **Enhancement**: Added checkbox state management for “Allow All” action – all
   checkboxes are now checked when user selects “Allow All”.
 * **Enhancement**: Added checkbox state management for “Deny All” action – all 
   checkboxes are now unchecked when user selects “Deny All”.
 * **Enhancement**: Changed default button from “Customize” to “Personalize’. (only
   affected to new or never saved configurations)
 * **Enhancement**: “Deny” button is always visible.
 * **Feature**: Added Microsoft Clarity integration support. The plugin now supports
   Microsoft Clarity tracking with proper consent management. [#14](https://github.com/iworks/simple-consent-mode/issues/14).
   Props for [Katarzyna Janoska](https://github.com/anoriell).

#### 1.3.5 – 2026-03-26

 * **Bug**: Fixed issue with modal raising every time.
 * **Cleanup**: Removed unnecessary export file.

#### 1.3.4 – 2026-03-26

 * **Enhancement**: Added checkbox state restoration from cookie values. The dialog
   now properly reflects user’s previous consent choices when reopened. [#10](https://github.com/iworks/simple-consent-mode/issues/10),
   [#18](https://github.com/iworks/simple-consent-mode/issues/18).
 * **Enhancement**: Improved consent data handling for logged-in vs non-logged-in
   users.
 * **Bug**: Fixed HTTP method in consent logging to use POST instead of empty string.

#### 1.4.0 – 2026-03-25

#### 1.3.3 – 2026-03-20

 * **Bug**: Fixed Bootstrap CSS conflict issue. [#15](https://github.com/iworks/simple-consent-mode/issues/15).
   Props for [Katarzyna Janoska](https://github.com/anoriell).
 * **Bug**: Fixed JavaScript error when Cookie icon is hidden. [#16](https://github.com/iworks/simple-consent-mode/issues/16).
   Props for [Katarzyna Janoska](https://github.com/anoriell).
 * **Dependencies**: Updated the [iWorks Options](https://github.com/iworks/wordpress-options-class)
   module to version 3.0.9.

#### 1.3.2 – 2025-10-28

 * **Dependencies**: Updated the [iWorks Options](https://github.com/iworks/wordpress-options-class)
   module to version 3.0.8.
 * **Bug**: Fixed the issue with the options object not being initialized. [#13](https://github.com/iworks/simple-consent-mode/issues/13).
   Props for [Katarzyna Janoska](https://github.com/anoriell).

#### 1.3.1 – 2025-07-09

 * **Dependencies**: Updated the [iWorks Options](https://github.com/iworks/wordpress-options-class)
   module to version 3.0.7 and the [iWorks Rate](https://github.com/iworks/iworks-rate)
   module to version 2.3.1.

#### 1.3.0 – 2025-03-29

 * The ability to show or hide the about consents tab has been added. [#6](https://github.com/iworks/simple-consent-mode/issues/6).
 * The ability to show or hide the icon has been added. [#7](https://github.com/iworks/simple-consent-mode/issues/7).
   Props for [Daniel](https://www.linkedin.com/in/daniel-bocek-186944197).
 * The issue regarding option initialization has been addressed.
 * The `[scm_link_to_show]` shortcode has been added. [#8](https://github.com/iworks/simple-consent-mode/issues/8).
   Props for [Daniel](https://www.linkedin.com/in/daniel-bocek-186944197).
 * Updated the [iWorks Options](https://github.com/iworks/wordpress-options-class)
   module to version 2.9.9.

#### 1.2.3 – 2025-03-20

 * Enhanced CSS for smaller screens. Props for [Daniel](https://www.linkedin.com/in/daniel-bocek-186944197).
 * Wrong [GitHub releases](https://github.com/iworks/simple-consent-mode/releases)
   zip file URL has been fixed [#5](https://github.com/iworks/simple-consent-mode/issues/5).

#### 1.2.2 – 2025-03-13

 * Enhanced CSS class selectors to prevent conflicts with theme styles.
 * Improved build process for better performance and efficiency.
 * The dialog logo has been corrected to prevent the use of the cropped version.
 * Updated the [iWorks Options](https://github.com/iworks/wordpress-options-class)
   module to version 2.9.8.
 * Wrong [GitHub releases](https://github.com/iworks/simple-consent-mode/releases)
   zip file URL has been fixed.

#### 1.2.1 – 2025-02-25

 * Wrong data decode has been fixed.

#### 1.2.0 – 2025-02-25

 * The frontend has been refactored.
 * Updated the [iWorks Options](https://github.com/iworks/wordpress-options-class)
   module to version 2.9.7.
 * Translation loading for [github releases](https://github.com/iworks/simple-consent-mode/releases)
   has been fixed.

#### 1.1.1 – 2025-02-20

 * A typo in code has been fixed. [#3](https://github.com/iworks/simple-consent-mode/issues/3).
 * The Plugins row setting link has been fixed.
 * The capability to setting page has been fixed.

#### 1.1.0 – 2025-02-19

 * The Consent Log has been added. [#1](https://github.com/iworks/simple-consent-mode/issues/1).
 * In the description fields you can use HMTL tags now. [#2](https://github.com/iworks/simple-consent-mode/issues/2).
   Props for [sylwiastein](https://github.com/sylwiastein).

#### 1.0.0 – 2025-02-13

 * Initial release.

## 中繼資料

 *  版本 **1.4.0**
 *  最後更新 **4 週前**
 *  啟用安裝數 **300+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 8.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/simple-consent-mode/) 及 [Polish](https://pl.wordpress.org/plugins/simple-consent-mode/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/simple-consent-mode)
 * 標籤:
 * [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/)[cookie notice](https://tw.wordpress.org/plugins/tags/cookie-notice/)
   [GDPR](https://tw.wordpress.org/plugins/tags/gdpr/)
 *  [進階檢視](https://tw.wordpress.org/plugins/simple-consent-mode/advanced/)

## 評分

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

[Your review](https://wordpress.org/support/plugin/simple-consent-mode/reviews/#new-post)

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

## 參與者

 *   [ Marcin Pietrzak ](https://profiles.wordpress.org/iworks/)

## 技術支援

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

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