Try Now
More in this section

Forums / Developing with Sitefinity / How can I get stats on redirecting pages?

How can I get stats on redirecting pages?

2 posts, 0 answered
  1. Craig
    Craig avatar
    82 posts
    07 Apr 2009
    27 Sep 2013
    Link to this post
    Anyone know if there is a way to get stats on redirecting pages?  For example, how often a redirecting page was viewed.  I noticed that the PageData object contains a property called ViewCount but it is always zero.  Any ideas?

  2. Pavel Benov
    Pavel Benov avatar
    341 posts
    14 Mar 2016
    02 Oct 2013
    Link to this post
    Hello Craig,

    Currently this property does not get updated, but it is included for future implementations. You can update it from Global.asax file in the Application_BeginRequest event like so for example:

    protected void Application_BeginRequest(object sender, EventArgs e)
                var currentPage = SiteMapBase.GetActualCurrentNode();
                if (currentPage != null)
                    PageManager manager = PageManager.GetManager();
                    var page = manager.GetPageData(currentPage.PageId);
                    if (page != null)

    I hope this helps.

    Pavel Benov
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered