in Education by
i am developing an internal web analysis system like Google Analytics, i am not very clear about the concept of page stay time, the typical explanation of this measure from web is: user accessed page A at timestamp: t1 user accessed page B at timestamp: t2, (t2 > t1) then the page stay time for A is t2 - t1, for B is 0 My question is: In this scenario, when calculating page stay time for B, do we need to check whether user click page B from page A? i.e. B's refer is A? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
There are two techniques to measure Time on Page, and its aggregated counterpart Time on Site, distinguished by the markers used to record time-event pairs: timestamp ping-based Google Analytics, for instances uses the former, in particular, GA records a timestamp for each pageview, event, and transaction that occurs in the user's session. So exactly as you indicated in your Question, Google Analytics calculates Time on Site by summing the timestamp deltas for that user's entire session history. There is no timestamp for the last page in the user's session, so the final time delta is not calculated. This introduces error into the Time on Site metric, but i still think it's the best available choice of measurement technique. The technique is simple to explain and therefore simple to understand precisely where the occur occurs and from which direction it influences the reported metric. In other words, you know that Time on Site is always undercounted. Second, this error can be estimated (i.e., estimate the true Time on Site) because you have reliable Time on Page for every other page in the user's visit. Even better, from your population of site visitors, you have data on the mean Time on Page for the particular page that the user visited last in their session. The other group of techniques for measuring Time on Page are ping-based. Here javascript in the page repeatedly calls, at a pre-determined time interval, a function that page ping the server. The javascript snippet on the page calls this pinging function as long as that page is open on the client browser. Perhaps the key advantage of these techniques is that they address the problem of not counting the time that the user spent on the page that they ended their session on. I suppose the primary disadvantage of ping-based techniques is a higher implementation cost. The accuracy of this technique depends of course on ping frequency--average measurement precision is roughly half the ping frequency. If your ping frequency is 10 seconds, you can resolve Time on Page to 5 seconds on average. But any server activity has an associated resource cost so this parameter, i.e., ping frequency needs to be optimized with care. That's what i mean by "higher implementation cost". A recent blog post by Brian Cray discusses such a solution and provides a javascript snippet for this purpose. In addition, Episodes is a javascript library for accurate measurement of javascript (rather than DOM) events. This might be of use to your analytics project. So which of these two techniques is better? I suspect a clever combination of the two would give you the highest resolution with the lowest page weight and server load. The only analytics app i am aware of that implements such a hybrid system is W3Counter. [Note: i have no affiliation or agreement of any kind, with this Project.] I have not used W3Counter, but based on this feature alone, i believe it's worth consideration. (I do not however, like the name, "W3Counter" which causes me to think it's a validation checker.)

Related questions

0 votes
    How do you calculate the weight of 12m long and 10mm dia. Steel on-site?...
asked Jan 20, 2021 in Technology by JackTerrance
0 votes
    An approach to website design with the emphasis on converting visitors to outcomes required by the owner is ... Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    How can you see where the visitors are clicking most on your website?...
asked Oct 3, 2020 in Technology by JackTerrance
0 votes
    A document using http and that resides on a web-site is known as Home page O Web Web page O Front page O Main page Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Statement 1: Row-oriented storage is optimal for transaction processing applications. Statement 2: Column-oriented ... correct? Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    I have tried to follow the instructions in and created a new project "Windows Application Packaging Project" ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 26, 2022 in Education by JackTerrance
0 votes
    A representation of an attribute that cannot be measured directly, and are subjective and dependent on the context of ... was derived. (1)Relative Metrics (2)Absolute Metrics...
asked May 15, 2021 in Technology by JackTerrance
0 votes
    The simplest way of transferring control is for the old primary to receive __________ from the old backup site ... Systems topic in division Recovery System of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    I have quite a big solution here with a lot of different web applications and sites, around 10-15 ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 16, 2022 in Education by JackTerrance
0 votes
    What is the optimal length of the Title Tag?...
asked Mar 5, 2021 in Technology by Editorial Staff
0 votes
    What are standard or common metrics for Agile? Explain....
asked Jul 18, 2021 in Education by JackTerrance
0 votes
    I am trying to paginate the results of an SQL query for use on a web page. The language and the ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 27, 2022 in Education by JackTerrance
0 votes
    I've always just FTPed files down from sites, edited them and put them back up when creating sites, ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 23, 2022 in Education by JackTerrance
0 votes
    Which of the following is an organic way of driving traffic to a brand site? (1)Display Ad Marketing (2)Search Engine Marketing (3)Search Engine Optimization...
asked Jun 1, 2021 in Technology by JackTerrance
...