How to implement CookieHub
To fully implement CookieHub and make sure no cookies are set on your user’s browsers before they have consented you’ll need to use one of the implementation methods offered by CookieHub.
Implementation methods
- Google Tag Manager
If you are already using Google Tag Manager to load tags on your web site we recommend using the CookieHub GTM template to easily implement CookieHub to your Google Tag Manager container. The CookieHub GTM template will insert variables, triggers and the CookieHub tag used to initialize CookieHub on your website. The template has built in Google Consent mode.
Google Tag Manager (GTM) Implementation
- CookieHub Wordpress plugin
CookieHub provides a Wordpress plugin to make the implementation to your Wordpress plain and simple. The plugin can be used in combination with the automatic cooking blocking
Wordpress cookie consent guide
- Manual implementation
If you don't use GTM or Wordpress. The CookieHub javascript code can be implemented directly to your websites code no matter what CMS or programming language you are using. If you are not using the automatic cooking blocking feature, the html code has to be changed a bit to make sure javascript code blocks or elements loading external content isn't loaded before the user has consented.
Manual implementation guide
Implementation assistant
You can use implementation assistant in the CookieHub dashboard to guide you through the implementation process with step by step guides. The implementation assistant can be accessed by clicking the domain in the CookieHub dashboard and enter the Implementation tab.
Adjust tags, scripts and iframe tags to make sure they aren't loaded prior to consent
Verify the setup (Paid subscriptions only)
When you have implemented CookieHub to your web site, you can run a cookie scan for your domain to make sure everything is correctly set up. The cookie scan will identify all cookies and is able to detect if they are being set prior to consent or not. After the scan has completed, you'll receive a scan report by e-mail. You can also see a list of cookies detected and status of each cookie in the CookieHub dashboard by clicking the domain name and then go to the Cookies tab.