public void LogStep(MarketingActionType action) { if (analyticsLogger != null) { analyticsLogger.LogStep(action); } }
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 void InAppMarketingLoginLog(MarketingActionType action) { MessageHistory his = new MessageHistory { AnalyticsCode = "UP-L-0001", MsgType = "logon panel", Theme = "PB-0006", DaysSinceAccountCreated = _daysFromAccountCreation, ButtonClicked = action.ToString(), BuyButton = BuyButtons.LoginScreen.ToString() }; pbData.InsertMessageHistory(his); var mhItem = pbData.GetMessageHistoryById(his.Id); var analytics2 = inAppAnalyitics.Get <Events.InAppMarketing, InAppMessageItem>(); var logItem = new InAppMessageItem(mhItem.RowId, mhItem.AnalyticsCode, mhItem.MsgType, mhItem.Theme, (MarketingActionType)Enum.Parse(typeof(MarketingActionType), mhItem.ButtonClicked), BuyButtons.LoginScreen, mhItem.DaysSinceAccountCreated); analytics2.Log(logItem); }
protected override void LogStep(MarketingActionType type) { var item = new BrowserExtentionInstallProductTourItem(BrowserShortName, type); inAppAnalyitics.Get <Events.BrowserExtentionInstallProductTourEvent, BrowserExtentionInstallProductTourItem>().Log(item); }
protected override OnboardingItemScanResult CreateItemForLog(MarketingActionType action) { return(new OnboardingItemScanResult(onboardingStep, action, scanSummary.Insecure, scanSummary.Duplicate, scanSummary.Weak)); }
protected override void LogStep(MarketingActionType type) { var item = new EnterLicenseKeyProductTourItem(7, type, InstallType); inAppAnalyitics.Get <Events.EnterLicenseProductTourEvent, EnterLicenseKeyProductTourItem>().Log(item); }
protected override PersonalizeAccountItem CreateItemForLog(MarketingActionType action) { return(new PersonalizeAccountItem(action)); }
protected override OnboardingItem CreateItemForLog(MarketingActionType action) { return(new OnboardingItem(onboardingStep, action)); }
public void LogStep(MarketingActionType action) { mixpanelLogger.LogStep(action); }
protected override void LogStep(MarketingActionType type) { var item = new OnboardingItem(OnboardingSteps.AccountCreated, type); inAppAnalyitics.Get <Events.OnboardingEvent, OnboardingItem>().Log(item); }
protected abstract void LogStep(MarketingActionType type);