Skip to content
Installation
Upgrade to Consent Mode v2

Upgrade to Consent Mode v2

This page provides an in-depth guide on upgrading and activating Consent Mode v2 for previous CookieHub installations.

Refer to the following pages for further information about Consent Mode v2:

How to activate Consent mode v2

If you are currently using CookieHub, follow these steps to update to the latest version and activate Consent mode v2.

1. Upgrade to the latest version of CookieHub (2.7.x)

  1. Log in to the CookieHub dashboard (opens in a new tab).
  2. Select the domain name that you wish to upgrade.
  3. Click the "Update to 2.7" button.
  4. In the pop-up dialog, click the "Upgrade" button.
  5. Finally, click the "Publish pending changes" button at the top to deploy the updated version.

If you don't use the default description text for the marketing category, update it to comply with Google's EU user consent policy:

  1. Click the "Content" tab.
  2. Select "Categories" in the left menu.
  3. If the "Marketing cookies (description)" doesn't match the default value, update it to align with Google's EU user consent policy or clear the text field to reset to the default version.
  4. If you updated the description, scroll to the top and click "Save & publish" to deploy the changes.

The changes take up to 5 minutes to propagate around our CDN networks. After the 5 minutes have past, do a hard refresh to force the browser to receieve the updated version.

2. Update the implementation

CookieHub can be implemented in three ways. Make sure you only implement using one of these methods and follow the instructions for the method that is currently being used on your website.

HTML/javascript implementation code

  1. In the CookieHub dashboard, go to the "My domains" section and click on the desired domain for editing.
  2. Navigate to the "Settings" tab.
  3. Ensure the "Consent mode v2" option is enabled in General settings. If not, click "Save & publish" to deploy the changes.
  4. Click the "Implementation" tab.
  5. Select "Manually insert the code"
  6. Copy the production code and replace your current CookieHub implementation code the new one.

Wordpress plugin

  1. In the CookieHub dashboard, go to the "My domains" section and click on the desired domain for editing.
  2. Navigate to the "Settings" tab.
  3. Ensure the "Consent mode v2" option is enabled in General settings. If not, click "Save & publish" to deploy the changes.
  4. Make sure you have the latest version of the CookieHub wordpress plugin installed.
  5. Go to the CookieHub wordpress plugin settings from the Wordpress admin panel (Settings -> CookieHub)
  6. Click the "Advanced Settings" tab and enable "Consent mode v2".

Google Tag Manager

If you're already using the Google Tag Manager template, follow these steps to activate the new consent mode v2 types:

  1. Click the "Implementation" tab.
  2. Select "Google Tag Manager"
  3. Download the personalized Google Tag Manager template by clicking "Download the CookieHub template (cookiehub-gtm.json)"
  4. Open your tag manager container from the Google Tag Manager administration panel (opens in a new tab).
  5. Click "Admin" from the top menu.
  6. Select "Import Container"
  7. Click "Choose container file" and select the previously downloaded file.
  8. In the "Choose workspace" section, select "Existing" and then choose "Default Workspace"
  9. In the "Choose an import option," select "Merge"
  10. Click "Confirm"
  11. Finally, click "Submit" in the top right corner to publish the changes.

Checking Consent Mode Signals

To ensure your website's data collection practices you can verify Consent Mode signals using Tag Assistant or by looking at the gcd signals from the network tab in your browsers developer tools.

Discover how to check Consent Mode signals.