Search
Close this search box.

Documentation

In this article

Category:

Categories

Recent articles

Reload after Consent

As Complianz unblocks scripts dynamically with JavaScript, in most cases, it won’t be necessary to reload the page after obtaining consent.

But there are some cases where you might require a reload of the page after consent, for instance, when using a plugin that handles consent on the server-side. Or, if you have an ‘incomplete’ integration that correctly blocks certain content, but does not properly re-initialize the content after obtaining consent.

In such cases, you can resort to the below MU Plugin to reload the page after obtaining consent.

Configuration

  • Copy and paste the below code in any text editor
  • Save the file as a .php file
  • Upload the .php file that you just created to the folder /wp-content/mu-plugins/ on your website.

Join 900.000 users and install The Privacy Suite for WordPress locally, automated or fully customized, and access our awesome support if you need any help!

Complianz has received its Google CMP Certification to conform to requirements for publishers using Google advertising products.