Cookies, GDPR, Google Analytics

Does anyone have a good source or suggestion how to connect a cookie consent button to Google Analytics?

I understand that Google Analytics is by default not GDPR compliant, so I figured I need to offer my users to turn it off.

How can this be implemented from a technical point of view? Anyone has experience with this?

Community Page
Last updated: