This article applies to versions earlier than 2.4.0. In CookieHub 2.4.0 and later, this feature has been changed to Regions where you can configure the behaviour of your dialog on a region level. Refer to this article for further information: Regions & Policy frameworks

When geolocation is enabled, the CookieHub Widget is only shown in countries where GDPR or other cookie laws are in place. This will limit the distraction for the end users located in countries where it’s not required by law to seek consent while making the web site GDPR compliant.

When cookie laws don’t apply, all services or tags configured managed by CookieHub will be executed normally.

How does it work?

When the CookieHub Widget is loaded and the visitor has not configured cookie settings previously, the widget connects to one of our servers which detect the country code based on the users IP address. The process is really fast and not noticeable by end users.

No data is stored except access log for performance and security purposes. IP addresses are anonymized before being logged to make sure we don’t collect any personal data.

Enabling Geolocation

To enable geolocation, you must have a premium subscription for your domain. In the CookieHub portal, click your domain name, and select the Settings tab. Scroll down to the Geolocation section and select either Standard set of countries or Extended:


The region detection is based on the country and postal code registered for the user's IP address. The detected region is not always correct due to various factor.

List of countries where cookie laws are in place

For the following countries/regions, CookieHub will always show the cookie consent dialog when Geolocation is enabled:

  • Austria
  • Belgium
  • Brazil
  • Bulgaria
  • Croatia
  • Cyprus
  • Czechia
  • Denmark
  • Estonia
  • Finland
  • France
  • Germany
  • Greece
  • Hungary
  • Iceland
  • Ireland
  • Italy
  • Latvia
  • Liechtenstein
  • Lithuania
  • Luxembourg
  • Malta
  • Netherlands
  • Norway
  • Poland
  • Portugal
  • Romania
  • Slovakia
  • Slovenia
  • Spain
  • Sweden
  • Turkey
  • United Kingdom

Extended option

For some countries and regions, it may be unclear if a cookie consent dialog is required by law and some users may want to  include these countries to be safe. When the extended geolocation is selected, the cookie consent dialog will show for these countries/regions in addition to the standard set of regions:

  • Argentina
  • Canada
  • Faroe Islands
  • Greenland
  • Mexico
  • Switzerland
  • California (United States)

Still need help? Contact Us Contact Us