GDPR: Adding a cookie consent banner to your website

This is a requirement of the EU Cookie law (ePrivacy Directive). You need to let users know when cookies are being used, and have them consent to their use. You now see these cookie banners on most websites to comply with the law. You can also link to your privacy policy here so that visitors can easily find further information.

It’s easy to add to your website by using a plugin. There are two options here. Jetpack have a cookie consent widget now which is available by default, and there’s also an independent plugin called Cookie Notice by dFactory that has similar functionality.

 

Jetpack Cookies & Consents Banner

This banner is a widget which means that it will only work on pages that display that widget. Make sure that you choose a widget location that is available on all pages (eg a footer section).

To enable the banner go to Appearance -> Widgets

Widgets section

 

 

Choose a widget area that will display on all your pages and drag the cookies and consents widget into that section.

Adding cookie widget

 

Now you need to configure some basic settings for the banner.

You can leave the default cookie text as it is, unless you want to modify it.

Default cookie banner text

 

Now you can update the privacy policy link to your own website which is http://yourdomain.com/privacy-policy/ if you followed the previous post to create your privacy policy page.

add privacy policy link to banner

 

Decide when the cookie banner should capture consent and hide the banner. In this case I’m not collecting it until the user clicks the button.

capture consent

 

You also need to decide how long the cookie last before expiring. 60 days in this example and whether you want a light or dark banner to suit your website design.

cookie expiry

 

Finally you need to save the widget changes.

save cookie widget changes

 

Go to your website homepage now and you will see the cookie banner displayed at the bottom of the page.

 

You can find out more about the Jetpack cookie banner on their website.

 

Cookie Policy by dFactory

This plugin has been in use for a while now and works well.

 

To add a new plugin go to the Plugins section on your dashboard and choose the ‘Add New’ tab.

Add new plugin

 

And enter what you’re searching for – in this case it’s ‘cookie policy’

 

Look for the Cookie Notice by dFactory plugin and use the ‘Install’ button to download and install it on your website. When this is done the button will change to ‘Activate’ which will switch the plugin on.

cookie notice by dfactory

 

Back in your Plugins section look for Cookie Notice and access the Settings.

cookie notice settings

 

Alternatively look for it under the Settings section in your dashboard

settings for cookie notice

 

Your first option is to modify the default cookie notice message that you want to display in the banner.

 

Next you can enable a ‘read more’ button that will link to your website privacy policy

enable privacy policy link

 

Now set the cookie expiry that you want and whether you want the banner to display at the top or bottom of your website pages.

cookie expiry

 

Finally save your changes..

save cookie changes

 

 

Go to your homepage and you will find the cookie notice banner displaying at the header or footer, depending on where you chose to show it.

cookie banner notice

 

 

You now have cookie consent and a privacy policy set up on your website. The next step is to go through your privacy policy page and make sure it covers everything that’s required for your particular website.

Leave a Reply

Your email address will not be published. Required fields are marked *