The Privacy Suite for WordPress

Introducing the CookieShredder™

Get compliant today in the European Union, United States, Canada, United Kingdom, Australia, Brazil & South Africa with the only Privacy Suite for WordPress that offers a fully-featured plugin for Worldwide Compliance.

The CookieShredder™ will be introduced in the following weeks for Complianz users. It will be a user-focused clean sweep of cookies without consent during website visits. A real-time reporting mode will check individual browser cookies after each interaction and page-load with to check if the user’s consent level is in accordance with the set cookies. If not, cookies are shredded immediately.

How our Cookie Blocker works

Our current Cookie Blocker effectively cleans and blocks third-party cookies and scripts from plugins and services that need consent before initialization. There are, however, some limitations specifically to PHP cookies and WordPress plugins.

The Cookie Blocker now available in Complianz manipulates script files to block and initialize on consent level. These scripts set cookies and thus a “Cookie Blocker.”  This is how a script file might look before and after consent:

Limitations concerning PHP & Javascript

To control consent for WordPress plugins, we need to integrate with PHP and manipulate the functionalities before they get triggered. These integrations are available in Complianz but can change for any plugin update, and maintenance is very time-consuming. This is why we proposed the Consent API for WordPress core and communicated with many popular plugins to integrate with Complianz fully. This, however, is not a maintainable standard. Without broader adoption, we have to rely on individual integrations for each plugin and service. 100% coverage is hard to achieve with +50000 plugins and services. A more general approach is needed.

Why not block the plugin?

It is possible to block and reinitialize plugins fully from the back-end, but we can’t predict how a website might behave when a plugin is fully blocked or when it’s initialized on consent. It’s possible in Complianz to block plugins in the front-end for some control, but it is still a brute force option to block scripts.

Not all Javascript is the same.

Blocking or integrating with javascript can have some challenges. The main challenges we face are minified javascript or combined, concatenated javascript. Although most manipulated javascript can be blocked and integrated, some Javascript is impossible to block without causing issues.

Take, for example, a YouTube widget from Elementor. This widget is loaded in a combined javascript called ‘front-end.js.’ The front-end.js also initializes menus, other widgets and might load different CSS files depending on the design choices. Blocking this script means crashing the website or breaking functionalities. To overcome this issue, we integrate fully with Elementor. You can even build a Cookie Banner with Elementor Pro and use our Consent Management in the background.

Cookie Blocker +  = CookieShredder™

We started looking at a way to work toward a general approach without relying on the Consent API, costly integrations, or developers from 50.000+ plugins conforming with different Consent Management plugins. This became CookieShredder™ which is a combination between our current blocker and communicating with your detected cookie list from This is done locally.

This is how CookieShredder™ works.

On page load, the Cookie Blocker will do the heavy lifting. Due to the limitations shown above, some cookies might be set with PHP or highly optimized or combined javascript. When these cookies are set, they will be checked against your cookie list, which is updated regularly with If these cookies do not meet the consent level of the user, they will be removed or shredded almost instantly from the user’s browser.

This means that current ‘static’ website visits from a privacy standpoint will now become a dynamic, isolated website visit where every page load and interaction is weighed against the user’s privacy settings.

Removing cookies from third-party domains is not possible, e.g., This would pose a security risk if anyone could manipulate data on other domains. All scripts are again set to text/plain on a revoke and can no longer connect to the third-party domain. The website user can clear cache in the browser to remove these cookies thoroughly, as explained in the cookie policy.

Soon, we will see more and more third-party services migrate to first-party domains to circumvent the issue with third-party domains; more and more browsers, devices and cookie blockers from Consent Management Tools are effectively stopping tracking and advertising in its tracks.

Recently for example; Facebook cookies can now be set on with a DNS setting and domain validation. These cookies can be shredded, thus removing the final challenge for deleting cookies of third-party services, independent of which domains they use to track users.

Why CookieShredder™ is unique

Cookie Banners for WordPress are plenty, but not all Cookie Banner plugins or services are Consent Management Tools. Because you will need (much) more than a Cookie Banner, we always recommend using a WordPress plugin to seek compliance instead of a cloud service. A Cloud service will not be able to integrate neatly into your WordPress platform and can only do so much “from a distance.”

A WordPress plugin will be able to handle plugin behavior. Still, only Complianz and its CookieShredder™ has the added benefit of a growing and maintained Cookie Database to shred any cookies set by services and plugins that do not conform with the website visitor’s consent level.

You want to know what happens with consent in a cookieless age? Read more

Recent articles

The Privacy Suite for WordPress
Get compliant today with the only Privacy Suite made for WordPress


Popular articles

TTDSG, the New Cookie Law for Germany

As of December 1st, 2021 the Telecommunications-Telemedia Data Protection Act (Telekommunikation-Telemedien-Datenschutz-Gesetz) regulates the handling of cookies, local storage, cookieless tracking,  and other tracking technologies in

Read More

Cookieless Tracking and GDPR

In this article, we will have a closer look at cookieless and server-side tracking and how this affects your website’s configuration regarding privacy laws. The

Read More

Join our mailing list - 8 Tips & Tricks in your inbox over the next 8 weeks!