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:


Click one of four buttons to activate Geo-targeting. New code will be generated, which should be copied and used on your website. Few 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.
Geo-targeting is available in paid subscriptions. See pricing plans