Session (web analytics) explained
In web analytics, a session, or visit is a unit of measurement of a user's actions taken within a period of time or with regard to completion of a task. Sessions are also used in operational analytics and provision of user-specific recommendations. There are two primary methods used to define a session: time-oriented approaches based on continuity in user activity and navigation-based approaches based on continuity in a chain of requested pages.
Definition
The definition of "session" varies, particularly when applied to search engines. Generally, a session is understood to consist of "a sequence of requests made by a single end-user during a visit to a particular site". In the context of search engines, "sessions" and "query sessions" have at least two definitions. A session or query session may be all queries made by a user in a particular time period or it may also be a series of queries or navigations with a consistent underlying user need.
Uses
Sessions per user can be used as a measurement of website usage. Other metrics used within research and applied web analytics include session length, and user actions per session. Session length is seen as a more accurate alternative to measuring page views.
Reconstructed sessions have also been used to measure total user input, including to measure the number of labour hours taken to construct Wikipedia. Sessions are also used for operational analytics, data anonymization, identifying networking anomalies, and synthetic workload generation for testing servers with artificial traffic.
Session reconstruction
Essential to the use of sessions in web analytics is being able to identify them. This is known as "session reconstruction". Approaches to session reconstruction can be divided into two main categories: time-oriented, and navigation-oriented.
Time-oriented approaches
Time-oriented approaches to session reconstruction look for a set period of user inactivity commonly called an "inactivity threshold." Once this period of inactivity is reached, the user is assumed to have left the site or stopped using the browser entirely and the session is ended. Further requests from the same user are considered a second session. A common value for the inactivity threshold is 30 minutes and sometimes described as the industry standard. Some have argued that a threshold of 30 minutes produces artifacts around naturally long sessions and have experimented with other thresholds. Others simply state: "no time threshold is effective at identifying [sessions]".
One alternative that has been proposed is using user-specific thresholds rather than a single, global threshold for the entire dataset. This has the problem of assuming that the thresholds follow a bimodal distribution, and is not suitable for datasets that cover a long period of time.
Navigation-oriented approaches
Navigation-oriented approaches exploit the structure of websites - specifically, the presence of hyperlinks and the tendency of users to navigate between pages on the same website by clicking on them, rather than typing the full URL into their browser. One way of identifying sessions by looking at this data is to build a map of the website: if the user's first page can be identified, the "session" of actions lasts until they land on a page which cannot be accessed from any of the previously-accessed pages. This takes into account backtracking, where a user will retrace their steps before opening a new page. A simpler approach, which does not take backtracking into account, is to simply require that the HTTP referer of each request be a page that is already in the session. If it is not, a new session is created. This class of heuristics "exhibits very poor performance" on websites that contain framesets.
Bibliography
- Arlitt. Martin. 2000. Characterizing Web User Sessions. SIGMETRICS Performance Evaluation Review. 28. 2. 10.1145/362883.362920. 50–63. 2946044.
- Book: Berendt. Bettina. Mobasher. Bamshad. Nakagawa. Miki. Spiliopoulou. Myra . Lecture Notes in Computer Science . WEBKDD 2002 - Mining Web Data for Discovering Usage Patterns and Profiles. Springer. 2003. 2703 . 159–179 . The Impact of Site Structure and User Environment on Session Reconstruction in Web Usage Analysis. http://warhol.wiwi.hu-berlin.de/~berendt/Papers/webkdd02_bookversion.pdf. 978-3-540-39663-5. 10.1007/978-3-540-39663-5_10.
- Catledge. L.. Pitkow. J.. Characterizing browsing strategies in the World-Wide web . Computer Networks and Isdn Systems . 1995. 27. 6. 10.1016/0169-7552(95)00043-7. 1065–1073. 14313721 .
- Cooley. Robert. Mobasher. Bamshad. Srivastava. Jaideep. 1999. Data Preparation for Mining World Wide Web Browsing Patterns. Knowledge and Information Systems. 1. 1. 0219-3116. 10.1007/BF03325089. 5–32. 10.1.1.33.2792. 1165622.
- Book: Donato. Debora. Bonchi. Francesco. Chi. Tom. Proceedings of the 19th international conference on World wide web . Do you want to take notes?: Identifying research missions in Yahoo! Search pad . Yoelle Maarek. 2010. 321–330 . ACM. 10.1145/1772690.1772724. 9781605587998 . 6951065. http://www.francescobonchi.com/p321.pdf.
- Book: Eickhoff. Carsten. Teevan. Jaime. White. Ryen. Dumais. Susan.. Proceedings of the 7th ACM international conference on Web search and data mining . Lessons from the journey . 2014. 223–232. ACM. 10.1145/2556195.2556217. 9781450323512. 14666769.
- Gayo-Avello. Daniel. 2009. A survey on session detection methods in query logs and a proposal for future evaluation. Information Sciences. 179. 12. 0020-0255. 10.1016/j.ins.2009.01.026. 1822–1843. 10651/8686. free. 2015-02-18. 2016-03-04. https://web.archive.org/web/20160304050322/http://www.msit2005.mut.ac.th/msit_media/1_2552/itec0950/materials/20090715164101yh.pdf. dead.
- Book: Geiger. R.S.. Halfaker. A.. Proceedings of the 2013 conference on Computer supported cooperative work . Using edit sessions to measure participation in wikipedia . 2014. 861–870. ACM. 10.1145/2441776.2441873. 9781450313315. 7166943.
- He. Daqing. Goker. Ayse. Harper. David J.. 2002. Combining evidence for automatic Web session identification. Information Processing and Management. 38. 5. 0306-4573. 10.1016/S0306-4573(01)00060-7. 727–742.
- Book: Heer. Jeffrey. Chi. Ed H.. Proceedings of the SIGCHI Conference on Human Factors in Computing Systems . Separating the swarm: Categorization methods for user sessions on the web . 2002. ACM. 4. 1. 243–250 . 10.1145/503376.503420. 1581134533 . 14018957. http://vis.stanford.edu/jheer/files/2002-Lumberjack-CHI.pdf.
- Huang. Chien-Kang. Chien. Lee-Feng. Oyang. Yen-Jen. 2003. Relevant term suggestion in interactive web search based on contextual information in query session logs. Journal of the American Society for Information Science and Technology. 54. 7. 10.1002/asi.10256. 638–649. 10.1.1.105.5584.
- Jansen. Bernard J.. Spink. Amanda. Saracevic. Tefko. 2000. Real life, real users, and real needs: a study and analysis of user queries on the web. Information Processing and Management. 36. 2. 0306-4573. 10.1016/S0306-4573(99)00056-4. 207–227. 10.1.1.155.1383.
- Jansen. Bernard J.. Spink. Amanda. 2006. How are we searching the world wide web? A comparison of nine search engine transaction logs. Information Processing and Management. 42. 1. 0306-4573. 10.1016/j.ipm.2004.10.007. 248–263.
- Book: Jones. Rosie. Klinkner. Kristina Lisa. Proceedings of the 17th ACM conference on Information and knowledge management . Beyond the session timeout: Automatic hierarchical segmentation of search topics in query logs . 2008. 699–708. ACM. 10.1145/1458082.1458176. 9781595939913. 6548724.
- Khoo. Michael. Pagano. Joe. Washington. Anne L.. Recker. Mimi. Palmer. Bart. Donahue. Robert A. . 2008. Using Web Metrics to Analyze Digital Libraries. Proceedings of the 8th ACM/IEEE-CS Joint Conference on Digital Libraries. ACM.
- Lam. Heidi. Russell. Daniel. Tang. Diane. Tamara Munzner. 2007. Session viewer: Visual exploratory analysis of web session logs. IEEE Symposium on Visual Analytics Science and Technology. IEEE.
- Book: Mehrzadi. David. Feitelson. Dror G.. Proceedings of the 5th Annual International Systems and Storage Conference. ACM. 2012. SYSTOR '12. On Extracting Session Data from Activity Logs. http://www.cs.huji.ac.il/~feit/papers/Ses12SYSTOR.pdf. 978-1-4503-1448-0. 10.1145/2367589.2367592. 10.1.1.381.1956. 8820623.
- Book: Meiss. Mark. Duncan. John. Gonçalves. Bruno. Ramasco. José J.. Menczer. Filippo. Proceedings of the 20th ACM conference on Hypertext and hypermedia . What's in a session: Tracking individual behavior on the web . 2009. 173–182 . ACM. 10.1145/1557914.1557946. 1003.5325. 9781605584867 . 6564335. http://ifisc.uib-csic.es/~jramasco/text/hypertext09.pdf.
- Book: Menascé. Daniel A.. Almeida. V.. Fonseca. R.. Mendes. M.. Proceedings of the 1st ACM conference on Electronic commerce . A methodology for workload characterization of E-commerce sites . 1999. 119–128. ACM. 10.1145/336992.337024. 1581131763. 7239612. http://cs.brown.edu/~rfonseca/pubs/menasce99e-com-char.pdf.
- Murray. G. Craig. Lin. Jimmy. Chowdhury. Abdur. 2006. Identification of User Sessions with Hierarchical Agglomerative Clustering. Proceedings of the American Society for Information Science and Technology. 43. 1. 10.1002/meet.14504301312. 1–9. free.
- Ortega. J.L.. Aguillo. I.. 2010. Differences Between Web Sessions According to the Origin of their Visits. Journal of Informetrics. 4. 3. 1751-1577. 10.1016/j.joi.2010.02.001. 331–337.
- Spiliopoulou. Myra. Mobasher. Bamshad. Berendt. Bettina. Nakagawa. Miki. 2003. A framework for the evaluation of session reconstruction heuristics in web-usage analysis. INFORMS Journal on Computing. 1526-5528. 10.1287/ijoc.15.2.171.14445. 15. 2. 171–190. 10.1.1.621.3037.
- Book: Weischdel. Birgit. Huizingh. Eelko K. R. E.. Proceedings of the 8th international conference on Electronic commerce the new e-commerce: Innovations for conquering current barriers, obstacles and limitations to conducting successful business on the internet - ICEC '06 . Website optimization with web metrics . 2006. 463. 10.1145/1151454.1151525. 978-1595933928. 2965255.