Skip to main content



If you are currently using Google Tag Manager, we suggest following this guideline instead:


To simplify the implementation of CookieHub in your Wordpress website, you can use the CookieHub Wordpress plugin available in the Wordpress plugin repository. This plugin allows for an easier setup process and direct integration with your CookieHub account and domain. Here's how to install and configure the plugin:

Install the CookieHub Wordpress plugin:

  1. Log in to the Wordpress admin for your website
  2. Click the Plugins link in the left menu
  3. Click the Add New button at the top
  4. Search for "CookieHub" and click "Install Now"
  5. Activate the plugin by clicking the "Activate" button
  6. Configure the CookieHub GDPR plugin for Wordpress:

After installing the CookieHub plugin, you need to link it to your CookieHub account/domain. Here's how to configure the plugin:

  1. Click the "CookieHub" item in the left menu under Plugins
  2. Enter your domain code in the "Code" field and select the "Automatic cookie blocking" option (if you have already activated automatic cookie blocking for your domain).
  3. Scroll down and save the changes.

CookieHub is now implemented on your WordPress website and is managing third-party tracking scripts automatically. Note that if you're using a caching plugin or service, you may need to clear the cache to see the changes take effect.

Manual implementation

If you prefer to set up CookieHub manually, follow the steps below:

  1. Follow the steps 1-4 in the Inline HTML tag section to obtain the CookieHub implementation code.
  2. Log in to your WordPress dashboard and select Appearance in the left-hand menu.
  3. Click on Theme Editor.
  4. Find the header.php file in the list of theme files on the right-hand side and click on it to open it.
  5. Paste the CookieHub implementation code right below the opening head tag.
  6. Click the Update File button to save the changes.