It is recommended that you disable all marketing functionality and anonymize gathered and stored data. See the Google Analytics documentation for instructions.
When you sign in to a site with a supported account, you receive a first-party cookie that is strictly necessary to facilitate basic functionality expected by an authenticated user. You have the option to agree to the Terms of Service and Privacy Policy that your organization provides on its community account sign-up prompt.
Start with Cookies, the GDPR, and the ePrivacy Directive and browse additional GDPR resources. Terms used above (such as first-party, statistics, strictly necessary, and so on) are defined in the GDPR resources.