A session is one sitting on a website: a run of page views and actions by one visitor that ends after a set time of inactivity. Most tools end a session after 30 minutes with nothing happening. Sessions sit between pageviews and visitors. They are worked out by rules, not seen directly, so two tools can count the same traffic very differently.
What is a session in analytics? #
Google defines a session as “a period of time during which a user interacts with your website or app”. One person who reads four pages, leaves for lunch and comes back an hour later makes two sessions. The idea is simple. The rules behind it are not, and they differ between tools and even between versions of one tool.
How does Google Analytics 4 count sessions? #
- A session starts when someone views a page while no session is active. Google Analytics 4 then records a
session_startevent and a session ID. - It ends after 30 minutes of inactivity by default. You can change the timeout in the tag settings.
- Google says there is no maximum session length.
- Session totals in reports are approximated with HyperLogLog++, according to Google’s post on unique count approximation.
Did Universal Analytics count the same way? #
No. Google’s old help page says a Universal Analytics session also ended at midnight, and a new session opened every time the campaign source changed. Google’s comparison page says that in Google Analytics 4 “a new campaign does not begin a new session”, so session counts may be lower. Session figures from the two versions cannot be laid side by side.
Why does it matter for search? #
Search clicks are counted in Google Search Console, but many reports of what happens next are built on sessions: engagement rate, bounce rate, sessions per landing page and conversions per session. If the session rules change, every one of those moves, even when nothing changed on your site. That is why SEO reporting over long periods should note any change of tool, timeout or consent setup.
Why does it matter for AI answers? #
A person who asks an AI assistant, clicks your link, goes back to the chat, then clicks another link, may make two sessions or one, depending on the gap. Google Analytics 4 has a channel for AI assistants, but only when the visit carries a referrer or a tag it recognises. See ChatGPT traffic in Google Analytics. Sessions also say nothing about AI crawlers. A crawler is not a person and runs no session in a browser tool.
What does a session need to work? #
To link pages into one session, a tool must recognise the same visitor from page to page. Google Analytics 4 keeps session state in a first-party cookie, _ga_<container-id>, which Google says is “used to persist session state”. In the UK, cookies like this fall under PECR. If a person declines cookies, the tool has to model or drop them. See Consent Mode v2 and cookie banner.
Why does URSY.com count visitors per day instead? #
For people, we do not report sessions. We report page views and daily visitors. Our counter sets no cookie and stores nothing on the device, and our visitor code changes every UTC day. A day is a clear, fixed boundary that anyone can check. A session depends on a timeout, campaign rules and stored state, and it changes when any of those change. We would rather give you two numbers we can stand behind than a third that is mostly rules. If you need sessions, keep a session tool alongside ours and read them together.
What about machines? #
Bots do have a session-like rule in URSY.com. A machine visit is one machine’s run of requests: same bot name and same network block (/24). A new visit starts after 30 minutes of quiet. That gives a fair answer to “how often does GPTBot come?” without counting every single request as a visit. Our entry on crawl budget explains why that matters.
Common mistakes #
- Treating sessions as people. One person can make many sessions in a day.
- Comparing sessions across tools. Different timeouts, midnight rules and campaign rules give different totals.
- Tagging internal links with UTM tags. In tools that start a new session on a campaign change, this splits visits. Keep UTM parameters for links from outside.
- Forgetting redirects. A redirect that strips the referrer or the tag turns a referral into direct traffic.
- Counting bot sessions. A bot that runs scripts can make sessions too. Read bot traffic in analytics.
A worked example #
One person, one day. Times are UTC and the figures are made up to show the method.
| Time | What happens | 30-minute session rule | URSY.com |
|---|---|---|---|
| 09:00 to 09:10 | 3 pages from a Google result | Session 1 | 3 page views, 1 visitor |
| 09:25 | 1 page from a newsletter link | Still session 1 in GA4 (new session in Universal Analytics) | 1 page view, same visitor |
| 13:00 | 2 pages, typed address | Session 2 | 2 page views, same visitor |
| Day total | 2 sessions | 6 page views, 1 visitor |
If the same person’s phone switches network at lunch, our count may show 2 visitors, because the network address is part of the daily code.
How to check it #
Links marked Pro are in URSY Pro, opening in stages. The rest are free and live today.
- In Google Analytics 4, note your session timeout under Admin, Data streams, Configure tag settings. Write it in your report so the number can be read later.
- Compare sessions with page views and visitors in the same period. A sudden change in sessions with flat page views usually means a rule change, not a traffic change. Our entry on why analytics numbers are low lists other causes.
- Check your campaign links. Run them through our free Redirect Checker to make sure the tag and the referrer survive every hop, and see results in campaigns (Pro).
- Use our free HTTP Header Checker to see the
Referrer-Policyheader on your pages and on the sites that link to you. - See where sittings start and end with journeys, pages and sources (all Pro). Track goals per sitting with events and goals (Pro) and our entry on conversion tracking.
- Check that bots are not inflating sessions. Compare with your server logs, check the user agent, and test addresses with our free Verify an AI Bot tool.
- For machine visits, see how often each bot returns in AI crawl frequency and where it spends its visits in crawl budget by bot (both Pro). The bot verification log (Pro) marks each one real, fake or unknown.
- Check which AI bots your robots.txt lets in with our free AI Bot Checker. A bot that obeys a block in robots.txt should only fetch the robots.txt file itself.
- For people counted without cookies, see cookie-free analytics (Pro) and the entry on cookieless analytics.
What URSY.com counts #
For people, we count page views (observed, high confidence) and daily visitors (inferred, medium confidence). We do not build person sessions. For machines, a visit is the same bot name from the same network block (/24), and a new visit starts after 30 minutes of quiet. We mark machine visits as inferred, with medium confidence. Full rules: how URSY.com counts.
Questions #
Why 30 minutes? #
It is a long-standing default. Google Analytics 4 uses it and lets you change it. It is a convention, not a law of nature.
Does a session end at midnight? #
In Universal Analytics it did. Google’s Google Analytics 4 session page does not list midnight as an end point.
Can I turn URSY.com’s daily visitors into sessions? #
No. We store no per-person timeline to rebuild one. Use page views per visitor as the nearest measure.
Is a bot visit the same as a session? #
It uses the same 30-minute idea, but it groups requests by bot name and network block, not by a cookie.
Related words #
- Engagement rate
- Bounce rate
- Google Analytics 4
- UTM parameters
- Attribution
- Search Console vs analytics
- Bot traffic in Google Analytics
- AI crawler
- Unique visitor
Sources #
- Analytics Help: [GA4] About Analytics sessions, checked 24 November 2026
- Analytics Help: How a web session is defined in Universal Analytics, checked 24 November 2026
- Analytics Help: Universal Analytics versus Google Analytics 4 data, checked 24 November 2026
- Google Analytics developers blog: Unique count approximation in Google Analytics (October 2022), checked 24 November 2026
- Analytics Help: Google Analytics cookie usage on websites, checked 24 November 2026
- Analytics Help: [GA4] Default channel group, checked 24 November 2026
Updated 24 November 2026 by URSY.com.
Cite this page: Session. URSY. Updated 26 November 2026. https://ursy.com/wiki/session/ · Section links
Tools for this
- LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
- LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
- LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
- LiveSchema Markup CheckerRun the check →