Skip to content
Installation
Content Management Systems

Content Management Systems

ℹ️

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

CookieHub is compatible with various content management systems that support custom HTML code or Google Tag Manager. Below are installation instructions for popular content management systems.

Drupal

Here's a guide for implementing CookieHub in Drupal:

  1. Follow the steps 1-4 in the Inline HTML tag section to obtain the CookieHub implementation code.
  2. Log into your Drupal website and go to the Appearance section.
  3. Select the theme that you want to add the CookieHub code to and click on the Settings button.
  4. Click on the Advanced Settings tab.
  5. Paste the CookieHub integration code into the Header code field.
  6. Click Save Configuration to save your changes.

That's it! CookieHub is now implemented and managing third-party tracking scripts automatically on your Drupal website.

Joomla

If you have a Joomla website and want to implement CookieHub to manage your third-party tracking scripts, you can follow these steps:

  1. Follow the steps 1-4 in the [Inline HTML tag]/installation/tag) section to obtain the CookieHub implementation code.
  2. Log in to your Joomla website Control Panel and navigate to the Templates section. Access Templates in Joomla
  3. Select the template that is currently in use. Selecting template in Joomla
  4. Navigate to the index.php file and open it. Edit template files in Joomla
  5. Paste the CookieHub integration code immediately after the head tag in the file. Save changes to template code in Joomla
  6. Save the changes by clicking the Save button located in the top left corner.

With these steps, CookieHub will be implemented and automatically managing third-party tracking scripts.

Magento

If you have a Magento website and want to implement CookieHub to manage your third-party tracking scripts, you can follow these steps:

  1. Follow the steps 1-4 in the Inline HTML tag section to obtain the CookieHub implementation code.
  2. Log in to the admin panel of your Magento store.
  3. From the left-hand menu, navigate to Content > Configuration.
  4. Select the configuration scope you want to edit (e.g. "Default Store View").
  5. Click on the "Edit" button for the theme you want to edit.
  6. In the "HTML Head" section, find the "Scripts and Style Sheets" field.
  7. Paste the CookieHub implementation code immediately after the opening head tag.
  8. Save the configuration changes.

CookieHub is now implemented on your Magento store and will manage third-party tracking scripts automatically.

Shopify

If you have a Shopify website and want to implement CookieHub to manage your third-party tracking scripts, you can follow these steps:

  1. Follow the steps 1-4 in the Inline HTML tag section to obtain the CookieHub implementation code.
  2. Log into your Shopify account and click on Online Store in the left-hand sidebar and click Themes. Edit theme in Shopify
  3. Click on Actions and select Edit Code. Edit theme code in Shopify
  4. Open the theme.liquid file by clicking on it in the Layout section. Opening the theme.liquid file in Shopify
  5. Paste the CookieHub implementation code just after opening the head tag in the theme.liquid file. theme.liquid source in Shopify
  6. Click the Save button in the top right corner.
  7. Go back from the Theme editor by clicking the back button in the top left corner. Edit theme in Shopify
  8. Find Online Store in the left-hand sidebar and click Preferences. Edit theme in Shopify
  9. Scroll down to the Customer privacy section and check the Collected after consent option if it isn't already checked. Edit theme in Shopify
  10. Save the changes by clicking the Save button located in the top right corner if the Collected after consent option wasn't already checked. Edit theme in Shopify

CookieHub is now implemented on your Shopify store and managing third party tracking scripts automatically.

Squarespace

If you have a Squarespace website and want to implement CookieHub to manage your third-party tracking scripts, you can follow these steps:

Please note that code injection is a premium feature in Squarespace and only available in the Business and Commerce plans.

  1. Follow the steps 1-4 in the Inline HTML tag section to obtain the CookieHub implementation code.
  2. Log into your Squarespace account and go to the Home Menu.
  3. Click on Settings, and then click on Advanced. Enter advanced settings in Squarespace
  4. Click on Code Injection. Find code injection in Squarespace
  5. Paste the CookieHub implementation code into the Header section. Add script to the head tag in Squarespace
  6. Click Save.

CookieHub is now implemented on your Squarespace website and is managing third-party tracking scripts automatically.

Umbraco

To implement CookieHub in Umbraco, you will need to add the CookieHub implementation code to your Umbraco website's template. Once the code is added, CookieHub will take care of managing and blocking third-party tracking scripts until the user has given their consent.

Here's how to implement CookieHub in Umbraco:

  1. Follow the steps 1-4 in the Inline HTML tag section to obtain the CookieHub implementation code.
  2. Log in to your Umbraco website and navigate to the template file that you want to add the CookieHub code to. This is usually located in the /Views folder.
  3. Open the template file and locate the head tag.
  4. Paste the CookieHub implementation code right after the head tag.
  5. Save the changes to the template file.

CookieHub is now implemented and managing third-party tracking scripts automatically. You can customize your consent banner and other CookieHub settings in your CookieHub dashboard.

Webflow

If you have a Webflow website and want to implement CookieHub to manage your third-party tracking scripts, you can follow these steps:

Please note that the custom code feature is only available in the Webflow Pro plan. If you are using a lower plan, you may need to upgrade to be able to add the CookieHub implementation code.

  1. Follow the steps 1-4 in the Inline HTML tag section to obtain the CookieHub implementation code.
  2. Log into your Webflow account and go to your project dashboard.
  3. Click on the Site Settings button in the bottom left corner of the dashboard.
  4. In the Site Settings panel, click on the Custom Code tab.
  5. Paste the CookieHub implementation code into the Header Code section.
  6. Save and publish your changes.

That's it! CookieHub is now implemented and managing third-party tracking scripts automatically on your Webflow website.

Weebly

If you have a Weebly website and want to implement CookieHub to manage your third-party tracking scripts, you can follow these steps:

  1. Follow the steps 1-4 in the Inline HTML tag section to obtain the CookieHub implementation code.
  2. Log in to your Weebly account and navigate to the site you want to add CookieHub to.
  3. From the top menu, select "Settings" and then "SEO".
  4. Scroll down to the "Header Code" section and click on the "Edit SEO Header" button.
  5. In the "Header Code" field, paste the CookieHub implementation code as described in steps 1-4 of the Inline HTML tag section.
  6. Click "Save" and then "Publish" to make the changes live.

CookieHub is now implemented and managing third-party tracking scripts automatically on your Weebly site.

Wix

To implement CookieHub in Wix, follow these steps:

  1. Follow the steps 1-4 in the Inline HTML tag section to obtain the CookieHub implementation code.
  2. Log in to your Wix website dashboard and go to Settings. How to go to Settings in Wix
  3. Scroll down to the Advanced section and click on Custom Code. Adding custom HTML code in Wix
  4. Click on Add Code in the Head section. Add custom code to the head section in Wix
  5. Paste the CookieHub implementation code into the first field, making sure that it is added to All pages and placed in the Head section. Implementing CookieHub cookie consent management in Wix
  6. Click on the Apply button in the bottom right corner to save the changes.

Now, CookieHub is successfully implemented in your Wix website and is managing third-party tracking scripts automatically.

Wordpress

Plugin

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.