Skip to content
Exclusions

Keep your own visits and test traffic out of your numbers

3 min read · Updated · By the Reveata team

On a young site, the founder can be the biggest visitor. Every refresh while you fix a layout, every test checkout, every preview deployment that loads the production snippet adds visits that look real. With small numbers, that's enough to make a conversion rate meaningless. A few exclusions fix it.

What Reveata already leaves out

Some traffic is never counted, with no setup:

  • Pages on localhost, *.localhost and 127.0.0.1, unless you add data-allow-localhost="true".
  • Pages shown inside an iframe, unless you add data-allow-iframe="true".
  • Crawlers, AI bots and automated browsers, which are recorded separately as bot hits.
  • Visits whose referrer is on the referral spam list (on by default).

See Exclusions for the full list.

1. Ignore your own browsers

In Settings → General → Exclusions, press Ignore this browser. It opens your site once with ?reveata_ignore=1, stores a flag in that browser and removes the parameter. Do it in every browser and device you use, including your phone. Count it again undoes it.

You can also do it from the browser console on your site:

js
reveata('optout'); // stop counting this browser
reveata('optin'); // count it again

2. Exclude office and VPN addresses

Under Exclude IP addresses, add one address or range per line. CIDR ranges such as 203.0.113.0/24 work, for IPv4 and IPv6. This covers colleagues who never set the browser flag. If you proxy Reveata through your own server, make sure it forwards the visitor's address with a valid proxy secret, or every visit will appear to come from the proxy. See Proxy through your own server.

3. Exclude private pages

Under Exclude paths, add pages that only you or your team see: /admin/*, /internal/*, preview pages. * matches any characters. To stop those pages sending anything at all, list them in the snippet instead with data-exclude-paths="/admin/*,/preview".

4. Exclude staging and preview hosts

Preview deployments often load the production snippet. Under Exclude host names, add staging.example.com or a pattern such as *.preview.example.com. Every other subdomain stays counted. See Track subdomains.

5. Check an exclusion works

Visit an excluded page, or connect from an excluded address, then open the install check on the dashboard. When the last thing the server did was drop an event, it names the rule that matched.

Clean up a past spike

Exclusions apply from the moment you save them; visits already recorded stay. If a test or a misconfigured script left a spike, the owner can remove it with Delete data in a date range in Site settings → General → Danger zone. It removes pageviews, goals and visits that started on those days, but keeps payments and the visits that led to a payment. It can't be undone. See Import, export and delete website data.

What about test payments?

Payments come from your provider, not the browser, so excluding your browser does not hide them. Keep test purchases in your provider's test mode where it has one. A payment that does reach Reveata can be deleted through the API (DELETE …/payments/{transactionId}), which takes its goals with it.

A bonus: fewer events used

Excluded events are not stored and never count towards your plan's events. See Reduce your event usage.

What to do next

  • Set the browser flag on every device you own today.
  • Add your team's addresses and your preview hosts.
  • Read Tell real growth from bot traffic for the traffic that isn't yours but isn't human either.

Do it in Reveata

In the dashboard

  1. Open Site settings → General → Exclusions.
  2. Press Ignore this browser, then fill Exclude IP addresses, Exclude paths and Exclude host names.
  3. Save, then use the install check on the dashboard to confirm a rule matches.

With the API

Review the current settings, exclusions included:

bash
curl https://reveata.com/api/v1/websites/example.com/settings \
  -H "Authorization: Bearer $REVEATA_TOKEN"

With an AI assistant

With the MCP server connected (settings access must be granted on the consent screen), ask:

Use get_website_settings to list my excluded IP addresses, paths and host names, then get_breakdown on hostname for the last 30 days and point out any host that looks like staging or a preview.

Try it in your dashboardOpen your website in Reveata and follow the steps above with your own numbers.
Open dashboard →
Was this guide useful?

Next guides