Session vs entrance

This is for:

Developer

In this article, we’ll discuss why Coveo avoids the concept of visits, with its ambiguous definitions and complications, and instead concentrates on entrances and sessions.

Why avoid visits and entries?

Visits and entries are both commonly used in the web analytics industry to report site metrics. Visits is defined as set of page views for a visitor and an entry constitutes the page on which that visit starts.

Unfortunately, there is much disagreement as to what constitutes a valid entry, with some definitions including a significant time period since the last page view, or being referred from an external web page. This is further complicated by some external web pages not implying a new visit. For example, if a visitor makes a payment via Paypal, it should not break a visit, nor should selecting a button to share or 'like' web content.

It can also happen that the browser may block the referrer url, making a succession of pageviews within a visit look like a series of direct entries.

Entrance and session

To avoid this confusion, Coveo avoids the concept of visits, with its ambiguous definitions and complications, and instead concentrates on entrances and sessions.

An entrance is defined as any sequence of pageviews where the first page comes from an external link, entered URL, or bookmark and where all subsequent pageviews are triggered by a selection within the site.

A focus on direct entrance

A view in the same session as the previous view that lacks a referrer url, and therefore might be considered a direct entrance, is not treated as a new entrance but as a continuation of the previous one. The view will only be treated as a new entrance if it has UTM parameters that suggest it really is a new entrance.

A session is defined as any sequence of pageviews with less than 30 minutes between each view.

A good example of how Coveo applies the concepts of entrances and sessions can be seen in Coveo’s Behavioral Attribution. We count the purchase time from the start of the session in which the visitor purchases. But because a session may have multiple entrances, it can appear as though the visitor entered after the purchase happened, when in reality there were multiple entrances. We calculate last click value, and true last click value based on this fact.