/CookieConsent

Simple JS to notify users about cookie usage

Primary LanguageJavaScript

CookieConsent

Simple JS to notify users about cookie usage

How to use

  1. Add CookieConsent.js into your webpage
  2. Create an instance of CookieConsent in your script tag passing your cookie_name, notification headline (optional), notification text (optional) as arguments
  3. Call the init() method on your instance.

Enjoy 😉