GDPR EU cookie notice for SilverStripe.
SilverStripe 4 (for SilverStripe 3 use the "3" branche or the 1.* tags)
Using Semantic Versioning.
Install via Composer:
composer require "hestec/silverstripe-cookiecontrol": "2.*"
Add this to your mysite.yml:
Hestec\CookieControl\CookieControl:
PerformanceCookies: 'JSESSIONID'
AnalyticsCookies: '_gid,_ga,_gat'
MarketingCookies: 'SSID'
CookieDomain: '.domain.com'
do a dev/build and flush.
In your CMS Settings you will find a tab CookieControl where you can enable/disable the cookie notice bar and do some other settings like the link to you privacy policy page.
No known issues.