コード例 #1
0
        /// <summary>
        /// Handles the OnClick event of the btnLogIn control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void btnLogIn_OnClick(object sender, EventArgs e)
        {
            AnalyticsUtil.AuthentificationClickedLoginLink();

            GeneralSettings generalSettings = Sitecore.Ecommerce.Context.Entity.GetConfiguration <GeneralSettings>();

            this.Response.Redirect(Utils.ItemUtil.GetItemUrl(generalSettings.MainLoginLink, true));
        }
コード例 #2
0
 public void LoginUser()
 {
     try
     {
         Tracker.StartTracking();
         AnalyticsUtil.AuthentificationClickedLoginLink();
     }
     catch (Exception ex)
     {
         LogException(ex);
     }
 }