How to track the amount of time someone is on a webpage

Posted on 2011-10-13
Last Modified: 2013-12-07
Is there some type of service or software that can track how long a visitor is on a page before clicking another page?
Question by:ZionTech1
    LVL 33

    Expert Comment

    You can check Google Analytics...
    LVL 33

    Accepted Solution

    Or this tools:

    I've worked with Google Analytics and AWStats are like them both.

    LVL 11

    Assisted Solution


    For a list of these tools please take a look at the following site.(If you have ISA Server)

    assuming you want to develop a code
    You can also use this code.....grabbed it from one of the sites, not my code....It gives you the number of seconds a person has been on that page....should be helpful to you....

    <HEAD><TITLE>JavaScript Timer</TITLE>
    <!--//hide from old browsers
    var counter = 0;
    // call Update function in 1 second afte
    //     r first load

        function Update() {
        counter ++;
        //Optional alert after 10 seconds
        //if (counter==10) (alert("Ten seconds i
        //     s long enough!!!!"))
        //Display time in status window
        window.status="Elapsed time = " + counter + " seconds";
        //Display time in text box
        document.form1.input1.value="You have looked at this page for " + counter + " seconds";
        // set another timeout for the next coun
        //     t

    <BODY BGCOLOR=aqua>
    <FONT FACE=ARIAL COLOR=navy><CENTER><H1>JavaScript Timer</H1></CENTER>
    JavaScript can measure time.<P>
    The text value below and the status line are being updated every second.<BR>
    Press the RESET button to restart the count, or the STOP button to stop it.
    <FORM NAME="form1">
    <INPUT TYPE="text" NAME="input1" SIZE="40" Value="Welcome!"><BR>
    <INPUT TYPE="button" VALUE="RESET" onClick="counter = 0;">*
    <INPUT TYPE="button" VALUE="STOP" onClick="window.clearTimeout(ID);">


    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
    With a software solution, you always get to control email signatures and have the final say on the design - not an unrelated department or the uninterested end user.
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    This video teaches users how to migrate an existing Wordpress website to a new domain.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now