How visitors are counted
Visits, visitors, bounces and time, counted without ever linking two page views.
Most analytics tools give each visitor an ID and follow it around. Okidoki never does. Every page view stands on its own, and nothing links it to a person or to another page view. This page explains how Okidoki still gives you visitors, bounces and time per visit.
#The short version
| Number | How it is counted |
|---|---|
| Visitors | Visits that start on your site: someone arrives from another site, from a link, or by typing the address |
| Page views | Every page opened, including page changes inside React apps |
| Pages per visit | Page views divided by visitors |
| Left after one page | Visits where the visitor did not click on to another page of your site |
| Time per visit | All the time your pages were visible on screen, divided by visitors |
#What a visit is
A visit starts when someone arrives on your site from somewhere else: another site, a search engine, an app, a link in an email, or by typing the address. The script knows this from the browser's referrer. If the page before was on your own site, it is the same visit going on. If not, it is a new visit.
So visitors in Okidoki means visits. Someone who comes in the morning and again in the evening counts twice, because Okidoki has no way to know it is the same person. That is on purpose.
#Bounces without following people
When a visitor leaves a page or hides the tab, the script sends a short note: how long the page was visible and whether the visitor clicked on within your site. A visit that started on a page and did not continue is a bounce, shown as Left after one page.
Phones do not always say when a page closes, so the script sends a note each time the page is hidden. If the visitor comes back to the tab and clicks on later, a follow-up note corrects it. These notes are never linked to each other, only counted.
#Time on page
Time counts only while the page is visible. A tab left in the background does not count, and a page left open for hours counts as at most 30 minutes. Time per visit is all visible time divided by visitors.
#Pages that change without reloading
Sites built with Lovable, Bolt, v0 and most React tools change pages without loading a new document. The script listens to the browser's history, so each page change counts as its own page view, and moving between pages counts as clicking on. When the visitor comes back with the back button, the page counts again.
#Where a visit came from
The source and the campaign tags are read once, on the page where the visit started. Later pages in the same visit have no source, because they are not linked to the first one. That is why a filter on source, channel or campaign shows the pages visits started on, and why page views after the first page, visit length and clicks are left out under such a filter. See Filters.
#What is left out
- Bots and crawlers, recognised from the browser's user agent. AI crawlers that your server reports are listed on their own and never counted as visitors. See AI assistants and crawlers.
- Visits to other addresses than your site and its subdomains.
- Your development computer:
localhostand127.0.0.1are skipped. - Ad blockers may block the script for some visitors. Load Okidoki from your own address and most of them let it through: see Count visitors with ad blockers.
#Compared with other tools
Tools that follow visitors usually show fewer visitors than Okidoki for the same site, because they recognise people who come back. Tools that are blocked by consent banners show fewer too, because they only count those who say yes. Okidoki counts everyone the same way, all the time, so its trends are steady and comparable from week to week.
#How we check the numbers
Before every change reaches okidoki.sh, a robot visits a test shop in a real browser with the same script your site uses, then reads the reports and checks that every number is exactly what it should be. Every night, known visits also go through the live service and must come back exactly, and each site's day is checked against rules that always hold, like every breakdown adding up to the total. With Search Console connected, Okidoki also shows its visits from Google next to Google's own clicks. The details, and where the numbers can differ from other tools, are on How accurate are the numbers?.