Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework site cookie banner for compliance #460

Open
thibaudcolas opened this issue Feb 6, 2024 · 3 comments
Open

Rework site cookie banner for compliance #460

thibaudcolas opened this issue Feb 6, 2024 · 3 comments
Assignees
Labels
accessibility sustainability Things relating to UN sustainable development goals, in particular climate action

Comments

@thibaudcolas
Copy link
Member

Lots of work needed there, as the current custom cookie banner likely isn’t good enough for our needs.

  • Needs to comply with privacy laws
  • Needs to follow WCAG 2.2 guidance
@Morsey187
Copy link

Morsey187 commented Feb 7, 2024

The current site needs an "opt out" button, I'd argue this is a legal requirement as the site is currently loading Google analytics in via Google Tag Manager regardless of consent.

Options to consider:

  1. Custom cookie banner
    A custom integration with the additon of an opt out button, similar to the torchbox.com site using js-cookie https://github.com/torchbox/torchbox.com/blob/37f8258b0439ffc13b252833d38b5ccf28734dd8/tbx/static_src/javascript/components/cookie-message.js#L4, I'm not sure how that;s setup to work with GTM but it seems to work fine and is something we could do in an accessible way fairly quickly.

  2. No cookie banner (privacy focused analytics)
    Remove the cookie consent banner altogether using "privacy focused analytics", both https://plausible.io/blog/made-in-eu or https://withcabin.com/ look to be good options.
    The paid version also for Cabin also has carbon reporting which would be a nice to have, they also monitor page weight so it's much more accurate then estimating based of page weight averages and page views alone see.
    Depeneding on how and if the current google analytics data is being used, I'd really like to push for going with Cabin straight away, and doing something more custom if needed later on.

  3. Third-party tool
    We review and pick a third party tool to manage the cookie banner.

Note: We may also be able to remove GTM (80KB) if it's only being used to load Google analytics. Plausible and Cabin are also a lot lighter in file size then google analytics.

@thibaudcolas It would be great to have an issue tag/label for sustainability in this repo along with in Wagtails, this will help us keep track of sustainability improvements and help keep us more accountable https://docs.wagtail.org/en/stable/advanced_topics/sustainability_considerations.html.

@thibaudcolas thibaudcolas added the sustainability Things relating to UN sustainable development goals, in particular climate action label Feb 9, 2024
@thibaudcolas
Copy link
Member Author

👍 added the label! @vossisboss what are your thoughts on this?

@Morsey187
Copy link

It's green too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility sustainability Things relating to UN sustainable development goals, in particular climate action
Projects
No open projects
Development

No branches or pull requests

2 participants