Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Upgraded Cookie Control pop-up design to v4 including two colour themes.
Integration with other modules now possible. From within your Drupal module you can append JavaScript functions to a list which will be executed when a visitor first accepts cookies, and on loading every subsequent page.
hook_cookieaccept_alter(&$callbacks)
hook_cookiesallowed_alter(&$callbacks)
hook_cookiesnotallowed_alter(&$callbacks)
Use $_COOKIE[cookiecontrol_generatesitecookie()] server side in logic to control rendering of content which would normally generate a cookie.
Users are prevented from logging in if they have not yet given cookie consent.
Fixed use on https pages.
Support for preventing Google Analytics cookies using a sub module included.