DocsVisitors, sessions, and page views
Visitors, sessions, and page views
These three things are not the same, and the difference matters once you are reading a chart. A visitor is a browser. A session is one continuous visit. A page view is one page during that visit.
Visitor
The tracker stores an id for the browser the first time it sees it, in that browser's own storage. It stays there across visits, so the same person coming back next week is still the same visitor. It does not survive clearing browser data, and it does not follow the same person to a different browser or device. Someone who reads your site on their phone and later fills out the form on their laptop shows up as two separate visitors, with no way to tell they were the same person.
Session
One session is one continuous visit by one browser, however many tabs and windows of your site it has open. A session ends only when the visitor has been idle for 30 minutes: no clicking, typing or scrolling in any window. Closing a tab, reloading, or moving between pages does not end it.
Someone who comes back after an hour starts a new session, and the old one is closed at the moment they stopped, not when they returned. A visit that is still going sends a quiet heartbeat every 5 minutes so a long read is not mistaken for someone who left.
The same site in two windows
Both windows belong to the one session. Only the window the visitor last used records a page view; the other pauses until it is used again. So the same person never shows up as overlapping page views or as two visitors, and time is never counted twice.
Page view
One page view covers one page, for as long as it is the one on screen. Navigating to another page ends it and starts a new one, whether that navigation reloads the whole page or is handled instantly by the site's own code without a reload. Switching away from the tab and back also starts a fresh page view for whatever page is still open, even though it is technically the same page as before.
Why a session can show a live border but the page inside it is not blue
On the visit chart, the green border around the whole chart means the session is still active: the visitor's tracker has reported in the last few minutes. A session that has gone quiet is shown as ended even before the system has formally closed it. That is different from the blue page frame, which means the visitor is looking at that exact page right now. A visitor can leave a page open, switch to another tab, and still be inside a live session, while the page they left is no longer the one that is blue.
