Add EU Cookie law notification on website

Easiest way to add the EU Cookie law notification on website is to use the free and opensource solution known as Cookie Consent.

You don’t have to write any custom script for this. All you need do is to browse the website -> https://silktide.com/tools/cookie-consent/

Click on “Get the codes”, choose the theme style,give your website cookie policy link copy the code that is gives you and place it on the <head> section of your website.. that’s it 🙂

Your code should look like this;

<!-- Begin Cookie Consent plugin by Silktide - http://silktide.com/cookieconsent -->
<script type="text/javascript">
 window.cookieconsent_options = {"message":"This website uses cookies to ensure you get the best experience on our website","dismiss":"Got it!","learnMore":"More info","link":null,"theme":"dark-top"};
</script>
<script type="text/javascript" src="//s3.amazonaws.com/cc.silktide.com/cookieconsent.latest.min.js"></script>
<!-- End Cookie Consent plugin -->

Checkout Examples here;
Demo Style One
Demo Style Two
Demo Style Three

I recommend to open the above link in incognito mode, since if you click on “Got It” button on notification that you see, the cookie will be stored on your browser, hence if you try to visit other style demo link you might not be able to see the notification bar.

I am web technologist, GAIQ certified data analyst with more than 12 years of working experience in the field of web technologies.

Site Footer

Sliding Sidebar

About Me

About Me

I'm a professional Web Technologist with a certification in Google Analytics (GAIQ) based in Karachi, Pakistan. With over 12 years of experience in this field, I have gained extended knowledge and expertise in developing websites, web applications as well as data analytics.

Social Profiles

Secured by Comodo

Essential SSL
Secured By miniOrange