Skip to content
Features
Automatic cookie blocker

Automatic cookie blocker

CookieHub provides a feature that automatically blocks cookies set by commonly used services, streamlining the implementation process for your website. This feature is optional and ensures that tracking cookies are not set before a user has provided consent.

The process begins with CookieHub detecting the JavaScripts used by common services that set tracking cookies and adjusts the tags to delay the load. This occurs before any JavaScript is rendered. Once the web page is ready to be rendered, the general CookieHub code is loaded and checks if the user has already consented or if the initial cookie dialog needs to be displayed to provide the user with a choice. If the user consents or has already consented, the delayed scripts are loaded normally.

It is important to note that when using Google Tag Manager as the implementation method, automatic cookie blocking should not be used. If your site only uses services supported by the automatic cookie blocker, no further changes are needed to implement CookieHub correctly. However, if you are using other services that are currently not supported, you will need to use Google Tag Manager or the delay inline JavaScripts method for the remaining services.

Supported Services

We are frequently deploying updates to the cookie blocker and adding additional services. Below is a list of the services currently supported:

  • AddThis
  • AddToAny
  • Crazyegg
  • Facebook Pixel
  • Google Ads (remarketing, conversion tracking and display ads, previously Google AdSense)
  • Google Analytics (both gtag and analytics.js methods, including GA4)
  • Google Maps (api)
  • Hotjar
  • Inspectlet
  • Leadfeeder
  • Linkedin Insights
  • Microsoft Ads / Bing Ads
  • Microsoft Clarity
  • Mixpanel
  • Olark
  • Pardot
  • PostHog Analytics
  • ShareThis
  • Snowplow analytics
  • Tawk.to
  • TikTok Analytics
Last updated on