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:
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.
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: 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.