What is a geolocation session and how is it counted?

If-So is designed to keep session usage as low as possible.
A geolocation session represents a visitor whose location is checked in order to display location-based content.
- A single visitor is counted as one geolocation session per visit, even when browsing multiple pages.
- A session begins when a page with a geolocation condition is accessed and ends after the visitor leaves or is inactive (typically around 25 minutes).
- Sessions are counted only when geolocation is required. Pages without geolocation conditions do not consume sessions.
The table below shows how different visitor actions affect the session count:
| Scenario | Session Count |
|---|---|
| A visitor only views pages without geotargeted content and then leaves | 0 |
| A visitor views a page with conditional content, the geolocation condition is not one of the conditions (other If-So conditions are used). | 0 |
| A visitor browses multiple pages within a single session | 1 |
| A visitor visits a page with geotargeted content, and then refreshes the page | 1 |
| A visitor views a page, closes the tab, and returns to the site after 15 minutes | 1 |
| A visitor views a page with geotargeted content, but their location doesn’t match any targeted locations (default content is shown). *The user’s location still needs to be checked in this case. | 1 |
!
Does your geolocation session count seem inaccurate?
This is most often caused by bots visiting your site and consuming sessions. Learn how to reduce bot-related session usage.