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.


Nearly all websites use cookies, which are an extremely common technology for remembering anything about a visitor between webpages. Cookies are commonly used for login, remembering preferences, tracking visitors and more.


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?

If you install Cookie Consent, you will be informing your users that your website is using cookies. This is the same approach that Google, Twitter and more have taken towards compliance: continue to use cookies, but tell users that they’re being used (often called ‘implied opt in’).


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?

Simply telling users that your site uses cookies is the absolute bare minimum. Cookie Consent allows you to link to a cookie or privacy policy, if you have one. To comply with the law, we strongly recommend that you prepare a brief policy and link to it. Here’s our privacy policy, as an example.

Options


These are the options you can pass to Cookie Consent.


message (string): Default: ‘This website uses cookies to ensure you get the best experience on our website’


The message shown by the plugin.


dismiss (string): Default: ‘Got it!’


The text used on the dismiss button.


learnMore (string): Default: ‘More info’


The text shown on the link to the cookie policy (requires the link option to also be set)


link (string): Default: null


The url of your cookie policy. If it’s set to null, the link is hidden.


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


The target of the link to your cookie policy. Use to open a link in a new window, or specific frame, if you wish.



Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications