jquery-cookie-alerter

Why ?

To be in compliance with the "Cookies" CNIL recommendation

Illustration for Mobile first cookie alerter

Features
  • Content is injected with JavaScript for seo-friendly
  • Mobile first
  • Options for custom text and translations
Preprocessing
Tools

Getting Started

$ bundle
$ middleman server
$ middleman build

Installation

Use

  AlertLaw.start();

If you want to have a custom message you have some options available :

  AlertLaw.start({
    cookieUrl:      "path/to/info-page.html",
    messageTitle:   "Cookies",
    messageContent: "By continuing your visit to our site, you agree to (...) and make visits statistics.",
    cookieName:     "cookies_law",
  });

Demo

Want to see the result ? Visit the demo page

License

Licensed under MIT license.