Skip to main content
All CollectionsGetting Started
How to install Consent Studio on WordPress
How to install Consent Studio on WordPress

Using our (in development) WordPress plugin

Thierry Maasdam avatar
Written by Thierry Maasdam
Updated this week

Installation of the Consent Studio CMP for Google Consent Mode v2 on WordPress

After completing the following steps, you will have Consent Studio CMP consent banner installed on your WordPress website with Google Consent Mode enabled.

Our WordPress plugin is still in development and therefore not a complete integration. We recommend that you use a tag management system, specifically Google Tag Manager, to implement Consent Studio and perhaps other tags.

1. Make sure that you have an account with Consent Studio

Log in at https://consent.studio. If you do not yet have an account, you can create one here:

2. Download the (in development) WordPress plugin

Press the button below...

...or

*: This version of our WordPress plugin is a temporary solution while we work on a fully supported and complete WordPress plugin that will also be made available in the WordPress official plugin directory. This provided version is without auto-updates.

3. Upload and activate the WordPress plugin (.zip)

Upload the contents of the .zip folder to your WordPress plugins and activate the plugin.

You will now have the following installed on your website:

  • A cookie banner (if your site's domain matches a registered domain within Consent Studio);

  • A bypass path for our cookie scanner;

  • Google Consent Mode v2

    • default consent signal with functionality_storage, personalization_storage and security_storage set to granted and ad_storage, ad_user_data, ad_personalization, and analytics_storage set to denied.

    • ads_data_redaction set to true

That's it! You have installed Consent Studio on your website. Below are advanced instructions for specific demands.

If you need any help...


Advanced: modify the Consent Mode default signal

If you require custom settings for the Google Consent Mode default signal, you can open the plugin.php file in our plugin folder. You can modify this plugin safely as this is a manual install and our plugin is not connected to an (automatic) updating system.

Please only modify the signals where the above comment says (You may edit these defaults).

Advanced: disable Google Consent Mode

Comment the following lines:

  • The default consent signal as shown in the screenshot above;

  • Optional: the ads_data_redaction instruction;

  • Optional: the developer_id.dZTlmZj instruction

Add the following code anywhere within the <script></script> tag.

window.consentStudioActivateGoogleConsentMode = false;

Monitor your implementation

Now that you have finalised your implementation, we recommend keeping an eye on what your Consent Studio dashboard (we have a health check page that becomes available to you when issues are detected by our scanner).

Also, please keep an eye on whether our cookie scanner actually finds cookies on your website. If your website does use cookies, but our scanner does not find any, it may because of any of these causes:

  • You do not have the correct domain registered with Consent Studio;

  • You have another CMP installed on the domain;

  • No scan has ran just yet (please wait up to 15 minutes after registration for your initial scan to start)

Did this answer your question?