private void LogProductTourItem(MarketingActionType actionType) { try { OnboardingSteps?step; var index = SelectedIndex + 1; switch (index) { case 6: // TODO: step = null; break; default: step = null; break; } if (step.HasValue) { var item = new OnboardingItem(step.Value, actionType); _analytics.Log(item); } } catch (Exception ex) { _logger.Error(ex.ToString()); } }
public OnboardingViewModel(INavigationService navigationService) { _navigationService = navigationService; OnboardingItems = new ObservableCollection <OnboardingItem>(OnboardingItem.GetOnboardingItems()); }
protected override void LogStep(MarketingActionType type) { var item = new OnboardingItem(OnboardingSteps.AccountCreated, type); inAppAnalyitics.Get <Events.OnboardingEvent, OnboardingItem>().Log(item); }