(b)-When a user is inactive on your site for 30 minutes or more or closes a browser window. By default, a session (a group of user interactions with the website that occurs within a given time frame) lasts until there are 30 minutes of inactivity, but it can be adjusted, so a session can last from a few seconds to several hours. Google Analytics is a traffic monitoring system that can be installed on any website. Its main purpose is to know how many users visit a site and how they behave when navigating through the pages. It is a tool that works with any online activity.