Cookiebot | GDPR Compliant Cookie Consent and Notice - Version 3.4.0

Version Description

Download this release

Release Info

Developer cookiebot
Plugin Icon 128x128 Cookiebot | GDPR Compliant Cookie Consent and Notice
Version 3.4.0
Comparing to
See all releases

Code changes from version 3.3.1 to 3.4.0

Files changed (3) hide show
  1. addons/cookiebot-addons-init.php +1 -1
  2. cookiebot.php +24 -4
  3. readme.txt +43 -22
addons/cookiebot-addons-init.php CHANGED
@@ -23,7 +23,7 @@ define( 'COOKIEBOT_ADDONS_BASE_NAME', dirname( plugin_basename( __FILE__ ) ) );
23
  /**
24
  * Same version as the CookiebotWP
25
  */
26
- define( 'COOKIEBOT_ADDONS_VERSION', '3.3.1' );
27
 
28
  /**
29
  * Register autoloader to load files/classes dynamically
23
  /**
24
  * Same version as the CookiebotWP
25
  */
26
+ define( 'COOKIEBOT_ADDONS_VERSION', '3.4.0' );
27
 
28
  /**
29
  * Register autoloader to load files/classes dynamically
cookiebot.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
  /*
3
- Plugin Name: Cookiebot | GDPR Compliant Cookie Consent and Notice
4
  Plugin URI: https://cookiebot.com/
5
- Description: Cookiebot is a fully GDPR & ePrivacy compliant cookie consent solution supporting prior consent, cookie declaration, and documentation of consents. Easy to install, implement and configure.
6
  Author: Cybot A/S
7
- Version: 3.3.0
8
  Author URI: http://cookiebot.com
9
  Text Domain: cookiebot
10
  Domain Path: /langs
@@ -21,7 +21,7 @@ final class Cookiebot_WP {
21
  * @var string
22
  * @since 1.0.0
23
  */
24
- public $version = '3.3.1';
25
 
26
  /**
27
  * @var Cookiebot_WP The single instance of the class
@@ -1022,6 +1022,9 @@ final class Cookiebot_WP {
1022
  return; //Do not show JS - output disabled
1023
  }
1024
 
 
 
 
1025
 
1026
  $lang = $this->get_language();
1027
  if(!empty($lang)) {
@@ -1046,6 +1049,23 @@ final class Cookiebot_WP {
1046
  }
1047
  }
1048
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1049
  /**
1050
  * Cookiebot_WP Output declation shortcode [cookie_declaration]
1051
  * Support attribute lang="LANGUAGE_CODE". Eg. lang="en".
1
  <?php
2
  /*
3
+ Plugin Name: Cookiebot | GDPR/CCPA Compliant Cookie Consent and Control
4
  Plugin URI: https://cookiebot.com/
5
+ Description: Cookiebot is a cloud-driven solution that automatically controls cookies and trackers, enabling full GDPR/ePrivacy and CCPA compliance for websites.
6
  Author: Cybot A/S
7
+ Version: 3.4.0
8
  Author URI: http://cookiebot.com
9
  Text Domain: cookiebot
10
  Domain Path: /langs
21
  * @var string
22
  * @since 1.0.0
23
  */
24
+ public $version = '3.4.0';
25
 
