Cliqon uses and recommends the Cookie Consent plugin from Silktide for compliance with EU law. It is available as a .tpl partial in views for you to include.
Shown below are instructions about its use adapted from the Silktide website.
What the EU law says
From May 2011 a new privacy law came into effect across the EU. The law requires that websites ask visitors for consent to use most web cookies.
The law provides some exceptions for “strictly necessary” cookies, but there is considerable disagreement over what this means. Cookie Consent is based upon the simplest compliance approach that has become common across the Internet since 2011.
Will Cookie Consent make me compliant with the law?
Whilst we can’t guarantee that our plugin will constitute total compliance for everyone in the EU, this approach does appear to have satisfied regulators for the time being. If you’re confused by the law and its vague requirements, you’re in good company.
Do I need to do anything else?
These are the options you can pass to Cookie Consent.
The message shown by the plugin.
dismiss (string): Default: ‘Got it!’
The text used on the dismiss button.
learnMore (string): Default: ‘More info’
link (string): Default: null
container (string: CSS selector): Default: null
The element you want the Cookie Consent notification to be appended to. If null, the Cookie Consent plugin is appended to the body.
Note: the majority of our built in themes are designed around the plugin being a child of the body.
theme (string): Default: ‘light-floating’
The theme you wish to use. Can be any of the themes from the style directory, e.g. dark-top.
If you wish to use your own CSS instead, specify the URL of your CSS file. e.g. styles/my_custom_theme.css. This can be a relative or absolute URL.
To stop Cookie Consent from loading CSS at all, specify false.
path (string): Default: ‘/’
The path for the consent cookie that Cookie Consent uses, to remember that users have consented to cookies. Use to limit consent to a specific path within your website.
domain (string): Default: The current subdomain
The domain for the consent cookie that Cookie Consent uses, to remember that users have consented to cookies. Useful if your website uses multiple subdomains, e.g. if your script is hosted at www.example.com you might override this to example.com, thereby allowing the same consent cookie to be read by subdomains like foo.example.com.
expiryDays (integer): Default: 365
The number of days Cookie Consent should store the user’s consent information for.
target (string): Default: _self
Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications