Ticket #258 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

Write and publish a cookies statement

Reported by: ed Owned by: ed
Priority: blocker Milestone: Production
Component: Drupal modules & settings Keywords:
Cc: chris, jim Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 3.72

Description (last modified by ed) (diff)

write some explano-text about our cookies and add to http://www.transitionnetwork.org/site-help

here good example:
http://recalledproducts.org/cookies

Attachments

Screen shot 2012-05-30 at 12.15.03.png (12.5 KB) - added by laura 4 years ago.
screenshot google link for webwidgets in views

Change History

comment:1 Changed 5 years ago by ed

  • Priority changed from major to critical

comment:2 Changed 5 years ago by chris

  • Cc chris added
  • Add Hours to Ticket changed from 0.0 to 0.05
  • Total Hours changed from 0.0 to 0.05

I suggest we implement stuff so we can say (in language people can understand!), something like:

  • The only cookies that might be set for people who don't login are the Piwik tracking ones (need to check that it does set cookies etc) and these are set and served using HTTPS.
  • Cookies are needed when users login, this is only done via HTTPS, all authenticated sessions are encrypted.

Would it help if we put the existing privacy policy on a wiki page so we can work on it there?

comment:3 Changed 5 years ago by ed

related to #276 for a list of the cookies

privacy policy onto wiki page = good idea = ed to do

comment:4 Changed 5 years ago by laura

Meant to comment re the wiki suggestion yesterday - yes, think it's a good idea. Have been looking into the cookie thing too.
Would also suggest that Privacy & Cookies statement is taken out of 'Site help' as such as that page is more to help people with their abilities to ensure they have a good user experience, and possibly pop in a page and link it in the bottom of the footer section links, next to T&Cs or similar - it's the sort of place where people are most likely to look for the info.

comment:5 Changed 5 years ago by ed

https://wiki.transitionnetwork.org/Privacy

AGREED: take privacy *out* of 'help' and put in own footer link

Chris - you'll be able to not have that google analytics text in there now :)

comment:6 Changed 5 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.3
  • Total Hours changed from 0.05 to 0.35

I have done some work on this and drafted a first draft of a possible replacement text, see: https://wiki.transitionnetwork.org/Privacy#Draft_New_Privacy_Text it needs to be made less techie and more friendly I expect ;-)

comment:7 Changed 5 years ago by ed

dropbox example here:
http://blog.dropbox.com/?p=846

comment:8 Changed 5 years ago by laura

Will be coming back to this next week.

Skilltide have a nice ebook all about the cookie law (a little self promoting in places, and tongue in cheek in others!) but a useful read about the law et al. Also highlights the nice example from http://allthingsd.com/ as a way of doing it (although not really what I'd recommend, but that one has some nice easy to understand explanatory texts)

Download the ebook - http://www.silktide.com/templatefiles/EU%20Cookie%20Law%20eBook.pdf

comment:9 Changed 5 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.2
  • Total Hours changed from 0.35 to 0.55

Not sure we need to worry too much about the law:

The UK... will not take any enforcement action until May 2012 at the earliest

the government clarified that consent may be signified by a user amending or setting controls on their internet browser to accept cookies

http://ehoganlovells.com/ve/ZZj31jR81rj6182tb72/VT=0/page=32

What we have at the moment is:

  1. HTTP anon browsing -- no cookies are set by transitionnetwork.org.uk, however the stats application at stats.transitionnetwork.org, piwik, does set two cookies for tracking users, if the user doesn't have no-track option set in their browser and if the user has javascript and cookies enabled. In addition 3rd party applications, that we have no control over, may set cookies, such as Google Maps.
  2. HTTPS authenticated browsing -- cookies are set when a user logs into the web site, this is unavoidable as it's how Drupal authenticates users. However users can opt out of tracking in the same manner as on the HTTP site and in addition then can set a option not to be tracked in their preferences.

The above would need translating into language the users can understand I expect...

comment:10 Changed 5 years ago by chris

The Piwik Do Not Track plugin has just been installed and enabled, see ticket:292#comment:1 and as a result the last comment above about what is happening with cookies will now be correct when GA is removed from the site.

comment:11 Changed 5 years ago by ed

  • Milestone changed from Phase 4 to Phase 5

comment:12 Changed 5 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Total Hours changed from 0.55 to 0.8

I just did a little tweaking on the draft cookies policy, https://wiki.transitionnetwork.org/Privacy#Draft_New_Privacy_Text

There are some drupal/piwik settings we might want to agree on before the text is finalised, see
https://www.transitionnetwork.org/admin/settings/piwik

  • Do we want to exclude any roles from being tracked? Currently all roles are tracked.
  • Currently we exclude /admin/ pages from being tracked, does this cover everything that should be excluded?
  • Currently it's set so "Users cannot control whether they are tracked or not." Shouldn't this be changed to "Track users by default, but let individual users to opt out."?
  • Is it OK to switch of GA now? See ticket:292

comment:13 Changed 5 years ago by ed

  • Milestone Phase 5 deleted

comment:14 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.1
  • Total Hours changed from 0.8 to 0.9

Can we sort out the new privacy policy and drop GA for Piwik at the same time that the PSE widget is launched?

See also ticket:382

comment:15 follow-up: ↓ 16 Changed 4 years ago by laura

Hi Chris -

I'm happy to drop GA at an appropriate time - we'll need to ensure that we can set up tracking with Piwik to attach to the PSE widget.
Also, I need to add a campaign url for some badges that Transition Training are testing (currently using GA but am going to change them to piwik soon).

Re cookies, I'll be adding a page re cookies later this week, thankfully the cookie law changed a little at last minute - http://m.guardian.co.uk/technology/2012/may/26/cookies-law-changed-implied-consent?cat=technology&type=article

I've collated some useful texts from others on what cookies are and how to manage etc within your own browser and tools to add on too. Had wondered if we use a module for the alert for now - such as http://drupal.org/project/eu-cookie-compliance to save coding up a custom pop up script to alert users which I can style up in TN colors. Would appreciate your thoughts on the module if you have any.

comment:16 in reply to: ↑ 15 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.15
  • Total Hours changed from 0.9 to 1.05

Replying to laura:

I'm happy to drop GA at an appropriate time - we'll need to ensure that we can set up tracking with Piwik to attach to the PSE widget.

The widget does already have Piwik tracking but I haven't yet looked at how to generate specific widget data -- I was hoping to experiment with this using the dev version of the TN site and the dev install of Piwik, rather than the live ones...

Also, I need to add a campaign url for some badges that Transition Training are testing (currently using GA but am going to change them to piwik soon).

Shout if you need some help with this?

Re cookies, I'll be adding a page re cookies later this week, thankfully the cookie law changed a little at last minute - http://m.guardian.co.uk/technology/2012/may/26/cookies-law-changed-implied-consent?cat=technology&type=article

The Guardian won't let me read that article unless I accept a cookie from them!

The Piwik server has the Do Not Track plugin installed -- any broswer that sends the DNT header won't be tracked, though I guess I need to test if a cookie is set in these cases...

The only other cookies I'm aware that we set are the session cookies for logins -- this is how Drupal logins work.

I've collated some useful texts from others on what cookies are and how to manage etc within your own browser and tools to add on too. Had wondered if we use a module for the alert for now - such as http://drupal.org/project/eu-cookie-compliance to save coding up a custom pop up script to alert users which I can style up in TN colors. Would appreciate your thoughts on the module if you have any.

Hmm, IANAL but given that we only use cookies for authentication wouldn't some text on the login page together with a updated privacy policy be enough? This plugin seems to be more about covering ones back than doing anything of use...

Remember we have this draft new policy: http://wiki.transitionnetwork.org/Privacy

comment:17 follow-up: ↓ 18 Changed 4 years ago by laura

Hi Chris - thanks for the feedback. I've seen so many sites that have implemented annoying popups which tbh I'm sure will fade very soon indeed - I feel there has been mass confusion about the 'law' and as we're not being too bad with our cookies we aren't in a bad place with it all, though useful for those who enjoy reading cookie policies et al there will be a page for them! I'll be adding a link to the bottom links on all pages (in the footer) with the title privacy and cookies and adding the texts which are taken in part form your wiki page and some of the bits I've collated from others too.

The 'web widget' module we use on the site, when creating a view for the widget has a tick for adding Google Analytics, (It's a really simple module) which we've never actioned, and presume that to add a piwik link isn't too difficult either. (it could already be there).

Re the training team badges, they are simple embed a linked image badge promoting the TTraining for ini's to put on their sites and they've just created a new batch. All I need is a simple campaign url to add onto the url (something that shows in the analytics under campaigns - Transition Training Badge as the title - don't have to be unique for each badge, just so it's easy to collate general stats on how many (if any!) clicked on the image link to get to T Training page on the TN website. Would you recommend using this - http://piwik.org/docs/tracking-campaigns/url-builder/ or is there something better within the Piwik account page to create these?

comment:18 in reply to: ↑ 17 ; follow-up: ↓ 20 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.2
  • Total Hours changed from 1.05 to 1.25

Replying to laura:

Hi Chris - thanks for the feedback. I've seen so many sites that have implemented annoying popups which tbh I'm sure will fade very soon indeed - I feel there has been mass confusion about the 'law' and as we're not being too bad with our cookies we aren't in a bad place with it all, though useful for those who enjoy reading cookie policies et al there will be a page for them! I'll be adding a link to the bottom links on all pages (in the footer) with the title privacy and cookies and adding the texts which are taken in part form your wiki page and some of the bits I've collated from others too.

Great. I would suggest we remove the GA module now to save writing a new policy that includes GA and then having to do another when GA is removed -- does that make sense?

Regarding Piwik, there is a new version of the DNT plugin that I need to install: http://dev.piwik.org/trac/ticket/2048#comment:13

Once I have done that I will test to see if a browser with DNT switched on will get a cookie from stats.transitionnetwork.org -- currently one does get one.

The 'web widget' module we use on the site, when creating a view for the widget has a tick for adding Google Analytics, (It's a really simple module) which we've never actioned, and presume that to add a piwik link isn't too difficult either. (it could already be there).

I'm not sure I understand is this separate from the PSE widget? And if so can you point me to an example of this 'web widget'?

The PSE widget example of Jim's site did have GA and Piwik tracking webbugs already.

Re the training team badges, they are simple embed a linked image badge promoting the TTraining for ini's to put on their sites and they've just created a new batch. All I need is a simple campaign url to add onto the url (something that shows in the analytics under campaigns - Transition Training Badge as the title - don't have to be unique for each badge, just so it's easy to collate general stats on how many (if any!) clicked on the image link to get to T Training page on the TN website. Would you recommend using this - http://piwik.org/docs/tracking-campaigns/url-builder/ or is there something better within the Piwik account page to create these?

That looks perfect for what you want to do.

comment:19 Changed 4 years ago by chris

I have created a separate ticket for the updating of the Do Not Track plugin, see ticket:414

comment:20 in reply to: ↑ 18 ; follow-up: ↓ 21 Changed 4 years ago by laura

Replying to chris:

Replying to laura:

Hi Chris - thanks for the feedback. I've seen so many sites that have implemented annoying popups which tbh I'm sure will fade very soon indeed - I feel there has been mass confusion about the 'law' and as we're not being too bad with our cookies we aren't in a bad place with it all, though useful for those who enjoy reading cookie policies et al there will be a page for them! I'll be adding a link to the bottom links on all pages (in the footer) with the title privacy and cookies and adding the texts which are taken in part form your wiki page and some of the bits I've collated from others too.

Great. I would suggest we remove the GA module now to save writing a new policy that includes GA and then having to do another when GA is removed -- does that make sense?

Yes all okay for that - but if possible can we keep on until the end of the month so I can finish collating this months stats for the TN team under GA. (not long til the end of the month!) I've mentioned we're switching over to Piwik fully too.

Regarding Piwik, there is a new version of the DNT plugin that I need to install: http://dev.piwik.org/trac/ticket/2048#comment:13

Once I have done that I will test to see if a browser with DNT switched on will get a cookie from stats.transitionnetwork.org -- currently one does get one.

The 'web widget' module we use on the site, when creating a view for the widget has a tick for adding Google Analytics, (It's a really simple module) which we've never actioned, and presume that to add a piwik link isn't too difficult either. (it could already be there).

I'm not sure I understand is this separate from the PSE widget? And if so can you point me to an example of this 'web widget'?

They are listed here: (scroll down to web widgets lower into the page)
http://www.transitionnetwork.org/syndication-and-social-media - I altered how the embed code outputted as the default is a little clunky for users.
Here is a sample of the widget page for the news one - https://www.transitionnetwork.org/sharing/widget_news
and the output by the module itself for the embed codes which isn't as nice to use but use ... https://www.transitionnetwork.org/sharing/news

and here is the link to the view that works with the web widget module - https://www.transitionnetwork.org/admin/build/views/edit/widget

In the widget view editing bit - there is an element for adding google tracking (which we have switched off - which adds some element of a campaign or other - not actually used!)

The PSE widget example of Jim's site did have GA and Piwik tracking webbugs already.

Re the training team badges, they are simple embed a linked image badge promoting the TTraining for ini's to put on their sites and they've just created a new batch. All I need is a simple campaign url to add onto the url (something that shows in the analytics under campaigns - Transition Training Badge as the title - don't have to be unique for each badge, just so it's easy to collate general stats on how many (if any!) clicked on the image link to get to T Training page on the TN website. Would you recommend using this - http://piwik.org/docs/tracking-campaigns/url-builder/ or is there something better within the Piwik account page to create these?

That looks perfect for what you want to do.

Great - will use that one then!

comment:21 in reply to: ↑ 20 ; follow-up: ↓ 22 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.82
  • Total Hours changed from 1.25 to 2.07

Replying to laura:

Yes all okay for that - but if possible can we keep on until the end of the month so I can finish collating this months stats for the TN team under GA. (not long til the end of the month!) I've mentioned we're switching over to Piwik fully too.

That sounds fine to me. It'll also coincide to the switch to Good Energy -- we could make some noise about both changes in a blog post or something perhaps?

They are listed here: (scroll down to web widgets lower into the page)
http://www.transitionnetwork.org/syndication-and-social-media - I altered how the embed code outputted as the default is a little clunky for users.
Here is a sample of the widget page for the news one - https://www.transitionnetwork.org/sharing/widget_news

OK, I think it should be simple to add a Piwik webbug to these pages but:

In the widget view editing bit - there is an element for adding google tracking (which we have switched off - which adds some element of a campaign or other - not actually used!)

I haven't found this, does it have a URL?

Changed 4 years ago by laura

screenshot google link for webwidgets in views

comment:22 in reply to: ↑ 21 ; follow-up: ↓ 23 Changed 4 years ago by laura

Replying to chris:

Replying to laura:

Yes all okay for that - but if possible can we keep on until the end of the month so I can finish collating this months stats for the TN team under GA. (not long til the end of the month!) I've mentioned we're switching over to Piwik fully too.

That sounds fine to me. It'll also coincide to the switch to Good Energy -- we could make some noise about both changes in a blog post or something perhaps?

Anything for blog posts welcomed. I have a batch of draft posts here on my own desktop relating to web and tech and anything interesting to add always welcomed!

They are listed here: (scroll down to web widgets lower into the page)
http://www.transitionnetwork.org/syndication-and-social-media - I altered how the embed code outputted as the default is a little clunky for users.
Here is a sample of the widget page for the news one - https://www.transitionnetwork.org/sharing/widget_news

OK, I think it should be simple to add a Piwik webbug to these pages but:

I'll have a look at dev tomorrow morning - and it maybe needing a chat with Jim re this on any thoughts he had with implementing tracking. We're using the webwidgets module but seems we're using a different way of it working for the PSE widgets...

  • I'm not sure if there are any Piwik issues that should be considered when adding tracking to 3rd party sites, I have asked about this on the Piwik forum as I haven't found an answer to this question anywhere.

In the widget view editing bit - there is an element for adding google tracking (which we have switched off - which adds some element of a campaign or other - not actually used!)

I haven't found this, does it have a URL?

See attached screenshot of where to see...

comment:23 in reply to: ↑ 22 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 1.0
  • Total Hours changed from 2.07 to 3.07

Replying to laura:

Anything for blog posts welcomed. I have a batch of draft posts here on my own desktop relating to web and tech and anything interesting to add always welcomed!

OK, I'll try and draft something when I get a chance.

Regarding the tracking I have worked out how to add a webbug to these widgets, I have added an image to the footer and you can see it at the bottom of this page if you view the HTML source:

https://dev.transitionnetwork.org/sharing/widget_news

We can add additional items to the query string to generate specific stats, specifically:

  • action_name - Defines the custom Page Title for this page view
  • idgoal - The request will trigger the given Goal

However I think it would be more flexible if we were able to use the javascript tracker and in order to do that I think the template for the widget will need editing, assuming we can use a javascript write to write a javascript write?

This is something we can discuss at the meeting tonight.

comment:24 Changed 4 years ago by chris

  • Cc jim added

Jim has suggested adding the JS tracking code to the header using PHP format.

comment:25 Changed 4 years ago by jim

To be clear, that's the views header: edit it (override if needs be); paste tracking code; ensure format is PHP (to keep all content); save.

comment:26 Changed 4 years ago by ed

  • Milestone set to Production

so what's going on with this then? this was about a cookies policy and looks like it turned into a widget tracking issue... what's the score?

comment:27 Changed 4 years ago by ed

  • Description modified (diff)

hmm?

comment:28 follow-up: ↓ 30 Changed 4 years ago by ed

  • Priority changed from critical to blocker
  1. Agreed with Chris 19/03/12: update the privacy statement for 01/013/13 as we move off Google Analytics (CHRIS to write)
  2. Agreed with Chris 19/03/13: we don't really need an annoying pop up as we aren't doing anything that isn't standard which we need to inform users about, and a good privacy statement will cover us
  3. Privacy statement and terms and conditions for PSE - what are we and aren't we tracking? I need an answer on this as I'm doing the T&Cs for the widget *now* - need an answer. Moving this to blocker

comment:29 Changed 4 years ago by laura

re, recent updates to the law (for bedtime reading)...

and prob more helpful, a good clear 'plain english' page explaining cookies and how used - a nice model is here of which some of the texts for explano-blurbs could be 'liberated' from - https://www.gov.uk/support/cookies with a mix of their privacy texts too - https://www.gov.uk/support/privacy-policy

comment:30 in reply to: ↑ 28 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.15
  • Total Hours changed from 3.07 to 3.22

Replying to ed:

  1. Agreed with Chris 19/03/12: update the privacy statement for 01/013/13 as we move off Google Analytics (CHRIS to write)

I have updated the draft here:

https://wiki.transitionnetwork.org/Privacy#Draft_New_Privacy_Text

Does it need more details about cookies adding? Details regarding what cookies we set for people if they don't login and also what cookies we set for people if they login?

Also I'm not much of a writer -- I'm happy to help with the technical details, but I'm sure someone else could write some more friendly blurb than me...?

  1. Privacy statement and terms and conditions for PSE - what are we and aren't we tracking? I need an answer on this as I'm doing the T&Cs for the widget *now* - need an answer. Moving this to blocker

The widget has exactly the same webbugs as any other page on the Transition Network site -- we are embedding a page from the Transition Network site onto other sites using an iframe.

comment:31 follow-ups: ↓ 34 ↓ 35 Changed 4 years ago by ed

  • Owner changed from laura to ed
  • Status changed from new to assigned
  1. Excellent outline so far. Yes please - If you can describe the cookies we set for not logged in and logged in, that would be excellent. Ed will editorially fluff it. The reccomended pages by laura are great: https://www.gov.uk/support/privacy-policy and https://www.gov.uk/support/cookies
  1. PSE and privacy - OK then I'll assume that if they put the widget onto their sites, then they are agreeing to our privacy policy which I will link to in the widget FAQs and T&Cs.

Also re-assigning to Ed from Laura, but input needed from Chris here for #1 please.

comment:32 follow-up: ↓ 33 Changed 4 years ago by ed

Also tested to see if we can see the piwik tab - and i can't with various accounts - see wiki

comment:33 in reply to: ↑ 32 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.15
  • Total Hours changed from 3.22 to 3.37

Replying to ed:

Also tested to see if we can see the piwik tab - and i can't with various accounts - see wiki

OK, this is an issue for Jim -- if I do My account -> Edit the I see a long page which includes this section with a tick box which isn't disabled:

Piwik configuration

Users are tracked by default, but you are able to opt out.

| | Enable user tracking

This is because we changed the settings here, https://www.transitionnetwork.org/admin/settings/piwik#edit-piwik-custom-0-wrapper to:

Custom tracking settings:

| | Users cannot control whether they are tracked or not.

|.| Track users by default, but let individual users to opt out.

| | Do not track users by default, but let individual users to opt in.

Allow individual users to customize the visibility of tracking in their account settings. Only users with opt-in or out of tracking permission are allowed to set their own preference.

I guess there are some other permissions that need changing so that people without admin access get this option?

comment:34 in reply to: ↑ 31 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Total Hours changed from 3.37 to 3.62

Replying to ed:

If you can describe the cookies we set for not logged in and logged in, that would be excellent.

I still have to do this, it'll take an hour or so, I'll set up a copy of Firefox and use something like that live http headers plugin to document exactly what cookies are set by which apps.

I have also been thinking a bit about the bigger picture and wondering if we need to step back a bit and consider what we are logging and why?

I'd suggest that we should aim to record the minimum data that we might need, and no more. This could mean that we consider:

  • Server logs, it is sometime handy to have system logs going back some time, how long, a year?
  • What about Nginx and php-fpm logs, do we need to keep them for more than a month?
  • If the site is being attacked server logs are handy to see what is happening but apart from that are they ever needed?
  • What about the drupal logs, are these still going to the syslog?
  • What about things like logwatch emails, should mention of this level of detail be needed in a privacy statement?
  • Piwik stats, do we need to save any IP addresses? If we have the country and the user tracking cookie isn't that enough?

comment:35 in reply to: ↑ 31 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.1
  • Total Hours changed from 3.62 to 3.72

Replying to ed:

If you can describe the cookies we set for not logged in and logged in, that would be excellent.

I took a look at the headers and posted the results in two comments on another ticket, see ticket:371#comment:34 and ticket:371#comment:36 and I wrote up a summary here:

comment:36 Changed 4 years ago by ed

  • Status changed from assigned to closed
  • Resolution set to fixed

Added to http://www.transitionnetwork.org/site-help

Good work all!

Closing

Note: See TracTickets for help on using tickets.