// Call this function when the user has given their consent // For example, this can be triggered after user clicks "Accept" on a consent banner // updateConsentForAnalytics(true);