Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Klaro Consent Manager

Mô tả

Klaro is a free & open-source tool that provides an intuitive, user-friendly and compliant way to manage consent on your website. Klaro is easy to use and configure, lightweight and compatible with all modern browsers.

Klaro is simple, unobtrusive and optimized for mobile as well as desktop browsers. It tries to stay out of the way while helping you to be fully transparent and compliant.

Klaro can manage both inline and external scripts as well as static tracking elements like images or stylesheet links.

Features include:

  • 100% GDPR compliant
  • Customisable cookie message using .po file (multi language support)
  • Redirects users to modal for more cookie information and toggle individual scripts
  • Custom link to Privacy Policy page
  • Option to refuse deletion of functional cookies
  • Option to review and edit user consent
  • Option to reset the user consent
  • Set the text and background collors
  • Optimised for mobile as well as desktop browsers
  • Can manage: inline and external scripts, images, stylesheets, links
  • Allow users to have control of what scripts are loaded.
  • Shortcode to review and reset consent from privacy policy page or any post/page

How it Works

To get started after install, create new Application (for internal or external scripts, images or stylesheets…) under Klaro Consent Manager / Add New. Enter script name and description, for example name it "Google Analytics" and enter description "Google Analytics is a freemium web analytics service offered by Google". Set purpose to "Analytics" . Publish Application than scroll at the bottom of the newly created App and copy code generated by the plugin. Code should look something like this:

<script type="opt-in" data-type="application/javascript" data-name="google-analytics">

// Your Google Analytics Code, all except script tags which we replace with this one…


So in your google analytics code leave your external script as it is and change only internal script, with the code you copied above. You should get something like this:

<script async src="”></script>

<script type="opt-in" data-type="application/javascript" data-name="google-analytics">

  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA-XXXXXXXX-X’);


Demo URL


Activating this plugin does not guarantee that your website is successfully meeting its responsibilities and obligations of GDPR. Individual organisations should assess their unique responsibilities and ensure extra measures are taken to meet any obligations required by law and based on a data protection impact assessment (DPIA).

Ảnh màn hình

  • screenshot-1.png shows general administration settings.
  • screenshot-2.png shows style settings.
  • screenshot-3.png shows advanced settings.
  • screenshot-4.png shows applications (scripts and cookies) settings.
  • screenshot-5.png shows application in edit mode.
  • screenshot-6.png shows application in public mode.

Cài đặt

  1. Install like any other plugin. After install activate.
  2. Go to Klaro Consent Manager / Settings and change the settings to suite your needs.
  3. Go to Klaro Consent Manager / Applications and create new Applications.
  4. Change your scripts that need consent with code provided in the Application (edit Application and see code at the bottom of the page).
  5. Add shortcode to review or reset consent to privacy policy page or any other page. [klaro type="review"] [klaro type="reset"]

Đánh giá

5 Tháng Mười, 2020
Awesome: One of the few fully compliant GDPR plugins. Consent can be given specific for custom individual purposes (necessary, statistics, external content, marketing, …). Scripts can be easily tagged with a specific purpose-attribute. No full reload is necessary to load the scripts after consent! Wishlist: Change texts in admin backend, shortcodes to only show content after consent, placeholders with CTA for missing content due to missing consent, pre-existing change consent button/menu.
2 Tháng Một, 2019 1 reply
I’ve spent about a year looking for this! Very simple to implement, easy to style, able to configure everything you’d want and actually works as described! I don’t know how this has flown under the radar as it can be used to make any script or external media GDPR compliant with ease.
Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“Klaro Consent Manager” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Klaro Consent Manager” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Klaro Consent Manager” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi


  • Hide custom meta fields from posts and pages and show it only at klaro settings


  • Fixed delete cookies on consent reset


  • Fixed Klaro code preview


  • Fixed Klaro view


  • Fixed reset Klaro


  • Second version of Klaro Content Manager plugin.


  • First version of Klaro Content Manager plugin.