26
  /**
27
  * @var Cookiebot_WP The single instance of the class
1022
  return; //Do not show JS - output disabled
1023
  }
1024
 
1025
+ if($this->get_cookie_blocking_mode() == 'auto' && $this->can_current_user_edit_theme() ) {
1026
+ return;
1027
+ }
1028
 
1029
  $lang = $this->get_language();
1030
  if(!empty($lang)) {
1049
  }
1050
  }
1051
 
1052
+ /**
1053
+ * Returns true if an user is logged in and has an edit_themes capability
1054
+ *
1055
+ * @return bool
1056
+ *
1057
+ * @since 3.3.1
1058
+ */
1059
+ function can_current_user_edit_theme() {
1060
+ if( is_user_logged_in() ) {
1061
+ if( current_user_can('edit_themes') ) {
1062
+ return true;
1063
+ }
1064
+ }
1065
+
1066
+ return false;
1067
+ }
1068
+
1069
  /**
1070
  * Cookiebot_WP Output declation shortcode [cookie_declaration]
1071
  * Support attribute lang="LANGUAGE_CODE". Eg. lang="en".
readme.txt CHANGED
@@ -1,27 +1,28 @@
1
- # Cookiebot | GDPR Compliant Cookie Consent and Notice #
2
  * Contributors: cookiebot,phpgeekdk,aytac
3
- * Tags: cookie, compliance, eu, gdpr, europe, cookie consent, consent
4
  * Requires at least: 4.4
5
  * Tested up to: 5.2
6
- * Stable tag: 3.3.1
7
  * Requires PHP: 5.6
8
  * License: GPLv2 or later
9
 
10
- Cookiebot is a fully GDPR & ePrivacy compliant cookie consent solution supporting prior consent, cookie declaration, and documentation of consents. Easy to install, implement and configure.
11
 
12
  ## Description ##
13
 
14
- ### Trustworthy and easy GDPR/ePR compliant cookie consent ###
15
 
16
- Cookiebot is a cloud-driven solution that enables full cookie compliance, offering:
17
 
18
- * A highly customizable consent banner to handle consents and give the users the possibility to opt-in and -out of cookie categories, as required by the GPDR, ePrivacy Directive and similar legislations around the world.
19
- * An automatically generated and updated cookie policy and cookie declaration, with purpose descriptions and categorization of your cookies (Necessary, Statistics, Preferences, Marketing).
20
- * Full monthly website scan, detecting all first and third party cookies and similar tracking on your site (e.g. HTML5 Local Storage, Flash Local Shared Object, Silverlight Isolated Storage, IndexedDB, ultrasound beacons, pixel tags etc.) as well as their provenance, duration and where to the data is sent.
21
- * The unique Cookiebot feature of automatic cookie blocking. All cookies and tracking are automatically held back right from the moment the user lands on the website and until the proper consent has been obtained, enabling compliance with the GDPR and ePrivacy requirement for “prior consent”.
22
- * An easy way to allow the users to change or withdraw their consent.
23
- * Translations for 44 languages and the ability to change the text on the banner and cookie declaration for any language.
24
- * Storage of user consents in our cloud-driven environment, which are downloadable and can be used as proof that the consent was given.
 
25
  * Execution of cookie-setting scripts without a page reload, if the user gives consent.
26
 
27
  Please read our FAQ at the bottom of the page for more information.
@@ -30,11 +31,13 @@ https://youtube.com/watch?v=t1LJ6i1i9gA
30
 
31
  ### Will my website become compliant once I install Cookiebot? ###
32
 
33
- If you use our plugin version 3.0 or later and chose our automatic implementation, Cookiebot enables full compliance with the ‘prior consent’ requirement of the GDPR, the ePrivacy Directive (ePR) and similar legal instruments for protection of user data around the world.
34
 
35
- The default consent banner has the strictest settings possible and is suitable for obtaining consent under both GDPR and the ePR. Make sure to adapt the consent banner content to fit your website. You should also check out [our GDPR checklist](https://support.cookiebot.com/hc/en-us/sections/360000917513-Ready-for-25-May-2018-GDPR-enforcement-date-A-Cookiebot-checklist-). If you are using server-side cookies, please check the [“Server side usage” guide](https://www.cookiebot.com/en/developer/).
36
 
37
- However, being a customizable plugin, true compliance always depends on the website owner choosing a type of banner, wording and settings that are compliant with the local legislation and fits the specific website and company (controller).
 
 
38
 
39
  **If you choose the manual implementation…**
40
 
@@ -42,11 +45,10 @@ Then please make sure of the following:
42
 
43
  If you are using plugins that set cookies which require consent (which most do), you have to:
44
 
45
- * Ask the plugin developers if they are planning on becoming GDPR compliant, or if they would like to integrate with Cookiebot.
46
- * Check if there already exists an addon for your plugin in the "Prior consent" submenu.
47
- * [Check out our Github repository](https://github.com/CybotAS/CookiebotAddons), where we are developing integrations for Cookiebot, until the plugin developers choose to do this themselves, [or if WP Core enables such functionality](https://core.trac.wordpress.org/ticket/44043)
48
 
49
- Once Cookiebot is installed, and we've scanned your site, you can check the [cookie report](https://manage.cookiebot.com/goto/reports), to identify all cookies being set on your website. If the cookies are coming from content that you have inserted manually, you can mark up that content [as described in our manual implementation guide step 4](https://cookiebot.com/goto/manual-implementation).
50
 
51
  Embedded videos and iframes which set cookies can be marked up as explained in our [Iframe cookie consent with YouTube example](https://support.cookiebot.com/hc/en-us/articles/360003790854-Iframe-cookie-consent-with-YouTube-example).
52
 
@@ -120,6 +122,8 @@ The Cookiebot solution also includes an automatically updated cookie declaration
120
 
121
  By implementing it, you ensure that your cookie declaration is specific and accurate at all times, as required by the GDPR. Also, the declaration automatically provides the mandatory options for the user to change or withdraw consent.
122
 
 
 
123
  To display your cookie declaration, create a new page on your website - and add the shortcode that the plugin provides to the page: [cookie_declaration]. Alternatively, you can incorporate it into e.g. your existing Privacy Policy.
124
 
125
  By default, the cookie declaration is displayed in the chosen Cookiebot language. You are able to override this setting with a "lang" attribute in the shortcode. Eg.: [cookie_declaration lang="de"] for a German version. Remember to add all used languages in the [Cookiebot Manager](https://manage.cookiebot.com).
@@ -142,6 +146,23 @@ See the [EU homepage of the GDPR](https://eur-lex.europa.eu/legal-content/EN/TX
142
 
143
  The ePrivacy Directive is another legal instrument of the EU that specifically aims to protect EU citizens’ online data such as data from online communication. It is in the process of becoming an actual Regulation such as the GDPR, which will probably happen in 2020.
144
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  ### How do I make other plugins support Cookiebot? ###
146
  If your favourite plugin doesn't support Cookiebot you are always welcome to ask the author to add support for Cookiebot.
147
 
@@ -164,9 +185,9 @@ Cookiebot works with GTM, however you need to enable the "Hide Cookie Popup" opt
164
 
165
  ## Changelog ##
166
 
167
- ### 3.3.1 - 2019-11-27 ###
 
168
  * Adding filter for regexp for fixing embedded media
169
- * Minor fixes and changes
170
 
171
  ### 3.3.0 - 2019-11-09 ###
172
  * Fix for conflict with WPBakery Page Builder when Cookie blocking is in auto mode
1
+ # Cookiebot | GDPR/CCPA Compliant Cookie Consent and Control #
2
  * Contributors: cookiebot,phpgeekdk,aytac
3
+ * Tags: cookie, compliance, eu, gdpr, europe, cookie consent, consent, ccpa
4
  * Requires at least: 4.4
5
  * Tested up to: 5.2
6
+ * Stable tag: 3.4.0
7
  * Requires PHP: 5.6
8
  * License: GPLv2 or later
9
 
10
+ Cookiebot is a cloud-driven solution that automatically controls cookies and trackers, enabling full GDPR/ePrivacy and CCPA compliance for websites.
11
 
12
  ## Description ##
13
 
14
+ ### Trustworthy and simple cookie consent solution for GDPR/ePR and CCPA compliance ###
15
 
16
+ Cookiebot is a cloud-driven solution that automatically controls cookies and trackers, enabling full GDPR/ePR and CCPA compliance and offering:
17
 
18
+ * A highly customizable consent banner to handle consents and give the user the possibility to opt in and out of cookie categories, as required by the GDPR/ePR, CCPA and similar legislations around the world.
19
+ * An automatically generated and updated cookie policy and cookie declaration, with purpose descriptions and categorization of your cookies (Necessary, Statistic, Preferences, Marketing).
20
+ * A Do Not Sell My Personal Information link on the cookie declaration for end-users to opt out of having their data sold to third parties, as required by the CCPA including the special opt-in banner for sites that have visitors under the age of 16, also in accordance with CCPA.
21
+ * Monthly website scans, detecting all first- and third-party cookies and similar tracking on your site (e.g. HTML5 Local Storage, Flash Local Shared Object, Silverlight Isolated Storage, IndexedDB, ultrasound beacons, pixel tags etc.) as well as their provenance, duration and where the data is sent to.
22
+ * The unique Cookiebot feature of automatic cookie blocking. All cookies and tracking are automatically held back right from the moment the user lands on the website and until the proper consent has been obtained, enabling compliance with the GDPR and the ePrivacy Directive.
23
+ * An easy way to allow the user to change or withdraw their consent.
24
+ * Supports 45 languages in consent banner and cookie declaration.
25
+ * Secure storage of user consents in our cloud-driven environment. The user consents are downloadable and can be used as proof that the consent was given.
26
  * Execution of cookie-setting scripts without a page reload, if the user gives consent.
27
 
28
  Please read our FAQ at the bottom of the page for more information.
31
 
32
  ### Will my website become compliant once I install Cookiebot? ###
33
 
34
+ If you use our plugin version 3.0 or later and choose the automatic implementation, Cookiebot enables full compliance with the ‘prior consent’ requirement of the GDPR, the ePrivacy Directive (ePR) and similar legal instruments for protection of user data around the world.
35
 
36
+ Cookiebot also enables compliance with the CCPA through the implementation of the Do Not Sell My Personal Information link on a website’s cookie declaration, as well as the opt-in banner required if your website targets visitors under the age of 16.
37
 
38
+ The default consent banner has the strictest settings possible and is suitable for obtaining consent under both GDPR and the ePR. Make sure to adapt the consent banner content to fit your website. You should also check out [our GDPR checklist if you have users from the European Union](https://support.cookiebot.com/hc/en-us/sections/360000917513-Ready-for-25-May-2018-GDPR-enforcement-date-A-Cookiebot-checklist-). If you are using server-side cookies, please check the [“Server side usage” guide](https://www.cookiebot.com/en/developer/).
39
+
40
+ However, being a customizable plugin, true compliance always depends on the website owner choosing a type of banner, wording and settings that are compliant with the local legislation and fits the specific website and company (data controller).
41
 
42
  **If you choose the manual implementation…**
43
 
45
 
46
  If you are using plugins that set cookies which require consent (which most do), you have to:
47
 
48
+ * Ask the plugin developers if they are planning on becoming GDPR/CCPA compliant, or if they would like to integrate with Cookiebot.
49
+ * [Check out our Github repository](https://github.com/CybotAS/CookiebotAddons), where we are developing integrations for Cookiebot, until the plugin developers choose to do this themselves, [or if WP Core enables such functionality](https://core.trac.wordpress.org/ticket/44043).
 
50
 
51
+ Once Cookiebot is installed and weve scanned your site, you can check the [cookie report](https://manage.cookiebot.com/goto/reports) to identify all cookies being set on your website. If the cookies are coming from content that you have inserted manually, you can mark up that content [as described in our manual implementation guide step 4](https://cookiebot.com/goto/manual-implementation).
52
 
53
  Embedded videos and iframes which set cookies can be marked up as explained in our [Iframe cookie consent with YouTube example](https://support.cookiebot.com/hc/en-us/articles/360003790854-Iframe-cookie-consent-with-YouTube-example).
54
 
122
 
123
  By implementing it, you ensure that your cookie declaration is specific and accurate at all times, as required by the GDPR. Also, the declaration automatically provides the mandatory options for the user to change or withdraw consent.
124
 
125
+ For CCPA compliance, businesses will be able to display the CCPA required **Do Not Sell My Personal Information** link on their cookie declaration.
126
+
127
  To display your cookie declaration, create a new page on your website - and add the shortcode that the plugin provides to the page: [cookie_declaration]. Alternatively, you can incorporate it into e.g. your existing Privacy Policy.
128
 
129
  By default, the cookie declaration is displayed in the chosen Cookiebot language. You are able to override this setting with a "lang" attribute in the shortcode. Eg.: [cookie_declaration lang="de"] for a German version. Remember to add all used languages in the [Cookiebot Manager](https://manage.cookiebot.com).
146
 
147
  The ePrivacy Directive is another legal instrument of the EU that specifically aims to protect EU citizens’ online data such as data from online communication. It is in the process of becoming an actual Regulation such as the GDPR, which will probably happen in 2020.
148
 
149
+ ### What is the CCPA? ###
150
+ The California Consumer Privacy Act (CCPA) is a state-wide law that regulates how businesses all over the world are allowed to handle the personal information of California residents.
151
+
152
+ You are liable for CCPA compliance if your business:
153
+
154
+ * Sells the personal information of more than 50,000 California residents per year,
155
+ * Has an annual gross revenue exceeding $25 million,
156
+ * Derives more than 50 percent of its annual revenue from the selling of personal information of California residents.
157
+
158
+ Cookies and other tracking technologies are classified as unique identifiers that form part of the CCPA’s definition of personal information.
159
+
160
+ If your business has a website, you must know and disclose to consumers, at or before the point of collection, the data you collect and which third parties you share it with. This can be done through the Cookiebot cookie declaration that also features the required Do Not Sell My Personal Information link, so end-users can opt out of having their data sold.
161
+
162
+ If your website is visited by consumers under the age of 16, you are required by the CCPA to first obtain their opt-in. This can be done through Cookiebot’s CCPA opt-in banner.
163
+
164
+ Visit [Cookiebot](https://www.cookiebot.com/en/what-is-ccpa/) to read more about the CCPA, how to achieve CCPA compliance, and what the CCPA says about your website’s use of cookies.
165
+
166
  ### How do I make other plugins support Cookiebot? ###
167
  If your favourite plugin doesn't support Cookiebot you are always welcome to ask the author to add support for Cookiebot.
168
 
185
 
186
  ## Changelog ##
187
 
188
+ ### 3.4.0 - 2019-12-13 ###
189
+ * Removing Cookiebot when in auto mode and the user is logged in and has a edit themes capability
190
  * Adding filter for regexp for fixing embedded media
 
191
 
192
  ### 3.3.0 - 2019-11-09 ###
193
  * Fix for conflict with WPBakery Page Builder when Cookie blocking is in auto mode