ePrivacy Directive cookie widget

To connect the widget, you need to insert these 2 lines into the <head> tag:

<link rel="stylesheet" href="https://chezzyderp.github.io/cookie-widget/build/widget.min.css">

<script src="https://chezzyderp.github.io/cookie-widget/build/widget.min.js"></script>


You can also write your own custom text , for this you need to use the text attribute in the script tag

Example :

<script text="custom text" src="https://chezzyderp.github.io/cookie-widget/build/widget.min.js"></script>


Apperance of cookie widget with custom text

Also you can write every_active prop to script and cookie notification will show you every time

<script every_active src="https://chezzyderp.github.io/cookie-widget/build/widget.min.js"></script>


Then you'll got

Popup window with text -
"We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from."

After you click to button window will closed and site remembered that user already accept cookie policy

Apperance of cookie widget