Cookie consent

EU law "requires" you to have a cookie consent on your page and you dont want to spend a lot of time creating one that really works. Instead i found one i like to use from Silktide.

The only thing you need to do is get the script and use it like:

<!-- Begin Cookie Consent plugin by Silktide - -->
    <script type="text/javascript">
    window.cookieconsent_options = {"message":"This page uses cookies in order to provide a good user experience.","dismiss":"Ok","learnMore":"Read more","link":"/cookies","theme":"dark-bottom"};

    <script type="text/javascript" src="//"></script>
<!-- End Cookie Consent plugin -->

When user press "OK" he will be redirected to "/cookies" so remember to create that page and there you may explain more about the cookies.

When user has accepted the message (which pop up at bottom of screen), it will be stored and gone for that browser.


Published: 2016-08-25