One of our OSTraining members asked how to add a cookie notification message to their Drupal 8 site.
We recommended the CookieConsent module which provides an easy solution to deal with the EU’s Cookie Law.
Adding a cookie notification is particularly useful if you want to do more with cookies. For example, it’s illegal to use SuperCookies without consent.
- Install and enable the CookieConsent module.
- Refresh the page and you should see a notice about the site using cookies has appeared in the bottom right-hand corner. It’s easy as that.
- You users can click the yellow “Got it!” button to make the notification disappear.