public void LogStep(MarketingActionType action)
 {
     if (analyticsLogger != null)
     {
         analyticsLogger.LogStep(action);
     }
 }
Exemplo n.º 2
0
        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());
            }
        }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
        protected override void LogStep(MarketingActionType type)
        {
            var item = new BrowserExtentionInstallProductTourItem(BrowserShortName, type);

            inAppAnalyitics.Get <Events.BrowserExtentionInstallProductTourEvent, BrowserExtentionInstallProductTourItem>().Log(item);
        }
Exemplo n.º 5
0
 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);
        }
Exemplo n.º 7
0
 protected override PersonalizeAccountItem CreateItemForLog(MarketingActionType action)
 {
     return(new PersonalizeAccountItem(action));
 }
Exemplo n.º 8
0
 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);
        }
Exemplo n.º 11
0
 protected abstract void LogStep(MarketingActionType type);