Linux 软件免费装
Banner图

Konsentra - Cookie Consent Banner

开发者 gunjanjaswal
更新时间 2026年8月7日 10:49
捐献地址: 去捐款
PHP版本: 7.2 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

privacy gdpr cookie consent cookie banner consent

下载

1.0.0 1.0.1 1.0.2

详情介绍:

Konsentra gives your visitors a clear choice about the cookies your site uses, and helps you stay on the right side of GDPR and the ePrivacy rules. It ships with a clean, customisable banner, granular cookie categories, and a script blocker that holds tracking code back until someone actually agrees to it. No account, no external service, no phoning home. Everything runs on your own site. What you get Blocking your own scripts Tag any script you want held back until consent like this: <script type="text/plain" data-cp-category="analytics" src="https://example.com/tag.js"></script> When the visitor grants the "analytics" category, Konsentra swaps it for a real script tag and runs it. The same works for inline scripts and for the functional and marketing categories. Developer hooks A konsentra:updated event fires on document every time consent changes, so your own code can react: document.addEventListener( 'konsentra:updated', function ( e ) { console.log( e.detail ); } );

安装:

  1. Upload the konsentra folder to /wp-content/plugins/, or install it from the Plugins screen in your dashboard.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Settings, then Konsentra, to set your text, colours, and categories.
  4. Tag any third-party scripts you want to gate behind consent (see the Description).

屏幕截图:

  • The preferences panel with per-category toggles.
  • The settings screen in the WordPress admin.

升级注意事项:

1.0.3 Asset refresh only; no functional changes. 1.0.2 Asset refresh only; no functional changes. 1.0.1 Improves banner text readability. 1.0.0 First release of Konsentra.

常见问题:

Does this make my site GDPR compliant on its own?

No plugin can do that by itself. Konsentra gives you the consent banner, category controls, and script blocking you need, but compliance also depends on your privacy policy, how you handle data, and the services you use. Treat it as one important piece, not the whole picture.

Does it block Google Analytics or Facebook Pixel automatically?

It blocks any script you tag with type="text/plain" and a data-cp-category attribute. Add that markup to the scripts you want gated and they will only load once the visitor consents.

Does it store personal data?

Only if you switch on consent logging, and even then it stores a hashed IP address, never the real one, along with a timestamp and the categories agreed to.

Is it translation ready?

Yes. A .pot file is included in the languages folder and every string uses the konsentra text domain.

How do visitors change their choice later?

Add the [konsentra_settings] shortcode anywhere, for example in your footer or privacy page, and it renders a link that reopens the preferences panel.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0