private async Task LogEvents(ContactPreferencesVm contactPreferencesVm)
        {
            var contactPreferencesCached = await GetFromCache <ContactPreferencesRetrievedDto>($"contact-preferences-{GetCaseflowUserId()}");

            _gtmService.RaiseContactPreferecesSMSChangeEvent(contactPreferencesVm, LoggedInUserId, contactPreferencesVm.AllowContactBySms, contactPreferencesCached.ContactPreferenceSMS);
            await _webActivityService.LogContactPreferencesSMSChange(contactPreferencesVm.LowellReference, LoggedInUserId, contactPreferencesVm.AllowContactBySms, contactPreferencesCached.ContactPreferenceSMS);

            _gtmService.RaiseContactPreferecesEmailChangeEvent(contactPreferencesVm, LoggedInUserId, contactPreferencesVm.AllowContactByEmail, contactPreferencesCached.ContactPreferenceEmail);
            await _webActivityService.LogContactPreferecesEmailChange(contactPreferencesVm.LowellReference, LoggedInUserId, contactPreferencesVm.AllowContactByEmail, contactPreferencesCached.ContactPreferenceEmail);

            _gtmService.RaiseMobilePhoneNumberChangeEvent(contactPreferencesVm, LoggedInUserId, contactPreferencesVm.MobileNumber, contactPreferencesCached.PrimaryPhone);
            await _webActivityService.LogMobilePhoneNumberUpdateChange(contactPreferencesVm.LowellReference, LoggedInUserId, contactPreferencesVm.MobileNumber, contactPreferencesCached.PrimaryPhone);
        }