ArticleslgStudy

science

Session (web analytics)

Session (web analytics) is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Session (web analytics) rather than just read about it. In short: 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.

Session (web analytics) — main illustration
Session (web analytics) — illustration

Key takeaways

  • Session (web analytics) belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Session (web analytics) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Session (web analytics) from memory before moving on to harder problems.

Reference excerpt

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.

References

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Session (web analytics)

Start with the simplest possible case. Write down what Session (web analytics) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Session (web analytics) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Session (web analytics) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Session (web analytics)

In research
Session (web analytics) appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Session (web analytics) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Session (web analytics) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Big data, Digital marketing, Web analytics, so understanding it makes those chapters shorter.
In everyday life
Look for Session (web analytics) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Session (web analytics)” →

How to study Session (web analytics) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Session (web analytics) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Session (web analytics) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Session (web analytics) in simple terms?

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.

Why does Session (web analytics) matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Session (web analytics)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Session (web analytics).

Tags

  • Big data
  • Digital marketing
  • Web analytics

Keep exploring