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.
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 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 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.
Gayo-Avello 2009, p. 1824. - Gayo-Avello, Daniel (2009). "A survey on session detection methods in query logs and a proposal for future evaluation" (PDF). Information Sciences. 179 (12): 1822–1843. doi:10.1016/j.ins.2009.01.026. hdl:10651/8686. ISSN 0020-0255. Archived from the original (PDF) on 2016-03-04. Retrieved 2015-02-18. https://web.archive.org/web/20160304050322/http://www.msit2005.mut.ac.th/msit_media/1_2552/itec0950/materials/20090715164101yh.pdf
Arlitt 2000, p. 2. - Arlitt, Martin (2000). "Characterizing Web User Sessions" (PDF). SIGMETRICS Performance Evaluation Review. 28 (2): 50–63. doi:10.1145/362883.362920. S2CID 2946044. http://www.hpl.hp.com/techreports/2000/HPL-2000-43.pdf
Gayo-Avello 2009, p. 1824. - Gayo-Avello, Daniel (2009). "A survey on session detection methods in query logs and a proposal for future evaluation" (PDF). Information Sciences. 179 (12): 1822–1843. doi:10.1016/j.ins.2009.01.026. hdl:10651/8686. ISSN 0020-0255. Archived from the original (PDF) on 2016-03-04. Retrieved 2015-02-18. https://web.archive.org/web/20160304050322/http://www.msit2005.mut.ac.th/msit_media/1_2552/itec0950/materials/20090715164101yh.pdf
Donato, Bonchi & Chi 2010, p. 324. - Donato, Debora; Bonchi, Francesco; Chi, Tom (2010). "Do you want to take notes?: Identifying research missions in Yahoo! Search pad" (PDF). Proceedings of the 19th international conference on World wide web. ACM. pp. 321–330. doi:10.1145/1772690.1772724. ISBN 9781605587998. S2CID 6951065. http://www.francescobonchi.com/p321.pdf
Gayo-Avello 2009, p. 1825. - Gayo-Avello, Daniel (2009). "A survey on session detection methods in query logs and a proposal for future evaluation" (PDF). Information Sciences. 179 (12): 1822–1843. doi:10.1016/j.ins.2009.01.026. hdl:10651/8686. ISSN 0020-0255. Archived from the original (PDF) on 2016-03-04. Retrieved 2015-02-18. https://web.archive.org/web/20160304050322/http://www.msit2005.mut.ac.th/msit_media/1_2552/itec0950/materials/20090715164101yh.pdf
Lam, Russell & Tang 2007, p. 147. - Lam, Heidi; Russell, Daniel; Tang, Diane (2007). "Session viewer: Visual exploratory analysis of web session logs". IEEE Symposium on Visual Analytics Science and Technology. IEEE.
Weischdel & Huizingh 2006, p. 464. - Weischdel, Birgit; Huizingh, Eelko K. R. E. (2006). "Website optimization with web metrics". 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 (PDF). p. 463. doi:10.1145/1151454.1151525. ISBN 978-1595933928. S2CID 2965255. http://aaa.volospin.com/BT606B/Website_Optimization_p463-weischedel.pdf
Catledge & Pitkow 1995, p. 5. - Catledge, L.; Pitkow, J. (1995). "Characterizing browsing strategies in the World-Wide web" (PDF). Computer Networks and Isdn Systems. 27 (6): 1065–1073. doi:10.1016/0169-7552(95)00043-7. S2CID 14313721. https://smartech.gatech.edu/xmlui/bitstream/handle/1853/3558/95-13.pdf
Jansen & Spink 2006, p. 10. - Jansen, Bernard J.; Spink, Amanda (2006). "How are we searching the world wide web? A comparison of nine search engine transaction logs" (PDF). Information Processing and Management. 42 (1): 248–263. doi:10.1016/j.ipm.2004.10.007. ISSN 0306-4573. http://eprints.qut.edu.au/4945/1/4945_1.pdf
Jansen, Spink & Saracevic 2000, p. 12. - 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" (PDF). Information Processing and Management. 36 (2): 207–227. CiteSeerX 10.1.1.155.1383. doi:10.1016/S0306-4573(99)00056-4. ISSN 0306-4573. http://faculty.ist.psu.edu/jjansen/academic/pubs/ipm98/ipm98.pdf
Khoo et al. 2008, p. 377. - Khoo, Michael; Pagano, Joe; Washington, Anne L.; Recker, Mimi; Palmer, Bart; Donahue, Robert A. (2008). "Using Web Metrics to Analyze Digital Libraries" (PDF). Proceedings of the 8th ACM/IEEE-CS Joint Conference on Digital Libraries. ACM. http://www.ist.drexel.edu/faculty/mkhoo/docs/09_jcdl.pdf
Geiger & Halfaker 2014, p. 1. - Geiger, R.S.; Halfaker, A. (2014). "Using edit sessions to measure participation in wikipedia". Proceedings of the 2013 conference on Computer supported cooperative work (PDF). ACM. pp. 861–870. doi:10.1145/2441776.2441873. ISBN 9781450313315. S2CID 7166943. http://www.stuartgeiger.com/cscw-sessions.pdf
Meiss et al. 2009, p. 177. - Meiss, Mark; Duncan, John; Gonçalves, Bruno; Ramasco, José J.; Menczer, Filippo (2009). "What's in a session: Tracking individual behavior on the web" (PDF). Proceedings of the 20th ACM conference on Hypertext and hypermedia. ACM. pp. 173–182. arXiv:1003.5325. doi:10.1145/1557914.1557946. ISBN 9781605584867. S2CID 6564335. http://ifisc.uib-csic.es/~jramasco/text/hypertext09.pdf
Arlitt 2000, p. 8. - Arlitt, Martin (2000). "Characterizing Web User Sessions" (PDF). SIGMETRICS Performance Evaluation Review. 28 (2): 50–63. doi:10.1145/362883.362920. S2CID 2946044. http://www.hpl.hp.com/techreports/2000/HPL-2000-43.pdf
Spiliopoulou et al. 2003, p. 176. - Spiliopoulou, Myra; Mobasher, Bamshad; Berendt, Bettina; Nakagawa, Miki (2003). "A framework for the evaluation of session reconstruction heuristics in web-usage analysis" (PDF). INFORMS Journal on Computing. 15 (2): 171–190. CiteSeerX 10.1.1.621.3037. doi:10.1287/ijoc.15.2.171.14445. ISSN 1526-5528. http://warhol.wiwi.hu-berlin.de/~berendt/Papers/spiliopoulou_etal_2003.pdf
Ortega & Aguillo 2010, p. 332. - Ortega, J.L.; Aguillo, I. (2010). "Differences Between Web Sessions According to the Origin of their Visits" (PDF). Journal of Informetrics. 4 (3): 331–337. doi:10.1016/j.joi.2010.02.001. ISSN 1751-1577. http://isidroaguillo.webometrics.info/sites/default/files/publicaciones/Ortega2010-Differences_between_web_sessions_according_to_the_origin_of_their_visits.pdf
Eickhoff et al. 2014, p. 3. - Eickhoff, Carsten; Teevan, Jaime; White, Ryen; Dumais, Susan. (2014). "Lessons from the journey". Proceedings of the 7th ACM international conference on Web search and data mining (PDF). ACM. pp. 223–232. doi:10.1145/2556195.2556217. ISBN 9781450323512. S2CID 14666769. http://research.microsoft.com/en-us/um/people/teevan/publications/papers/wsdm14.pdf
Mehrzadi & Feitelson 2012, p. 3. - Mehrzadi, David; Feitelson, Dror G. (2012). "On Extracting Session Data from Activity Logs" (PDF). Proceedings of the 5th Annual International Systems and Storage Conference. SYSTOR '12. ACM. CiteSeerX 10.1.1.381.1956. doi:10.1145/2367589.2367592. ISBN 978-1-4503-1448-0. S2CID 8820623. http://www.cs.huji.ac.il/~feit/papers/Ses12SYSTOR.pdf
He, Goker & Harper 2002, p. 733. - He, Daqing; Goker, Ayse; Harper, David J. (2002). "Combining evidence for automatic Web session identification". Information Processing and Management. 38 (5): 727–742. doi:10.1016/S0306-4573(01)00060-7. ISSN 0306-4573. https://doi.org/10.1016%2FS0306-4573%2801%2900060-7
Jones & Klinkner 2008, p. 2. - Jones, Rosie; Klinkner, Kristina Lisa (2008). "Beyond the session timeout: Automatic hierarchical segmentation of search topics in query logs". Proceedings of the 17th ACM conference on Information and knowledge management (PDF). ACM. pp. 699–708. doi:10.1145/1458082.1458176. ISBN 9781595939913. S2CID 6548724. https://www.cs.cmu.edu/~rosie/papers/jonesKlinknerCIKM2008.pdf
Murray, Lin & Chowdhury 2006, p. 3. - Murray, G. Craig; Lin, Jimmy; Chowdhury, Abdur (2006). "Identification of User Sessions with Hierarchical Agglomerative Clustering" (PDF). Proceedings of the American Society for Information Science and Technology. 43 (1): 1–9. doi:10.1002/meet.14504301312. http://www.umiacs.umd.edu/~jimmylin/publications/Murray_etal_ASIST2006.pdf
Mehrzadi & Feitelson 2012, p. 1. - Mehrzadi, David; Feitelson, Dror G. (2012). "On Extracting Session Data from Activity Logs" (PDF). Proceedings of the 5th Annual International Systems and Storage Conference. SYSTOR '12. ACM. CiteSeerX 10.1.1.381.1956. doi:10.1145/2367589.2367592. ISBN 978-1-4503-1448-0. S2CID 8820623. http://www.cs.huji.ac.il/~feit/papers/Ses12SYSTOR.pdf
Mehrzadi & Feitelson 2012, p. 3. - Mehrzadi, David; Feitelson, Dror G. (2012). "On Extracting Session Data from Activity Logs" (PDF). Proceedings of the 5th Annual International Systems and Storage Conference. SYSTOR '12. ACM. CiteSeerX 10.1.1.381.1956. doi:10.1145/2367589.2367592. ISBN 978-1-4503-1448-0. S2CID 8820623. http://www.cs.huji.ac.il/~feit/papers/Ses12SYSTOR.pdf
Spiliopoulou et al. 2003, p. 176. - Spiliopoulou, Myra; Mobasher, Bamshad; Berendt, Bettina; Nakagawa, Miki (2003). "A framework for the evaluation of session reconstruction heuristics in web-usage analysis" (PDF). INFORMS Journal on Computing. 15 (2): 171–190. CiteSeerX 10.1.1.621.3037. doi:10.1287/ijoc.15.2.171.14445. ISSN 1526-5528. http://warhol.wiwi.hu-berlin.de/~berendt/Papers/spiliopoulou_etal_2003.pdf
Cooley, Mobasher & Srivastava 1999, p. 19. - Cooley, Robert; Mobasher, Bamshad; Srivastava, Jaideep (1999). "Data Preparation for Mining World Wide Web Browsing Patterns" (PDF). Knowledge and Information Systems. 1 (1): 5–32. CiteSeerX 10.1.1.33.2792. doi:10.1007/BF03325089. ISSN 0219-3116. S2CID 1165622. http://facweb.cs.depaul.edu/mobasher/classes/ect584/papers/cms-kais.pdf
Cooley, Mobasher & Srivastava 1999, p. 23. - Cooley, Robert; Mobasher, Bamshad; Srivastava, Jaideep (1999). "Data Preparation for Mining World Wide Web Browsing Patterns" (PDF). Knowledge and Information Systems. 1 (1): 5–32. CiteSeerX 10.1.1.33.2792. doi:10.1007/BF03325089. ISSN 0219-3116. S2CID 1165622. http://facweb.cs.depaul.edu/mobasher/classes/ect584/papers/cms-kais.pdf
Berendt et al. 2003, p. 179. - Berendt, Bettina; Mobasher, Bamshad; Nakagawa, Miki; Spiliopoulou, Myra (2003). "The Impact of Site Structure and User Environment on Session Reconstruction in Web Usage Analysis" (PDF). WEBKDD 2002 - Mining Web Data for Discovering Usage Patterns and Profiles. Lecture Notes in Computer Science. Vol. 2703. Springer. pp. 159–179. doi:10.1007/978-3-540-39663-5_10. ISBN 978-3-540-39663-5. http://warhol.wiwi.hu-berlin.de/~berendt/Papers/webkdd02_bookversion.pdf