Use the free Cookie Consent to comply with GDPR and ePrivacy Directive.
On this page:
Tag any JavaScript <script>
that you're using by changing type="text/javascript"
to type="text/plain"
.
Then add the corresponding consent level for each tagged <script>
. For example: cookie-consent="functionality"
.
That's it.
Here's an example from Google Analytics and a Login Session script that's loaded with some necessary cookies:
<!-- 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>
Our free Cookie Consent can help you comply with GDPR and ePrivacy Directive. This guide will help you go through the 5 easy steps to implement our free Cookie Consent notice banner.
Start building your Cookie Consent today. Choose the preferred compliance type: ePrivacy Directive or GDPR+ePrivacy Directive.
Customize your Cookie Consent with your website name, the preferred color palette and the default language.
Copy-paste your JavaScript scripts on our Cookie Consent builder. Or you can tag your JavaScripts according to our instructions.
You're done. The Cookie Consent banner notice code has been generated. Copy it.
Copy the generated Cookie Consent on your website webpages in the body
section.
Example of Cookie Consent with ePrivacy Directive consent preference
Example of Cookie Consent with GDPR consent preference
Example of Cookie Consent notice banner in a different color palette
Example of Cookie Consent notice banner in a different language
Example of Cookie Consent notice banner in a different style for the banner
Cookie Consent (cookieconsent.com) is a free cookies management solution that you can integrate on your website that helps you comply with the EU Cookies Directive and GDPR.
The general rule is this: if you use cookies on your website, you need Cookie Consent. For example, if you use Google Analytics, you need Cookie Consent. If you have use JavaScript code on your website that may store or retrieve cookies, you may need Cookie Consent.
Yes, Cookie Consent is 100% free.
Your Cookie Consent banner notice can be created by going through the builder steps above. At Step 1, choose your consent preference type. At Step 2, customize the banner notice by adding your website name and choosing a preferred language for the Cookie Consent.
Once you have generated your Cookie Consent banner notice, begin to organize all your JavaScripts by tagging them correctly using the available consent levels: strictly-necessary, functionality, tracking, targeting.
In the current version (3.1.0) the notice banner cannot be modified as we support multiple translations. Modifying the text in English means you'll have to modify the text in 15+ languages. We're working on a new version of the Cookie Consent that would allow you to modify the text. Stay tuned!
You may see weird characters in the Cookie Consent notice banner if your HTML page does not have the meta charset tag added.
You can fix this by adding the charset="UTF-8"
parameter:
head
section of your webpages add: <meta charset="utf-8" />
body
section of your webpagescharset="UTF-8"
parameter: <script type="text/javascript" charset="UTF-8" src="//.....
You should also make sure that your code/text editor saves your webpages in UTF-8 and your web server (Apache, nginx) sets the correct encoding.