# Why events don't show up

> Every reason a pageview or goal can be skipped in the browser or dropped by the server, how to see which one applies, and how to fix it.

An event can stop in two places: in the browser, where the script decides not to send it, or on the Reveata server, which checks every event before storing it. Both tell you why, if you know where to look.

Stored events reach **Realtime** within a few seconds. If your visit is there but a report looks empty, check the date range and any active filters first.

## 1. Ask the dashboard

When nothing has arrived, or the last thing the server did for your website was drop an event, the install check on the website's dashboard (and the install step when you add a site) shows what happened and how to fix it. It explains the most recent drop that is newer than the last stored event, and disappears once events arrive again.

## 2. Ask the script

Add `data-debug="true"` to the snippet and open the browser console. The script logs every event it sends, and when it is off it says why with a line starting with `[reveata] off:`:

| Console says | Why | Fix |
| --- | --- | --- |
| `off: no website-id` | The snippet has no `data-website-id` | Copy the snippet again from **Settings → General** |
| `off: localhost` | The page is on `localhost`, `*.localhost`, `127.0.0.1` or a `file:` page | Test on your real domain, or add `data-allow-localhost="true"` |
| `off: iframe` | The page is shown inside a frame | Add `data-allow-iframe="true"` if you want framed pages counted |
| `off: bot` | An automated browser (Selenium, Puppeteer, Playwright, headless, Lighthouse) | Test in an ordinary browser window |
| `off: dnt` | Do Not Track or Global Privacy Control is on and the snippet respects it | Expected with `data-respect-dnt="true"` |

The script also sends nothing on paths listed in `data-exclude-paths`, and nothing from a browser that opted out (`reveata('optout')` or **Ignore this browser**). Run `reveata('optin')` in the console to count that browser again.

If the console shows nothing at all, the script didn't load: see the next section.

## 3. Look at the network

Open the **Network** tab of the developer tools and reload:

- **No request for `script.js`**: the snippet is not on this page. View the page source and search for `data-website-id`.
- **The request is blocked or cancelled**: an ad or tracking blocker stopped it. Try another browser or turn the blocker off for your site. A [managed proxy](https://reveata.com/docs/managed-proxy) or [your own proxy](https://reveata.com/docs/self-hosted-proxy) serves the script from your domain, which blockers stop far less often.
- **A console error mentions Content Security Policy**: add Reveata to your policy, see [Content Security Policy](https://reveata.com/docs/content-security-policy).

Events are `POST` requests to `/api/collect` (or your proxy path). Their answer tells you what the server did:

| Answer | Meaning | Fix |
| --- | --- | --- |
| `202` | Accepted. When the event was dropped on purpose, the response has an `x-reveata-ignored` header with the reason (below) | — |
| `400 validation_failed` | The event is malformed: a bad URL, goal name or too many properties (more than 20) | Check the `reveata()` call against [Custom goals](https://reveata.com/docs/custom-goals) |
| `403 forbidden` | The page's host is not the website's domain, a subdomain of it or one of its **Additional domains** | Add the host under **Settings → General → Additional domains**, or use the snippet of the website it belongs to |
| `404 not_found` | No website has this tracking id | Copy the snippet again; the website may have been deleted |
| `413 payload_too_large` | The event is over 16 KB, usually huge goal properties | Send fewer or shorter properties |
| `429 rate_limited` | Too many events from one address in a minute | Usually a test script or a loop; wait a minute |

## 4. Reasons the server drops an event

These events are answered with `202` and an `x-reveata-ignored` header, are not stored, and never count towards your usage:

| Reason | What happened | Fix |
| --- | --- | --- |
| `foreign_origin` | The request came from a page on another site | Install the snippet on your own domain, or add the other site under **Additional domains** |
| `excluded_ip` | The visitor's address is in **Exclude IP addresses** | Expected; test from another network if it's you |
| `excluded_path` | The page matches **Exclude paths** | Check [Exclusions](https://reveata.com/docs/exclusions) |
| `excluded_hostname` | The host matches **Exclude host names** | Test on the live domain |
| `excluded_country` | The visitor's country is in **Exclude countries** | Expected |
| `referrer_spam` | The referrer is on the referral spam list | Open the site directly, or turn off **Filter referral spam** |
| `bot` | A crawler or bot User-Agent | Recorded under [Bot and AI crawler traffic](https://reveata.com/docs/bot-traffic) instead |
| `suspected_bot` | The request lacked headers every browser sends (language, fetch metadata, origin and referrer) | Browser privacy tools or a proxy that drops headers can cause this. A proxy must pass the headers listed in [Proxy through your own server](https://reveata.com/docs/self-hosted-proxy#2-what-the-proxy-must-send) |
| `datacenter` | The visitor's IP address belongs to a data-centre or hosting network (a server, cloud browser or VPN) | Test from your own connection without a VPN. If your visitors use cloud desktops, turn off **Filter data-centre traffic** under **Settings → General → Bot traffic**, see [Data-centre traffic](https://reveata.com/docs/bot-traffic#data-centre-traffic) |
| `attack_mode` | Attack mode is on and the event went over its limits or had no referrer from your site | Turn attack mode off in **Settings → General** once a spike is over |
| `site_rate_limited` | The website sent more events in a minute than the server accepts | Wait a minute |
| `usage_cap` | Abuse protection: the account sent more than 5 times its plan's monthly events this cycle, so new events are paused. Going over the plan alone never stops tracking | Upgrade, use the one-time pass, or wait for the next cycle, see [Billing, plans and usage](https://reveata.com/docs/billing-plans-and-usage#abuse-protection) |
| `plan_ended` | The account has no plan, and the tracking period after its plan (30 days) or trial ended | Pick a plan in **Account → Billing** |
| `account_paused` | Data collection is paused for the account by Reveata | Contact support |
| `archived` | The website is archived, so tracking is stopped | Restore it under **Settings → General** |
| `no_session` | A goal or other event arrived from a visitor who has no visit yet: only a pageview starts one | Make sure the snippet loads on every page with automatic pageviews, or send `reveata('pageview')` first when `data-auto="false"` |
| `invalid_url` | The page address is not `http` or `https` | Track only web pages |

Through your own proxy, a wrong or missing proxy secret is not a drop: the event is counted, but located at your proxy's address. The `x-reveata-proxy` header says why, see [Check that it works](https://reveata.com/docs/self-hosted-proxy#check-that-it-works).

## Goals specifically

- **The goal name changed.** Names are lower-cased and anything other than letters, digits, `_` and `-` is replaced, so `Sign Up!` becomes `sign_up_`. Look for the cleaned name in the Goals panel.
- **The goal fired before the script loaded.** Add the queue snippet from [Install the script](https://reveata.com/docs/install-the-script#calling-the-script-before-it-loads) so early calls are kept.
- **Page-visit goals count from when they were created.** Earlier pageviews don't turn into conversions.

## Payments specifically

Payments don't go through the script. If a payment is missing or has no source, see [Connect a payment provider](https://reveata.com/docs/connect-a-payment-provider#check-it-works): **Settings → Payments** shows each provider's last webhook delivery and the latest error.
