Skip to main content

A cookies consent Plone solution; used for European Cookie Law by Emilia Romagna Region

Project description

An add-on to provide a full-featured cookie consent solution for your site. It’s mainly target to the recent European Cookie Law but can be used anywhere if you care about user’s privacy.

How it works

This add-on gives two kind of different features:

  • A cookie consent confirmation banner, which should link (but it’s not required) the user to a Privacy Policy.

  • An opt-out dashboard for accept/reject single cookies

This add-on is also compatible with internationalized sites (LinguaPlone supported).

Opt-out dashboard

Additionally an opt-out dashboard (a view callable as /@@optout-dashboard) is available to restricts 3rd-party cookies.

The dashboard composition can be configured by the control panel, but is above che scope of this add-on to manage how those cookies are processed. Third-party party add-ons must take care of this.

A cookie is always in the form NAME-optout and can have a value equals to true or false.

Know add-ons which support opt-out cookies

Here follow a list of common add-ons that can be used with opt-out cookies:

sc.social.like (version >= 2.3) - server side

A cookie named social-optout valued to true will automatically activate the “Do not track users” option for the current user.

collective.analyticspanel (version >= 0.5.0) - server side

If properly configure, a cookie named analytics-optout valued to true will not load the analytics code. Although the add-on works server side, you are free to provide an analytics code that conditionally load when this cookie is present working totally on client side.

Products.Maps (version >= 0.4) - client side

If a cookie named maps-optout is provided valued to true the Google map is not directly displayed in the page.

redturtle.video (version >= 1.2.0) - server side

Not directly RedTurtle Video, but extensions like collective.rtvideo.youtube (>=0.4.0) and collective.rtvideo.vimeo (>=0.3.0) will not display the video directly if a video-optout cookie valued true is provided

Configuration

Add-on configuration can be reached from the “Cookie consent configuration” entry in the Plone control panel.

Opt-out dashboard

The opt-out dashboard configuration is only needed if you are using 3rd party add-ons or external software that handle opt-out cookies.

Configuring this panel will select which cookies must the available to the user’s preferences.

You must provide:

  • an application id

  • a list of one or more prefix, used for build cookies name

  • a title and description for describing to users how this opt-out works if activated. Again: you can provide a description for every involed language

Opt-out dashboard - configuration

Issues/Troubleshooting

Varnish

TODO

Control panel

TODO

HttpOnly

TODO

Credits

Developed with the support of Regione Emilia Romagna; Regione Emilia Romagna supports the PloneGov initiative.

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

0.1.1 (2015-10-14)

  • Add safe_html filter for text configuration [cekk]

0.1.0 (2015-09-16)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rer.cookieconsent-0.1.1.tar.gz (257.7 kB view details)

Uploaded Source

File details

Details for the file rer.cookieconsent-0.1.1.tar.gz.

File metadata

File hashes

Hashes for rer.cookieconsent-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aaf4680c7fbbb686544a436a3abc7eb094ea69dfde836e4e9b0675f11d52766f
MD5 7f4a3a7263a315a691aa96d2f99cc566
BLAKE2b-256 ff761f7945f8c421623b9a032c235185a4bfa6e5c7487ca85e9373b491804b81

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page