ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

tracking users time spent on site

April 08, 2011 6:45pm

Subscribe [5]
  • #1 / Apr 08, 2011 6:45pm

    susanfw

    62 posts

    I am looking to build a learning management site with EE with a set of courses. Currently, the courses are hosted with an older learning management system that we have outgrown. One of the features that this older LMS has is the ability to track how much time users spend on each page of the course, so the instructor can monitor enrollees that might be struggling with the certain parts of the content.

    Does anyone know of a module or some other way to track how much time users that are logged in spend on each page of an EE site, and maybe even how the navigate the site?

    Thanks
    Susan

  • #2 / Apr 10, 2011 11:28am

    giusi

    94 posts

    I don’t know if EE tracks internally those values and I don’t think there is a module you can buy to achieve this. Maybe a simpler solution (not as nicley integrated) would be to use a third party software that analyze the site traffic. I am not aware of your budget and/or resources, but building an add-on for this purpose would probably end to be an onerous task.

  • #3 / Apr 10, 2011 5:41pm

    susanfw

    62 posts

    I’m looking at Mint’s analytics now to see if that will help me. It appears to have add-ons that will track individual users by ipaddress, plus an EE extension that will store the user names. So it sounds promising. I’d be interested to know if anyone has experience using this combination successfully.

  • #4 / Aug 05, 2011 11:45am

    mdonohue

    19 posts

    Any luck with this?  I am interested in doing the same thing for a learning management site.

  • #5 / Aug 05, 2011 12:10pm

    susanfw

    62 posts

    I haven’t gotten to implementing this part of the project yet, but I posted a question on the Mint website about whether I would be able to view detailed tracking information, and did not get a response. I may still try it, but I found another analytics site where I was able to test this function and it looked like it works well for my purposes.
    http://www.w3counter.com/
    Chances are this is the one I will use. After posting the W3Counter code on a few EE pages, I was able to follow in real time a test user by logging into the W3C website.

    It would be great for me if it could be reported directly in EE, but I don’t think I can do that.

    If you find anything better, I’d love to hear about it.
    Susan

  • #6 / Aug 05, 2011 12:17pm

    mdonohue

    19 posts

    Thanks, Susan!  I just downloaded mint to play around with a bit.  I’ll let you know if I get it working.

  • #7 / Aug 05, 2011 12:25pm

    ewn

    100 posts

    Have you thought about Google Analytics + the CP Analytics add on? 

    http://devot-ee.com/add-ons/cp-analytics

  • #8 / Aug 05, 2011 12:53pm

    susanfw

    62 posts

    I thought that Google didn’t allow the tracking of individual visitors. Am I wrong?

    Susan

  • #9 / Aug 05, 2011 1:24pm

    ewn

    100 posts

    Ahh, I misunderstood.  I’m not sure on the individual visitors, I thought you meant individual pages…

  • #10 / Aug 05, 2011 2:42pm

    mdonohue

    19 posts

    Ok.  Using Mint, Secret Crush, and Mint Nametag I was able to do what I needed to do, which is log site activity and time on site per user.

    Here are some links to pages that helped me so far:

    Installing Mint on Expression Engine
    http://haveamint.com/forum/troubleshooting/4/configuring_mint_for_expression_engine

    SECRET CRUSH: Mint plug-in that tracks individual users
    http://haveamint.com/peppermill/pepper/10/secret_crush/

    MINT_NAMETAG: ee2 add-on that passes username to secret crush
    http://simon.job.id.au/articles/mint-nametag-for-ee-2

    Now I have to figure out how to get that log information back into ee to display via a members list page.  Any ideas? I use solspace’s User module if that helps.  There seems to be a feed per user so i’ll check that out too.

  • #11 / Aug 05, 2011 3:42pm

    mdonohue

    19 posts

    Since Mint data is all stored in the MYSQL database you can do a query to get the results back into an ee template.  This is an example of the query I’m going to use below on a members individual profile page:

    {exp:query sql="SELECT dt FROM mint_visit WHERE visitor_name = '{username}'"}
    
    {dt format="%D, %F %d, %Y - %g:%i:%s"}
    
    {/exp:query}

    This outputs a list of times.  Does anyone know a way to total all those times so i can just show total time spent on site instead of individual pages?

  • #12 / Aug 06, 2011 2:17am

    alexheimann

    18 posts

    Time on site is not the most accurate web metric, it really just tracks the time between pages, but can’t track time spent on the last page of a session

    more information at the link below..


    http://www.kaushik.net/avinash/standard-metrics-revisited-time-on-page-and-time-on-site/

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases