Free Cookie Consent

A Free Cookie Consent solution for your website to comply with ePrivacy Directive & GDPR. Create your Cookie Consent notice banner code in 1 minute and comply with:

Cookie Consent for ePrivacy Directive ePrivacy Directive

Cookie Consent for GDPRGeneral Data Protection Regulation (GDPR)

Create a Cookie Consent for your website

3. Add and organize your JavaScript scripts

This is an optional step, but you can organize your JavaScript scripts directly from this page.

For example, you can copy-paste your Google AdWords code here and select "Targeting & Advertising" and we will automatically convert your script code as required by the Cookie Consent tool.

There are four levels of cookie consent available:

  • strictly necessary (ie. account login related cookies)
  • functionality (ie. remembering users choices)
  • tracking and performance (ie. Google Analytics)
  • targeting and advertising (ie. Google AdSense, Google AdWords)

How to integrate Free Cookie Consent on your website

  1. Copy the generated code from Step 4 above and add it on your website.
  2. Tag any JavaScript <script> that you're using by changing the type="text/javascript" to type="text/plain".
  3. For each tagged <script>, add the corresponding consent level:
    • data-cookie-consent="strictly-necessary" for strictly necessary scripts that are loaded regardless of user choice
    • data-cookie-consent="functionality" for functionality scripts, such as language preference scripts
    • data-cookie-consent="tracking" for tracking scripts, such as Google Analytics
    • data-cookie-consent="targeting" for targeting scripts, such as Google Ads remarketing
  4. Done.

Example

<!-- Login Cookies -->
<script type="text/plain" data-cookie-consent="strictly-necessary" src="/js/login-session.js"></script>

<!-- Google Analytics -->
<script type="text/plain" data-cookie-consent="tracking">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', GOOGLE_PROPERTY_ID_GOES_HERE, 'auto');
ga('send', 'pageview');
</script>