Add a cookie banner
Insert a simple banner on your website to inform users about the cookies you are using on your site. Users can give consent, or they can choose to block all or specific cookies.
Place sensitive cookies after consent has been given
Cookies that require consent will not be placed before consent has been given. This feature is essential to comply with the EU cookie law. Sadly, this is the part where many other cookie banner plugins fall short.
Of course, cookies which do not require consent are placed immediately.
Privacy settings
Users can adjust their privacy settings at any time through a small form on your site. Even after they have given consent.
Built for speed
Caching plugins will not interfere with the Hayona Cookie Consent plugin.
Implied consent (optional)
When you enable implied consent, clicking to the next page will count as consent; cookies are placed and the banner disappears.
Google Tag Manager
This plugin does not handle the actual loading of tracking scripts but uses
Google Tag Manager. Read more about this in the
FAQ.
Installation
Read the
installation page for a step by step guide.
About the cookie law in the EU
Compliance with the EU cookie law comes down to three basic steps:
- Make sure you know exactly which cookies your site sets, what they are used for and if they are privacy sensitive, which means that they contain personal identifiable information (PII).
- Inform your visitors precisely how you use cookies.
- Obtain the visitor’s consent and give them some control over their preferences.
Read the
installation page for more information.
Detect your cookies
This plugin uses Google Tag Manager to place tracking scripts / cookies. Therefore the plugin itself does not block scripts that you have placed directly in your website. This includes all default youtube videos and many social media buttons. Here are some suggestions on how to work around this issue:
- Enable privacy mode when embedding a YouTube video. This way the embedded video will not place cookies.
- Do not use social media share buttons that place cookies. This includes many well-known solutions like the Facebook like button and the AddThis toolbar.
- We suggest that you use the ghostery browser add-on to measure which other cookies are placed on your website.
Disclaimer
IMPORTANT NOTICE: Implementing this plugin will NOT automatically make your website in compliance with the EU cookie law. It gives you all the functionality you need, but you will have to use it correctly.
荣誉榜
Thanks to David from
Admin Columns for his technical review and advice.
翻译
We currently have support for two languages: English and Dutch. Would you like to help translating this plugin? Please contact us trough
this page.
Developers
Development for this plugin takes place at
GitHub. Please let us know if you have any feature requests / bugs or if you would like to contribute.
Step 1: Install the plugin
Follow these steps to install the plugin:
1. Go to 'Plugins » Add new'.
1. Search for 'Hayona Cookie Consent'.
1. Click 'Install now'.
1. Click 'Activate Plugin'.
Step 2: Make a privacy settings page
- Add a new page under 'Pages » Add New'.
- Name it 'Privacy statement' and paste in your privacy statement. In this statement you explain your users in detail which cookies you use and what you are using them for.
- Go to 'Settings » Cookie Consent'.
- Select your 'Privacy Statement' and hit 'Save changes'.
Step 3: Review banner text
- Go to 'Settings » Cookie Consent'.
- Go to the tab 'Banner settings'.
- Review the banner text and adjust if needed. See some examples further down this page under 'Banner text examples'.
Step 4: Name all your cookies
- Go to 'Settings » Cookie Consent'.
- Go to the tab 'Cookie settings'.
- List all the cookies cookies in the proper category. See some examples further down this page under 'Cookie examples'.
Tip: Use the ghostery browser add-on to find out which cookies are placed on your website.
Step 5: Install the Google Tag Manager.
- Get a free account here
- Place the trackingcode in your site using DuracellTomi's plugin
- Log in and select your site.
- Click on 'Triggers' and click 'New'.
- Select 'Custom Event' and give it the event name 'consent'. Save the trigger and click 'Publish'. Name this trigger 'Cookie Consent'
Watch a video to see these steps in a little screencast.
Congratulations!
By now you're ready to add all kinds of tracking scripts to your site. You will need to do this via Google Tag Manager.
- Log in and select your site.
- Click on 'Tags' and click 'New'.
- Select the product you would like to add. If you just have a piece of code to add, select 'custom HTML tag' and paste your code in.
Under 'Fire on' you can configure if the script will be loaded before or after consent has been given by the user. Use the 'All Pages' trigger on tracking scripts that you want to load before consent has been given, Use the 'Cookie Consent' trigger from step 5 on tracking scripts that need consent.
Save you tag and click 'Publish'.
Banner text examples
Here are some examples of content you can place in your banner.
English example:
This site uses cookies. By continuing to browse the site or clicking OK, you are agreeing to our use of cookies. Select ‘Change settings’ for more information.
Dutch example:
Deze website gebruikt cookies. Door OK te kiezen of gebruik te maken van deze website geeft u hiervoor toestemming. Kies 'Instellingen wijzigen' voor meer informatie.
Cookie examples
Below are some examples of functional and cookies that do
not store personal identifiable information (non-PII cookies). You don't need the visitor’s consent for these cookies:
- Language choice
- Shopping basket
- Google Analytics – only if implemented correctly in non-PII mode!
- Affiliate cookies
Here are some examples of cookies that do store personal identifiable information (PII cookies). You need the visitor's consent to place these cookies:
- Comscore
- Google Adsense
- Google Adwords remarketing
- Facebook remarketing
- All retargeting and advertising cookies
- Many social media buttons (Add-this toolbar, Facebook like box, etc.)
Add scripts outside of the Google Tag Manager
Web developers can check for cookie consent through a simple utility function called hasHayonaCookieConsent().
$(document).ready( function() {
if(hasHayonaCookieConsent()) {
// Place your cookie script here
}
} );