devinit / DIwebsite-redesign

New DI website 2019
1 stars 1 forks source link

Adding a GDPR compliant cookie consent form #1378

Open SimonMurphyDI opened 6 months ago

SimonMurphyDI commented 6 months ago

Hello - popping down this ticket as a record of a chat between Alex and me: https://devinitorg.slack.com/archives/CCG8Y0YJG/p1707904984739729

If you navigate to the DI website, you'll see a black pop up box that warns you the website uses cookies. There's no option but to consent to this

image

However, as it currently stands, this approach isn't GDPR compliant - you can read more about why this is here.

We'd like to update that code so users have the option to reject cookies. For this to function, the new code has to 'talk to' google analytics.

Currently I think we use:

In the first instance, it would be good to get an estimate of how long this might take. It's not urgent.

It would also be important to ensure that the solution doesn't create any loss of performance - Alex has noted that the current pop up is causing issues with cumulative layout shift, and other page performance metrics - see more here.

I'd be keen that we don't go for a solution that negatively impacts the page performance

Best Simon