How to install CookieHub in WordPress

You can install CookieHub in WordPress using either the official CookieHub plugin or by adding the implementation code manually.


Install CookieHub using the WordPress plugin

  1. Log in to your WordPress admin panel.
  2. Go to Plugins → Add New.
  3. Search for CookieHub in the plugin repository.
  4. Click Install Now, then Activate.

Configure the plugin

  1. In the left menu, click CookieHub under Plugins.
  2. Enter your domain code (see where to find your domain code).
  3. If you have Automatic Cookie Blocking enabled in your CookieHub dashboard, check the option for automatic blocking in the plugin settings.
  4. Scroll down and click Save changes.

CookieHub is now active on your WordPress site. If you use a caching plugin or service, clear the cache to apply the changes.


Manual implementation

If you prefer to add the code manually:

  1. Find your CookieHub implementation code.
  2. In WordPress, go to Appearance → Theme Editor.
  3. Open the header.php file from the list of theme files.
  4. Paste the CookieHub code right after the opening <head> tag.
  5. Click Update File to save.

CookieHub is now installed and will manage third-party scripts based on user consent.