# Check that it works

> How Okidoki tells you the install works, and what to do when it does not.

After you install, Okidoki watches for your first visitor and tells you as soon as one arrives. If nothing comes in, it looks at your site and says what is wrong, in words you can paste to your builder.

## The setup page

Right after you add a site, its dashboard shows **Waiting for your first visitor**. Open your published site once in a normal browser window. Within a few seconds the setup page changes to **Your first visitor is here**, and your reports begin.

You can close the page and come back later. It checks again each time you open it.

## When nothing arrives

If no visit has arrived, Okidoki opens the home page of your site and looks for the Okidoki tag. Then it tells you what it found:

| What Okidoki says | What it means | What to do |
| --- | --- | --- |
| We could not open your site | The address does not answer | Check that the site is published and the address in Okidoki is right |
| The tag was not found in the home page | The builder did not add it, or not on every page | Paste the install sentence again. If you used the React component, open the site once and check again |
| The page has an Okidoki tag with another site key | The tag is from another site in Okidoki | Paste: *Change data-site in the Okidoki tag to "your site key"* |
| The tag is on the home page | The install looks right | Open the site in a normal window **without an ad blocker**, then check again |

> [!NOTE]
> The check reads the HTML that your server sends. Sites built as React apps sometimes add the tag only after the page loads, so the check cannot see it. That is fine: as soon as one real visit arrives, the check says it works.

## Things that are not counted

Some visits are left out on purpose, so a quiet setup page is not always a broken install:

- **Your own computer while you build.** Visits from `localhost` and `127.0.0.1` are not counted.
- **Bots and crawlers.** Search engine bots, link previews and other automated visits are skipped.
- **Other addresses.** Only the address you added and its subdomains count. A preview link in your builder, like an editor preview, is usually another address.
- **Blocked scripts.** Some ad blockers and privacy extensions block analytics scripts, Okidoki included. To count those visitors too, see [Count visitors with ad blockers](https://docs.okidoki.sh/ad-blockers).

## Check from the API

Your agent can run the same check with `GET /api/v1/sites/:site/verify` or the MCP tool `check_install`. The answer has a status: `working`, `quiet` (no visits in the last 24 hours) or `waiting` (no visits yet), and a message that says what to do. See the [API reference](https://docs.okidoki.sh/api/reference#check-the-install).

