fightforthefuture / digital-climate-strike

Repository for Digital #ClimateStrike widget: https://digital.globalclimatestrike.net/
MIT License
67 stars 24 forks source link

Remove or disable google analytics (by default) #76

Closed NerdyProjects closed 5 years ago

NerdyProjects commented 5 years ago

Hey there,

why do we want to support companies like google getting more user data? We expect - or at least hope - that a lot of projects participate in the digital climate strike.

We

and for what?...

miloskroulik commented 5 years ago

I agree completely. Perhaps we should switch GA from opt-out to opt-in?

dtoakley commented 5 years ago

Hey @NerdyProjects and @miloskroulik,

First up, thanks for this feedback. I'm aligned with you on not wanting to send user data to Google on websites that previously did not have Google Analytics. We thought about this default when we implemented this feature and settled where we did for a number of reasons. I'll try to outline them as best I can, along with what I recommend instead of changing the default:

So, instead of flipping the default on this, I think we should update the README to be super clear (with some bolding, for example) that the widget adds Google analytics by default, but it can be disabled in the options. We could even include the specific additional script tag they will need so folks can just copy and paste it.

How does that sound? I totally hear y’all on the downside with this - but am also hoping this provides a bit more transparency / thinking into why it’s on by default.

krmax44 commented 5 years ago

I'd then either suggest running something self-hosted like Matomo or doing something simple as pinging the main server with a transparent POST request everytime the banner is shown.

Google Analytics is not needed for this and having it enabled by default is not compliant with the EU's GDPR. The last thing you want is bringing webmasters trying to raise awareness into legal trouble.

dtoakley commented 5 years ago

I've updated the README with a section about Google Analytics tracking as per my suggestion: https://github.com/fightforthefuture/digital-climate-strike/commit/0eb2621d0de84adbf9f8d88f99aa3b0e7486f7b9

@krmax44 I hear you and agree it would be good to have this tracking self-hosted with Matamo. I created a Matomo account and an issue to migrate over to it (#77). Setting up a server (we don't currently have any running) would unlikely deliver on the acceptance criteria in the issue (or at least be a lot more difficult).

But I also want to provide additional transparency as to why I am not confident we should complete the ticket before Sept 20th:

So while the code changes might not be too complex, there will need to be quite a lot of non-code related work before we could consider it done, and we're spread super thin with widget updates being very low priority for our team. I hope that context is helpful in terms of my thinking around this. I really do want to support this community and campaign with the best possible approach that works for the most people - and most importantly, whatever makes the biggest impact (turnout, awareness) for the strikes. Thanks :)

dtoakley commented 5 years ago

Closing this because we have #77 issue as the longer term resolution.