Title: Cookie-Script.com
Author: csarturas
Published: <strong>2018 年 8 月 28 日</strong>
Last modified: 2026 年 1 月 19 日

---

搜索插件

![](https://ps.w.org/cookie-script-com/assets/banner-772x250.png?rev=1931598)

![](https://ps.w.org/cookie-script-com/assets/icon-256x256.png?rev=1931598)

# Cookie-Script.com

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

[下载](https://downloads.wordpress.org/plugin/cookie-script-com.1.4.3.zip)

 * [详情](https://cn.wordpress.org/plugins/cookie-script-com/#description)
 * [评价](https://cn.wordpress.org/plugins/cookie-script-com/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/cookie-script-com/#developers)

 [支持](https://wordpress.org/support/plugin/cookie-script-com/)

## 描述

**CookieScript** helps your WordPress site meet privacy requirements like **GDPR,
CPRA, PIPEDA** and more. It adds a cookie banner to your site—no need to edit files
or write any code yourself.

You can use it right after installing, **even without a CookieScript account**. 
Later on, if you want to adjust how the banner looks or behaves, you can link an
account to unlock more options.

The plugin works with **Google Consent Mode v2** and the **WP Consent API**, and
can **block third-party cookies** until a visitor gives permission. It keeps your
site compliant without interfering with tools like Google Analytics or ads.

More details are available at [cookie-script.com](https://cookie-script.com/).

### External services

This plugin utilizes Cookie-Script.com services to function.

**1. Cookie-Script.com API**
 * **Service:** Scans your website for cookies and 
retrieves configuration/status. * **Data Sent:** Website URL, Privacy Policy URL,
Language preference, and a unique scan identifier. * **When:** During manual scan
initiation via the plugin settings. * **Privacy Policy:** https://cookie-script.
com/legal/privacy-policy * **Terms of Service:** https://cookie-script.com/legal/
terms-and-conditions

**2. Cookie-Script.com CDN**
 * **Service:** Delivers the JavaScript file for the
cookie banner (for “With Account” mode). * **Data Sent:** Standard web request data(
IP address, User Agent) when fetching the script. * **When:** On every page load
where the banner is active. * **Privacy Policy:** https://cookie-script.com/legal/
privacy-policy

## 屏幕截图

 * [[
 * Cookie-Script.com plugin settings page
 * [[
 * [[

## 常见问题

**What does this plugin actually do?**

It adds your CookieScript banner code to your site automatically. You won’t need
to change any template files or figure out where scripts should go.

**How do I set it up?**

Just install and activate the plugin. That’s all it takes—the default CookieScript
banner will appear on your site right away. No coding experience needed.

Click [here](https://www.youtube.com/watch?v=iDhi-1SYBTM) for more detailed instructions!

**Is Google Consent Mode supported?**

Yes. CookieScript includes support for Google Consent Mode v2, so your site can 
continue collecting analytics and serving ads—while still respecting visitors’ choices.
You’ll find the option in your CookieScript dashboard.

**Can it work with the WP Consent API?**

It can. If your site uses other plugins that rely on the WordPress Consent API, 
they’ll be able to read the same consent choices shared by CookieScript.

**What about third-party cookies – can it block those?**

Yes. Once you configure your banner in the CookieScript dashboard, it can prevent
third-party scripts from running until users agree to it.

**Where can I get support?**

If you need a hand, you’ll find helpful articles, setup guides, and quick instruction
videos right [here](https://help.cookie-script.com/en).

## 评价

![](https://secure.gravatar.com/avatar/2617f3f06a8e8fbdead30edb01930b8575a2550f56f4101b0a63ce8605901b4b?
s=60&d=retro&r=g)

### 󠀁[Nice performance](https://wordpress.org/support/topic/nice-performance-2/)󠁿

 [Bogatell](https://profiles.wordpress.org/bogatell/) 2025 年 3 月 17 日

It works perfect with WP 6.7.2 version. Nice job. www.urracamagazine.com

![](https://secure.gravatar.com/avatar/7b453a6cc16b020d659ddb44f2a23711cbb04a41537a1ed49b30ad01f18a692b?
s=60&d=retro&r=g)

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-9355/)󠁿

 [Ryan](https://profiles.wordpress.org/alive-media/) 2024 年 8 月 27 日

No issues. Works great!

![](https://secure.gravatar.com/avatar/0dd879fb0c443f7ebebca8e4d754547739a621a44fa272beb1844e4d5a453502?
s=60&d=retro&r=g)

### 󠀁[Idéal pour moi et mes clients / Great for me and my clients](https://wordpress.org/support/topic/ideal-pour-moi-et-mes-clients-great-for-me-and-my-clients/)󠁿

 [Bessonweb](https://profiles.wordpress.org/besky/) 2024 年 5 月 1 日

J’ai choisi depuis plusieurs années de recommander cookie script à mes clients et
j’en suis satisfait. Le support est assez réactif. Le scanner, bien que parfois 
incomplet, fait gagner beaucoup de temps. La mise en place est super simple et le
script peut être auto hébergé si besoin. — I’ve been recommending cookie script 
to my customers for several years now, and I’m very satisfied. Support is quite 
responsive. The scanner, although sometimes incomplete, saves a lot of time. Setup
is super simple and the script can be self-hosted if required.

![](https://secure.gravatar.com/avatar/f1706fa72c7048054e623b3789dcbef50de9d5d7b21df78e66e36c9eed97ac34?
s=60&d=retro&r=g)

### 󠀁[zero support- stay away from this company](https://wordpress.org/support/topic/zero-support-stay-away-from-this-company/)󠁿

 [laurlau](https://profiles.wordpress.org/laurpm/) 2024 年 4 月 29 日

zero support- stay away from this company you have better alternatives

![](https://secure.gravatar.com/avatar/d8ac41d95c0734c8066a1e503dfd01a529dcbbf0bba8c74af96258b2018a1158?
s=60&d=retro&r=g)

### 󠀁[Can’t deactivate the plug-in](https://wordpress.org/support/topic/cant-deactivate-the-plug-in/)󠁿

 [wrongchris](https://profiles.wordpress.org/wrongchris/) 2024 年 1 月 2 日

I installed the plugin, but later, I realized that I could install the script without
it. When I tried to deactivate it, WordPress went into error mode. Eventually, I
managed to deactivate it by renaming the plugins folder, but now it gives an error
when trying to delete it. I would remove it manually, but I’m unsure if it will 
leave tables in the database. What a disaster.

![](https://secure.gravatar.com/avatar/71641019d6654ec87d79336ff3c597b1d589396ea4a0c42305ab8907010036dd?
s=60&d=retro&r=g)

### 󠀁[It’s okay…](https://wordpress.org/support/topic/its-okay-43/)󠁿

 [Pascal](https://profiles.wordpress.org/pheitzmann/) 2023 年 11 月 24 日

The Plugin looks good and works fine, but you have to pay for it, if yout want the
code running on your website. And you can’t deactivate it!!!

 [ 阅读所有14条评价 ](https://wordpress.org/support/plugin/cookie-script-com/reviews/)

## 贡献者及开发者

「Cookie-Script.com」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ csarturas ](https://profiles.wordpress.org/csarturas/)
 *   [ Cookie Script ](https://profiles.wordpress.org/cookiescriptcom/)

「Cookie-Script.com」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/cookie-script-com/contributors)
为本插件所做的贡献。

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

### 对开发感兴趣吗?

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

## 更新日志

1.4.3 – WordPress rules fixes. Tested on WordPress 6.9
 1.4.2 – WordPress rules 
fixes. Tested on WordPress 6.9 1.4.1 – WordPress rules fixes. Tested on WordPress
6.9 1.4.0 – Major security update. Tested on WordPress 6.8.3. 1.3.0 – Tested on 
a WordPress 6.8.2 version. Works as intended. 1.2.4 – Tested on a WordPress 6.8.2
version. Works as intended. 1.2.3 – Tested on a WordPress 6.8.1 version. Works as
intended. 1.2.2 – Security fixes. 1.2.1 – Tested on a WordPress 6.8.1 version. Works
as intended. 1.2.0 – Tested on a WordPress 6.8.1 version. Works as intended. 1.1.4–
Tested on a WordPress 6.6.2 version. Works as intended. 1.1.3 – Tested on a WordPress
6.5.5 version. Works as intended. 1.1.2 – Tested on a WordPress 6.5.4 version. Works
as intended. 1.1.1 – Tested on a WordPress 6.5.4 version. Works as intended. 1.0.4–
Tested on a WordPress 6.5.2 version. Works as intended. 1.0.3 – Tested on a WordPress
6.5.2 version. Works as intended. 1.0.2 – Tested on a WordPress 6.5.2 version. Works
as intended. 1.0.1 – Tested on a WordPress 6.5.2 version. Works as intended. 1.0–
Tested on a WordPress 6.5.2 version. Works as intended. 0.7 – Tested on a WordPress
6.2 version. Works as intended. 0.6 – Tested on a WordPress 6.1 version. Works as
intended. 0.5 – Tested on a WordPress 5.8 version. Works as intended. 0.4 – Tested
on a WordPress 5.7 version. Works as intended. 0.3 – Tested on a WordPress 5.6 version.
Works as intended. 0.2 – Tested on a WordPress 5.0 version. Works as intended. 0.1–
Initial release

## 额外信息

 *  版本 **1.4.3**
 *  最后更新：**4 月前**
 *  活跃安装数量 **10,000+**
 *  WordPress 版本 ** 5.6 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/cookie-script-com/) 、 [Lithuanian](https://lt.wordpress.org/plugins/cookie-script-com/)
   和 [Russian](https://ru.wordpress.org/plugins/cookie-script-com/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/cookie-script-com)
 * 标签
 * [compliance](https://cn.wordpress.org/plugins/tags/compliance/)[consent](https://cn.wordpress.org/plugins/tags/consent/)
   [cookie](https://cn.wordpress.org/plugins/tags/cookie/)[GDPR](https://cn.wordpress.org/plugins/tags/gdpr/)
 *  [高级视图](https://cn.wordpress.org/plugins/cookie-script-com/advanced/)

## 评级

 3.1 星（最高 5 星）。

 *  [  6 条 5 星评价     ](https://wordpress.org/support/plugin/cookie-script-com/reviews/?filter=5)
 *  [  2 条 4 星评价     ](https://wordpress.org/support/plugin/cookie-script-com/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/cookie-script-com/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/cookie-script-com/reviews/?filter=2)
 *  [  6 条 1 星评价     ](https://wordpress.org/support/plugin/cookie-script-com/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/cookie-script-com/reviews/)

## 贡献者

 *   [ csarturas ](https://profiles.wordpress.org/csarturas/)
 *   [ Cookie Script ](https://profiles.wordpress.org/cookiescriptcom/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/cookie-script-com/)