public void RaisePasswordResetEvent_RequestVerified(IGtmEventRaisingVm vm, string userId) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.PasswordReset, step = PasswordResetSteps.Step2RequestVerified, guid = String.IsNullOrEmpty(userId) ? null : userId, }); }
public void RaiseMyProfileViewedEvent(IGtmEventRaisingVm vm, string userId) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.AccountActivity, guid = userId, action_taken = AccountActivities.MyProfileViewed, }); }
public void RaiseLoginSuccessfullEvent(IGtmEventRaisingVm vm, string userId) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.Login, guid = userId, result = "Success", }); }
public void RaiseLoginFailureEvent(IGtmEventRaisingVm vm, string reason) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.Login, error_message = reason, result = "Failure" }); }
public void RaiseAgentRegistration_RegistrationCompleteEvent(IGtmEventRaisingVm vm, string userId, string errorMessage) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.AgentRegistration, step = AgentRegistrationSteps.Step2RegistrationComplete, guid = userId, error_message = String.IsNullOrEmpty(errorMessage) ? null : errorMessage }); }
public void RaiseTransactionsViewedEvent(IGtmEventRaisingVm vm, string userId, string planType) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.AccountActivity, guid = userId, action_taken = AccountActivities.TransactionsViewed, plan_type = planType }); }
public void RaiseStatementDownloadedEvent(IGtmEventRaisingVm vm, string userId, string planType) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.AccountActivity, guid = userId, action_taken = AccountActivities.StatementDownloaded, plan_type = planType }); }
public void RaiseRegistrationEvent_ClickedToRegister(IGtmEventRaisingVm vm, string error) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.Registration, step = RegistrationSteps.Step1ClickedToRegister, result = String.IsNullOrEmpty(error) ? "Success" : "Failure", error_message = String.IsNullOrEmpty(error) ? null : error }); }
public void RaiseRegistrationEvent_AccountDetailsEntered(IGtmEventRaisingVm vm, string error) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.Registration, step = RegistrationSteps.Step2AccountDetailsEntered, result = String.IsNullOrEmpty(error) ? "Success" : "Failure", error_message = String.IsNullOrEmpty(error) ? null : error }); }
public void RaiseDPACheckEvent(IGtmEventRaisingVm vm, string userId, string error) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.DPACheck, guid = String.IsNullOrEmpty(userId) ? null : userId, result = String.IsNullOrEmpty(error) ? "Success" : "Failure", error_message = String.IsNullOrEmpty(error) ? null : error }); }
public void RaiseRegistrationEvent_Complete(IGtmEventRaisingVm vm, string userId, string error) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.Registration, step = RegistrationSteps.Step4RegistrationComplete, result = String.IsNullOrEmpty(error) ? "Success" : "Failure", error_message = String.IsNullOrEmpty(error) ? null : error, guid = userId }); }
public void RaiseBudgetCalculatorHouseholdDetailsEvent(IGtmEventRaisingVm vm, string userId, string housingStatus, string employmentStatus) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.BudgetCalculator, step = BudgetCalculatorSteps.Step2HouseholdDetailsSubmitted, guid = userId, user_status = String.IsNullOrEmpty(userId) ? "Not Logged In" : "Logged In", housing_status = String.IsNullOrEmpty(housingStatus) ? null : housingStatus, employment_status = String.IsNullOrEmpty(employmentStatus) ? null : employmentStatus }); }
public void RaiseBudgetCalculatorIncomeEvent(IGtmEventRaisingVm vm, string userId, string employmentStatus, string housingStatus, decimal income) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.BudgetCalculator, step = BudgetCalculatorSteps.Step3IncomeSubmitted, guid = userId, user_status = String.IsNullOrEmpty(userId) ? "Not Logged In" : "Logged In", housing_status = String.IsNullOrEmpty(housingStatus) ? null : housingStatus, employment_status = String.IsNullOrEmpty(employmentStatus) ? null : employmentStatus, monthly_income = income, }); }
public void RaiseAmendDirectDebitEvent_PageVisited(IGtmEventRaisingVm vm, string userId) { vm.GtmEvents.Add(new GtmEvent() { gtm_event = GtmEvents.PaymentEvent, step = PaymentSteps.Step1ClickedToChangedPlan, payment_type = "Amended Direct Debit", discount_available = "No discount available", plan_type = "Regular Account", guid = userId, user_status = String.IsNullOrEmpty(userId) ? "Not Logged In" : "Logged In", payment_option_chosen = "" }); }