guardian / developers-site

https://developers.theguardian.com/
7 stars 4 forks source link

Consent banner for developer site #107

Closed johnduffell closed 5 years ago

johnduffell commented 5 years ago

This adds the consent banner! Thanks so much to @walaura for basically showing me how to do it patiently! (Sorry I tried to add you to all the commits but I messed up my local git by trying to rebase old commit messages.)

No cookies causes no tracking while the banner is active: image After clicking it runs GA straight away, but if you have opted out (GU_TK is 0) then it won't ask at all or do any tracking.