Documentation

All instructions about how to set up Cookie-Script properly

General Data Protection Regulation (GDPR) is a regulation created for all websites that operate and collect user data within EU members states. It is not required to collect consents from visitors coming outside of European Union.

Similar rule applies for California Consumer Privacy Act (CCPA), so some websites might be interested in showing cookie consent popup only for visitors from California.

In order to meet our client demand, we have created an option to only target visitors coming from EU countries, only visitors coming from California or visitors coming from one of those locations. This can be set when getting code of your item by clicking Use item button:

geo-eu

Click one of four buttons to activate Geo-targeting. New code will be generated, which should be copied and used on your website.

Since GDPR and CCPA regulations are very different, we have added possibility to include different banners for different locations. So you can set up two different cookie banners (with different settings) and add one with EU geo-targeting and another with California geo-targeting. They will not conflict with each other and proper script will be taken for each location. Visitors coming from somewhere else will not see the banner, all disabled third-party scripts (if you have any) will get enabled automatically.

Few more things to note when using geo-targeting:

It requires you to update Cookie-Script code on your website if you are not using EU geo-targeting yet.
All third-party scripts will be automatically activated if visitor comes outside of geo-targeted location.
Geo-targeting does not work with self-hosted code since visitor IP is checked on Cookie-Script servers.
This feature is available in selected pricing plans. See our Pricing plans for more details.