Linux 软件免费装
Banner图

CookieConsentHQ

开发者 hamzaahmadaslam
更新时间 2026年11月13日 06:01
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

gdpr cookie consent cookie banner ccpa consent mode

下载

1.1.1

详情介绍:

CookieConsentHQ adds your cookie banner to every page of your WordPress site. The banner script loads first in the head, so it can hold back trackers until the visitor agrees. It helps you comply with privacy laws such as the GDPR, the UK GDPR, the ePrivacy Directive and the CCPA/CPRA; you remain responsible for how your site uses cookies. What the plugin does: Every feature of this plugin is free. Your banner design, region rules, cookie scans and consent records are managed in your CookieConsentHQ account. External service This plugin loads your banner from CookieConsentHQ's content delivery network, https://cdn.cookieconsenthq.com/. The banner asks https://api.cookieconsenthq.com/ which region the visitor is in, to show the right banner, and sends each consent decision there (a random consent ID, the categories chosen, the page path, the region, the banner version and A/B test variant shown, and whether a Global Privacy Control signal was present; the service stores a shortened IP address and a hash of the browser's user agent) so you can show when and how consent was given. On about 1 in 100 page views the banner also sends your site key to https://api.cookieconsenthq.com/pv, with no visitor data, to count page views against your plan. Nothing is loaded until you paste your site script URL in Settings → CookieConsentHQ.

安装:

  1. Install and activate the plugin from Plugins → Add New.
  2. Sign in to your CookieConsentHQ dashboard, open your site, and go to the Install tab.
  3. Copy the script URL. It looks like https://cdn.cookieconsenthq.com/s/sk_xxxxxxxx.js.
  4. In WordPress, go to Settings → CookieConsentHQ, paste the URL, and click Save Changes.
  5. If you use a caching or optimization plugin, clear its cache and exclude the CookieConsentHQ script from "delay JavaScript", "defer" and "combine" options.
  6. Optional: add [cchq_cookie_table] to your cookie policy page.

常见问题:

Does this plugin make my site compliant?

No plugin can do that on its own. CookieConsentHQ helps you comply: it asks for consent, blocks trackers until visitors agree, and keeps a record of each choice. Whether your site complies also depends on what it does with the data and what your privacy policy says.

Do I need a CookieConsentHQ account?

Yes. The banner, its settings and your consent records live in your CookieConsentHQ account. The plugin connects your WordPress site to it.

Does the banner show a credit link?

Not unless you choose to. The banner leaves out its "Powered by CookieConsentHQ" link on sites that use this plugin. If you want to show it, tick "Show a Powered by CookieConsentHQ link in the banner" under Settings, CookieConsentHQ. The link is marked nofollow.

Where does the banner appear?

On every front-end page. It is not added to the admin area, feeds, REST API responses, or AMP pages (AMP pages cannot run the banner script).

Can I paste the whole script tag?

Yes. You can paste the script URL, the full <script> tag from the Install tab, or just the site key; the plugin saves the site key.

Does it work with Google Tag Manager?

Yes. Because the banner loads before Google Tag Manager, it sets Consent Mode defaults before any Google tag runs. If you prefer to load the banner from Google Tag Manager instead, download the CookieConsentHQ Google Tag Manager template from https://cookieconsenthq.com/integrations/google-tag-manager (it is not yet in the Community Template Gallery) and do not use this plugin on the same site.

更新日志:

1.1.1 1.1.0 1.0.0