All guides

How Foresite counts

Unique visitors

Foresite never stores anything on visitors' devices, so it can't recognise a returning visitor the way cookies do. Instead, for each site and each day, it computes a one-way hash of the visitor's IP address and browser details together with a random secret that changes every day. The secret is destroyed once the day ends in your site's time zone.

This means:

  • A visitor is counted once per day, however many pages they view.
  • The same person on two different days counts as two visitors. Over a week or a month, "Visitors" is the sum of each day's unique visitors.
  • Nobody, including us, can link a visitor's activity across days or across sites.

Pageviews

A pageview is counted when a page loads, and each time a single-page app moves to a new path, including by a redirect or the back button. Changes to the query string alone, such as a filter or sort that updates ?season=2025 in place, aren't pageviews: it's the same page. Google Analytics 4 counts those as page views too, so its page view total is usually higher on sites that do this. To see which filters people use, send a custom event.

Sessions and bounce rate

A session is a run of pageviews and events by the same visitor with no gap longer than 30 minutes. It never crosses midnight, because a visitor can't be recognised across days. A bounce is a session with exactly one pageview and no events (a 404 doesn't count as an event here).

When a visitor leaves a page or hides its tab, the script sends how long the page was on screen and how far down it was scrolled. That's what time on page, scroll depth and quick bounces are measured from. It's two numbers for the page, nothing about the visitor or their device, and it never starts a session of its own or counts toward your price.

Sources

The source of a session is its first referrer, or its utm_source tag if the address has one. Clicks on Google, Microsoft, TikTok, X and LinkedIn ads are recognised by the click ID the ad platform adds, and shown as paid sources such as Google Ads. Every event in that session is credited to the session's source and campaign tags.

What's never counted

Bots and automated browsers, your own excluded browsers, local development (localhost), and floods of events from a single visitor or network are filtered out before anything is stored. Filtered events never count toward your price.