I have a question concerning cookies, as the GDPR states when you're using google analytics on your website, your visitors need to give their consent for the data to be send to analytics. When before it could be opt-out, recently it has been decided that it needs to be per opt-in.
What I want to do is create a cookie banner with this option where the user can choose if yes or no he wants his data to be processed by Google Analytics.
What I want to know is, is it possible? I've read some threads on the forum that date back to 2018 where a couple of people said it isn't yet possible. Before I put my head into this I want to be sure it is actually possible instead of working hours on something that will not be accepted by the website.
Thank you for your answers :)