When is your visit counted as a web session in Google Analytics?To put it simply, a web session is a visit of a user to a website during which they somewhat interact with the site. In the course of these visits people can generate multiple pageviews (visits to individual subpages), events (e.g. clicks on the “buy now” button) or transactions. One such visit to a website equals one web session. If the same user decides to revisit your site after a few days, he or she will generate another session and pageviews, however, the number of visitors won’t change. So now you’re probably wondering what’s so complicated about it? The described method is the easiest way to generate a web session, nevertheless, in some situations things turn out to be much more complex.
When does a session expire?
1. How long does a session last?The default session in Google Analytics lasts 30 minutes. But does it mean that a user spending 1.5 hours on a website generates 3 sessions? No. Google Analytics counts the duration of the session by the intervals between interactions. If a user enters a website and leaves it after 10 minutes, GA won’t record any interaction and it’ll report that the user has spent 0 seconds on the site. If the user doesn’t perform any activity on the website for 30 minutes, then Google Analytics ends the session. However, if the user enters another subpage after 32 minutes on the website, Google Analytics will record it as 2 sessions and a self-referral will be the source of the second one. On the other hand, if the user leaves the page and comes back within 30 minutes, the previous session will be continued even if the website is closed earlier. You can change how long the session lasts, however, it’s not a common practice. For example, it can be useful when it comes to websites with movies that are longer than 30 minutes - users deliberately don’t interact for more than half an hour and in order to prevent errors in reports, you can change the length of the session. Note: if a user spends 1 hour on a website but keeps interacting all the time then only one session is generated. The session expires after 30 minutes without any user activity.
2. When the midnight comesIf you’re a night owl using the Internet late at night and the clock strikes midnight, then Google Analytics will divide your visit to the site into 2 separate sessions. It’s all due to a simple reason - one session can’t have two dates in Google Analytics. And again, a self-referral will be the source of the second session.
3. When the source of the entry changesIf a user enters a page from one source and then from another, a new session is created. And it’ll happen even if there has been less than 30 minutes from the first visit. A campaign is updated if you enter the site from an organic search source (search engine), from a backlink or from a tagged Google Ads campaign. Direct traffic visits are the only exception which don’t update the campaign source.
Comparing sessions, users and pageviews - how can it be helpful?Knowing how the sessions function, you can analyze the available data. Is it better to monitor users or sessions? Or maybe you should focus solely on keeping an eye on your pageviews? The truth is that depending on what you want to know, you can make use of various data and compare them. Sessions vs. pageviews
- do you involve the users sufficiently enough so that they visit more than one subpage during a session?
- do the users come back to your website? Do you increase their trust and make them revisit your site for more products or information?
- what is the effectiveness of your marketing activities intended to make the users come back to your website?
- what is the effectiveness of your marketing activities intended to attract new visitors to the site?