+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / User Tracking

User Tracking

10 posts, 0 answered
  1. Vijaianand
    Vijaianand avatar
    94 posts
    Registered:
    09 Jul 2012
    21 Oct 2008
    Link to this post
    Is it anyway to track the user or is it already tracked in the DB? How do I access from front end. I don't see anything in the user manual for this information.

    Help is much appreciated.

    Thanks
    VIJAI
  2. Joe
    Joe avatar
    138 posts
    Registered:
    24 Sep 2012
    21 Oct 2008
    Link to this post
    Hi VIJAIANAND,

    Thanks for contacting us.

    We don't have any tools out of the box to track users statistics, which I believe is what you are asking. If you wanted certain info about users, such as the number logged in, you could use the API from the Membership class, since Sitefinity is using it for membership. Once you get this info, you could bind it to a GridView or a RadGrid, for example. Then, upload this as a user control. For more info on the Membership class, please read this article. More info on user controls can also be found in this article in our developer manual.

    I hope that I have clearly answered your question. Feel free to contact us if you need further assistance.

    Best wishes,
    Joe
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Vijaianand
    Vijaianand avatar
    94 posts
    Registered:
    09 Jul 2012
    21 Oct 2008
    Link to this post
    Yep, I was asking about user stats. OK! Thats interesting. A CMS tool without user stats. Obviously you have users stored in the db when they are created, how come you don't have a tool to track it.

    Anyway, I think using the API linking with the users in sitefinity is going to take some time. Do you guys have a skeleton on how to do it? I checked out the article and couldn't get much except the method details.

    Thanks for the quick response.

    Vijai
  4. Vijaianand
    Vijaianand avatar
    94 posts
    Registered:
    09 Jul 2012
    21 Oct 2008
    Link to this post
    One more thing, I read your home page. You have audit trail done like 

    Sitefinity allows you to keep track of which users made changes in the CMS (additions, deletions, or updates).


    How is this possible and how can we be check it out?
  5. Vijaianand
    Vijaianand avatar
    94 posts
    Registered:
    09 Jul 2012
    23 Oct 2008
    Link to this post
    Can somebody help on this one?
  6. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    27 Oct 2008
    Link to this post
    Hi VIJAIANAND,

    The user tracking is based on content changes - please see the attached screenshots. You can review the date, the content and what changes have been made by a given user.

    Sincerely yours,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Vijaianand
    Vijaianand avatar
    94 posts
    Registered:
    09 Jul 2012
    27 Oct 2008
    Link to this post
    It only gives the latest user changed. But I thought you can see the history of the changes by different user. Can't that be seen?

    Also User tracking, please give an example of API used to track the use visiting the public site.

    VIJAI
  8. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    31 Oct 2008
    Link to this post
    Hello VIJAIANAND,

    By user tracking, we assume tracking of CMS users, and not visitor. Otherwise it should be called visitors tracking.

    History of the changes by user is not supported yet with the tools provided out of the box. It could be developed though. This could be done with our APIs. Here's a sample scenario you should follow:

    1. Create an event-logger by username
    2. Store all these events somewhere
    3. Sort them by user.

    How to log these events? Here's sample on logging the user name when creating a News article:

    global.asax:

    void Application_Start(object sender, EventArgs e)  
       //Event handler catching the Content Manager executing
       Telerik.Cms.Engine.ContentManager.Executing += new EventHandler<Telerik.ExecutingEventArgs>(ContentManager_Executing); 
     
    void ContentManager_Executing(object sender, Telerik.ExecutingEventArgs e) 
        //Check whether the user is creating content 
        if (e.CommandName == "CreateContent"
        { 
            //take the IContent Item from the command arguments 
            Telerik.Cms.Engine.IContent cnt = e.CommandArguments as Telerik.Cms.Engine.IContent; 
            //chech if there is such content and if it belongs to the news provider 
            if (cnt != null && cnt.ProviderName == "News"
            { 
                //get the current user's First and Last names 
                ProfileBase profile = ProfileBase.Create(HttpContext.Current.User.Identity.Name); 
                string FirstName = profile.GetPropertyValue("FirstName").ToString(); 
                string LastName = profile.GetPropertyValue("LastName").ToString(); 
            } 
        } 

    The same is done for Blogs, Images and Documents and so on. The supported events are CreateContent/DeleteContent/UpdateContent

    On a side, I have checked carefully your account in our system. You do not have any downloads, or licenses so far. Could you tell us where did you get Sitefinity from, and if your account is associated with a company?

    I am looking forward for your replay.

    Sincerely yours,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  9. Vijaianand
    Vijaianand avatar
    94 posts
    Registered:
    09 Jul 2012
    31 Oct 2008
    Link to this post
    Georgi,

    Thanks for the fix. My co-worker Jane Duan downloaded the community version long time ago and we are researching on it. So you might not see any license in my name. I work for littonloan servicing. Check out in that name and you should find an entry or two.

    Thanks again.

    Vijai
  10. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    31 Oct 2008
    Link to this post
    Hi VIJAIANAND,

    Thank you very much for your response.
    Let us know if you need any further information.

    All the best,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.L
Register for webinar
10 posts, 0 answered