Cookie Consent Generator

GDPR Cookie Consent Creator

A 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.
GDPR Cookie Consent Popup
Cookie Consent for your website
How to integrate Cookie Consent on your website
  1. Copy the generated code from Step 4 above and add it right before closing your <body> tag in 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:
    • cookie-consent="strictly-necessary"for strictly necessary scripts that are loaded regardless of user choice
    • cookie-consent="functionality"for functionality scripts, such as language preference scripts
    • cookie-consent="tracking"for tracking scripts, such as Google Analytics
    • cookie-consent="targeting"for targeting scripts, such as Google Ads remarketing
  4. Done.
Example

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

    <!-- Google Analytics -->
    <script type="text/plain" 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>

Preview your
cookie popup