Comments (3)
π added the label! @vossisboss what are your thoughts on this?
from wagtail.org.
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:
-
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. -
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. -
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.
from wagtail.org.
It's green too!
from wagtail.org.
Related Issues (20)
- Poor color contrast in light mode for cancel icon in search modal HOT 1
- Sponsored issue: Improve website formating HOT 1
- Sequence item 1: Expected str instance, NoneType Found In get-started.html in the pattern-library
- 'NoneType' object does not support item assignment in nav-cta.html in the pattern-library
- Value Error at Pattern Library - fullpageurl tag expected a Page object
- Some Images on Homepage Requires Zooming for Clear View HOT 3
- SVG icons are not same size on smaller screen and dark Mode toggle button Accessibility HOT 2
- Highlight "Contribute to this" items on the roadmap HOT 3
- Replace usages of `docker-compose` with `docker compose`
- WHCM styles improvements HOT 1
- Mobile menu navigation items are inaccessible at full-page zoom
- Decorative shapes overlap section subheadings HOT 1
- Sign up form styling HOT 1
- Increase logo visibility in contrast themes / high-contrast mode
- CAA DNS record to limit certificate issue risks HOT 1
- Add a CSP to wagtail.org
- adding new page error HOT 1
- Sector Selector Doesn't Work in Showcase page type HOT 1
- Remove Google Tag Manager from Wagtail page previews
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wagtail.org.