# Troubleshooting

> What to check when visits do not appear or identity is missing.

The script never shows an error on your page. Check the app's status page
and your browser's developer tools instead.

## No visits after installing

Open **Property > Script**. If the status is still waiting, check these in
order.

1. Look for a line such as **2 unapproved domains**. Choose **Review**. If
   your hostname is listed, its events were dropped. Choose **Approve**.

   ![A notice in Numbat that 2 unapproved domains sent events recently, listing example.net, marked matches your domain, and webcache.googleusercontent.com, marked unrelated, each with its event count and an Approve button](../../../assets/docs/numbat/script-unapproved-review.png)

2. Open your site with the developer tools' network panel. The request
   for `/<your-site-id>.js` should return 200. If it is missing, the tag is
   not in the `<head>`, or the change is not deployed.
3. Look for a POST to `/e` on the same host. A 204 means the event was
   recorded. Numbat shows it within about a minute.

## Status shows "Traffic has gone quiet"

No events in the last 7 days. If your traffic has not stopped, a deploy
probably removed the tag. Add it back, and the status returns to live
with the next event.

## Requests to `/e` return 503

An ad or tracker blocker in your browser causes this, not Numbat. The
collector never returns 503. It answers 204 or 202 when it accepts an
event, and 4xx when it refuses one. Try a browser profile with no blocker.

Blockers drop visitors while the script loads from Numbat's shared domain.
A [custom domain](/docs/tracking/install-the-script) fixes that.

## Requests to `/e` are slow

Each `/e` response has a `Server-Timing` header that splits the time into
named steps. Read it in the network panel, and include it if you contact
support.

## Returning visitors are not recognized

- On the shared domain, Safari visitors are not recognized when they
  return. A [custom domain](/docs/tracking/install-the-script) fixes that.
- On a custom domain, Safari keeps the cookie for 7 days. A token in the
  page's storage bridges the gap when that storage survives.
- When `analytics` consent is denied, Numbat holds no identity. See
  [Consent](/docs/tracking/consent).

## The custom domain never activates

The DNS record does not point to Numbat yet. Check it against the record
shown in the app. On Cloudflare, it must be **DNS only** (gray cloud).
After 7 days, the domain shows **Could not verify**. Remove it and add it
again. [Install the script](/docs/tracking/install-the-script) has the
full checks.

## A campaign name is a placeholder like `{campaignid}`

The ad platform did not fill in the macro. The template is in the wrong
field or at the wrong level. **Advertise > UTM Tagging** lists each
affected link pattern, and [Tag your ads](/docs/tracking/tag-your-ads)
links to the right field for each platform.

## Related

- [Approve your domains](/docs/tracking/approve-your-domains)
- [Custom domain](/docs/tracking/install-the-script)
- [Content Security Policy](/docs/tracking/content-security-policy)
