Title: Consentico
Author: mamunitiw
Published: <strong>2026 年 5 月 15 日</strong>
Last modified: 2026 年 5 月 15 日

---

搜索插件

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

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

# Consentico

 作者：[mamunitiw](https://profiles.wordpress.org/mamunitiw/)

[下载](https://downloads.wordpress.org/plugin/consentico.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/consentico/#description)
 * [评价](https://cn.wordpress.org/plugins/consentico/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/consentico/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/consentico/#developers)

 [支持](https://wordpress.org/support/plugin/consentico/)

## 描述

**Consentico** is a lightweight cookie consent bar plugin for WordPress. It helps
you comply with GDPR and CCPA by informing visitors about cookie usage and collecting
their consent — simply and beautifully.

#### ✨ Features

 * **Accept & Decline buttons** — give visitors full control
 * **Privacy Policy link** — link directly from the notice
 * **Remembers choice** — stored in browser cookie (30 days to 1 year)
 * **Accept/Decline statistics** — track how many visitors accept vs decline in 
   the admin panel
 * **Google Analytics consent** — optionally block GA until user accepts
 * **Slide or fade animation** — smooth entrance effect
 * **Top or bottom position** — your choice
 * **Fully customizable** — colors, text, buttons all configurable
 * **Responsive** — looks great on all screen sizes
 * **Lightweight** — under 5KB total (CSS + JS)
 * **No jQuery** — pure vanilla JavaScript
 * **GDPR & CCPA friendly**
 * **WordPress 6.9 compatible**
 * **PHP 8.x compatible**

#### ⚙️ Admin Settings

All settings under **Settings  Consentico**:

 * **General** — Enable/disable, position (top/bottom), cookie expiry, animation,
   show on pages
 * **Content** — Cookie message, accept/decline text, privacy policy link
 * **Design** — Background color, text color, opacity, accept button color, border
   radius
 * **Compliance** — Google Analytics ID, block GA until accepted

#### 📊 Statistics

The admin panel shows real-time accept/decline counts and acceptance rate. Reset
anytime with one click.

### External Services

This plugin optionally connects to Google’s servers to load Google Analytics when
a GA4 Measurement ID is configured by the site administrator.

**Google Analytics / Google Tag Manager**

 * **What it does:** Loads the Google Analytics tracking script from `https://www.
   googletagmanager.com`.
 * **When it connects:** Only when a GA4 Measurement ID is entered in Settings  
   Consentico  Compliance. If “Block Until Accepted” is enabled, the script loads
   only after the visitor clicks Accept.
 * **What data is sent:** Standard analytics data (page views, events) as defined
   by Google Analytics. No additional data is sent by this plugin.
 * **Google’s Terms of Service:** https://marketingplatform.google.com/about/analytics/
   terms/us/
 * **Google’s Privacy Policy:** https://policies.google.com/privacy

If no GA ID is configured, no connection to Google’s servers is made by this plugin.

## 屏幕截图

 * [[
 * Admin Settings — General tab
 * [[
 * Admin Settings — Design tab
 * [[
 * Frontend — Cookie bar bottom position (dark theme)
 * [[
 * Frontend — Cookie bar top position (light theme)

## 安装

 1. Upload the plugin to `/wp-content/plugins/consentico/` or install via **Plugins
    Add New**.
 2. Activate the plugin.
 3. The cookie bar appears automatically on your site.
 4. Go to **Settings  Consentico** to customize.

## 常见问题

### Does it work without any configuration?

Yes! The cookie bar appears automatically with sensible defaults as soon as you 
activate the plugin.

### Is it GDPR compliant?

Consentico provides the UI for cookie consent. For full GDPR compliance, you should
also have a Privacy Policy page and use the Google Analytics blocking feature to
prevent tracking before consent.

### Does it use jQuery?

No. Consentico uses pure vanilla JavaScript — no jQuery dependency, faster loading.

### How is the user’s choice stored?

The choice is stored in a browser cookie for the duration you set (default 1 year).
The bar won’t appear again until the cookie expires.

### Can I block Google Analytics until the user accepts?

Yes. Enter your GA4 Measurement ID and enable “Block Until Accepted” in the Compliance
tab.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Consentico」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Consentico」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/consentico)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/consentico/)，查看[SVN仓库](https://plugins.svn.wordpress.org/consentico/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/consentico/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/consentico/)。

## 更新日志

#### 1.0.0

 * Initial release
 * Accept and decline buttons
 * Privacy policy link
 * Cookie expiry control (30/60/90/180/365 days)
 * Slide and fade animations
 * Top and bottom position
 * Show on all / front page / specific pages
 * Google Analytics consent management
 * Accept/decline statistics with reset
 * Responsive design
 * Pure vanilla JS — no jQuery

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**3 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/consentico/)
 * 标签
 * [CCPA](https://cn.wordpress.org/plugins/tags/ccpa/)[cookie bar](https://cn.wordpress.org/plugins/tags/cookie-bar/)
   [cookie consent](https://cn.wordpress.org/plugins/tags/cookie-consent/)[cookie notice](https://cn.wordpress.org/plugins/tags/cookie-notice/)
   [GDPR](https://cn.wordpress.org/plugins/tags/gdpr/)
 *  [高级视图](https://cn.wordpress.org/plugins/consentico/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/consentico/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/consentico/)