Linux 软件免费装
Banner图

CookieHug

开发者 cookiehug
更新时间 2026年9月14日 05:14
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

cookies privacy gdpr consent consent-mode

下载

0.2.6

详情介绍:

CookieHug is a platform-first cookie consent solution. The WordPress plugin does three things and nothing more:
  1. Pairs your site with a CookieHug account via a one-time handshake.
  2. Injects the consent banner snippet into <head> on every page.
  3. Gives you a one-click link back to the CookieHug dashboard where you actually configure things.
Everything else — banner texts, colours, categories, Google Consent Mode v2, cookie scan results, translations — is managed in the CookieHug dashboard, not in WordPress. This is by design. It means: If you're looking for a plugin where you edit banner text in the WP admin, this isn't it. Use the CookieHug dashboard.

安装:

  1. Upload the plugin ZIP to Plugins → Add New → Upload Plugin, or extract into wp-content/plugins/cookiehug/.
  2. Activate via Plugins → Installed Plugins.
  3. Go to CookieHug in the admin menu and click Connect with CookieHug.
  4. Confirm the connection on the CookieHug dashboard. You'll be bounced back to WordPress with the connection saved.
  5. The banner starts appearing on the frontend automatically.

升级注意事项:

0.2.5 Version bump only; identical code to 0.2.4. 0.2.4 Maintenance release: WordPress 7.1 compatibility and documentation updates. No change to the banner or the connection. 0.2.2 Adds an Updates diagnostics panel so you can see at a glance why an update is or isn't showing up. 0.2.1 Adds a WP Consent API status panel to the settings screen so you can confirm the integration at a glance. 0.2.0 Adds WP Consent API integration (required for Google's CMP Partner Program) and WordPress.org compliance fixes. 0.1.1 Adds a liveness heartbeat and enables in-dashboard update notifications. 0.1.0 First release.

常见问题:

How do I change the banner colours / text / categories?

Click Open CookieHug dashboard on the plugin settings page. Everything is configured there. The plugin never exposes those controls locally — that's intentional.

Does the plugin store any personal data?

No. The plugin stores a license key, a connection key (hashed on the server), and a domain ID. No visitor data ever touches the plugin — consent events go directly from the banner script to the CookieHug backend.

What happens when I deactivate / uninstall?

Deactivation stops the snippet from loading. Uninstall (Plugins → Delete) removes all cookiehug_* options and transients. The remote connection is not revoked automatically on uninstall — do that from the plugin's settings page before deleting, or from the CookieHug dashboard.

Can I self-host or point the plugin at a staging CookieHug instance?

Yes — add to wp-config.php: add_filter( 'cookiehug_api_base', function() { return 'https://cookiehug.test'; } );

更新日志:

0.2.6 0.2.5 0.2.4 0.2.3 0.2.2 0.2.1 0.2.0 0.1.1 0.1.0