Lately I've been seeing more and more cookie information pages on websites [1], due to the EU regulation. A lot of pages provide the same, basic information about pages;
- What are cookies
- How do cookies work
- How we use cookies
- An overview of the cookies beeing used on the site
- What to do if you don't give consent for cookies being used
Currently, with the EU Cookie Compliance module, the site maintainer has to create an information page on cookies being used on your website. We could facilitate a site maintainer by providing a default information page with this information (which can be overriden of course).
In order to provide automaticaly (4) an overview of cookies used, this module could provide a hook to acquire the needed information from other modules. By doing so the cookie information provided by the cookie setting modules.
Best,
VinceW
PS: I found a sponsor who is willing to provide time/code to implement this feature :-)
Example(s);
[1] http://www.springermedia.nl/cookies/ (dutch)
Comments
Comment #1
VinceW commentedSome additional information. More or less a general outline of my feature request.
This feature isn't auditing all installed modules whether they set cookies or not. It's depending on community efforts to use the hook and provide information. A site admin also has a responsibility to check whether a installed module is setting cookies or not.
RFC:
Please review this outline of feature functionality. If anyone sees any improvement, please add them here in the queue. Working code is going to be published in this queue.
Comment #2
Miszel commentedHere is a list of issues that are somewhat related and hence should be taken into consideration while developing this feature:
http://drupal.org/node/1605144
http://drupal.org/node/1605134
http://drupal.org/node/1577970
http://drupal.org/node/1569478
Comment #3
AFowleI appreciate the Drupal hook approach used here, but I am not sure the feature is needed because
a) I'm not sure that much detail is needed for compliance. It seems to me that something along the lines of
" This site uses cookies for its own function, and for linking to Google analytics and x, y &z" would do.
b) If more information is needed on which cookies are set, there must surely be a Drupal api function that would list them and could be used to dump them on a page with pretty formatting?
If the information is really needed, at least the approach in (b) would tell you which cookies you were not getting hooks for.
Comment #4
AFowleI find the banners in the footer or header are an eyesore, and it gets worse as more sites join in. I hide them when I have accepted the cookies. This makes it difficult to unset them, and to remember which sites use them. The alternative cookie control module retains a small icon, although the colours don't suit.I think a Drupal block might be a useful way to do this, then site admins could place it where it worked best and the style would match.
Comment #5
VinceW commentedrelated to #2 I looked into those issues.
#1605144: Default Policy
#1605134: Policy Updates
#1577970: Provide a means to Un-set
#1569478: Un-consenting
I notice that none of the issues has matured enough to be usefull for the informationpage feature request at the moment. I suggest to discuss those issues in there own ticket and -if- there is a usefull outcome, we implement it on the informationpage. This way the tickets stay on topic. I will put my responses in those issues.
Comment #6
VinceW commented#3
a) I think we need to provide information, based on:
as stated on: http://www.ico.gov.uk/for_organisations/privacy_and_electronic_communica...
b) Currently I'm not aware of any drupal (api) function that can be used to list the cookies beeing set by drupal (core or modules). If I missed that function, I'm glad to be informed (saves duplicate coding).
Do we want this module to actively check for cookie setting code or do we want cookie setting code to be transparent and provide information about the setting of the cookie. I prefer the latter, since setting cookies (way, purpose, information usage, etc) can by realy divers, it's almost impossible to audit all code for this.
Comment #7
VinceW commented#4
I think this is related to #1577970: Provide a means to Un-set and that this should be discussed there. If we come up with a workable solution there, we can decide if the information page is the best place for it.
Comment #8
Miszel commentedThis is out of the topic but I think it is worth mentioning that there are templates for the banners that can be easily overridden in your theme. Many sites do so. For example: http://www.touchcardiology.com They use the same EU Cookie Compliance module. They just changed the feel and look of the banner.
Comment #9
Miszel commentedHi Vince, is anything happening with this issue?
Comment #10
achtonI am about to implement a "lite" version of this feature for 6.x that acts very much like the expanded dropdown at http://cookielaw.org, when you hit "Find out more". A few textfields on the admin side will supply the editable info for site owners.
I think my feature should be able to expand to what is outlined in #1, if there is an option to toggle between expanding the dropdown, or showing the info on a seperately generated page as suggested in the issue summary.
I will provide a patch here.
Comment #10.0
achtonAdded notice about sponsor, so maintainer knows it's not all up to him.
Comment #11
svenryen commented