# Excluding traffic

Leave visits out of a site’s counts by where they come from, such as your own while you work on it.

On a small site, your own visits and your office’s can be a large share of the traffic. Excluding your own is one click in the site’s settings. Bots are already kept out of every site’s figures, with nothing to set up.

## Adding one

In the site’s settings, under Excluded traffic, add any of three kinds. A site can exclude up to 100 in all.

- **An address**, such as `203.0.113.7` or `2001:db8::1`, or a range of them written with its prefix length, such as `203.0.113.0/24` or `2001:db8::/48`. A range is kept one way however it was typed, so `203.0.113.7/24` is `203.0.113.0/24`.
- **A network**: everyone whose connection comes through it. Type its name, its registry’s short name for it, such as `BT-UK-AS`, or its AS number, such as `AS64496`, and choose it from the suggestions.
- **A country**, chosen from the list, which has Tor too.

## Your own visits

The settings offer to exclude the address you’re on, in one click. On IPv6 they offer its /64 range instead, since a device’s IPv6 address changes, often daily, within the range its network was given. Once you’re excluded, the settings say so.

Home and office addresses can change too, when the provider hands out another. If your own visits start to show again, exclude the new one.

## Networks

As you type a name or a number, the settings suggest the networks it could mean, biggest first, each with its number, its registry’s short name, its country and what kind of network it is, such as an internet provider. They come from a list of every network in use, with the names the regional internet registries give them, from [ipverse’s as-metadata](https://github.com/ipverse/as-metadata), which is in the public domain. fivebar serves its own copy, fetched only once you start typing.

A network is everyone on it. The settings name the one you’re on, but don’t offer to exclude it: for most people it’s their internet provider’s, and excluding it would leave out every visitor with the same provider. It suits a network that is one organisation’s own, or a service that visits the site on its own account, such as an uptime monitor. A visit from a hosting or cloud network is taken for a bot’s already: see [Bots](https://fiveb.ar/docs/bots.md#hosting-networks).

## What is left out

Everything from there: its pageviews, visitors, goals, speed and time on the page, and it’s never in the live count, nor on the Bots page. The page is answered as it would be for any visit, so nothing on it changes, and nothing of the visit is kept to count later.

So an exclusion works from when it’s added, within a few minutes, and what was counted before stays. Remove one and that traffic is counted again from then on, but what was left out meanwhile is gone.

The addresses, networks and countries are kept with the site’s settings until you remove them or delete the site. See [Privacy](https://fiveb.ar/privacy/index.md).

## Bots

On every site, with no setting, fivebar takes crawlers, automated browsers, link previews, monitors, programs and every visit from a hosting network for bots, and shows them on the site’s Bots page rather than in your figures: see [Bots](https://fiveb.ar/docs/bots.md). Only bots that run your pages’ JavaScript, or send the script’s counts themselves, reach fivebar at all, so most crawlers never show there: see [Bots that never show](https://fiveb.ar/docs/bots.md#bots-that-never-show). A bot it doesn’t recognise counts as a person: leave it out by its address, or by its network if the network is its own, as in [Adding one](https://fiveb.ar/docs/excluding-traffic.md#adding-one).

The script itself also skips a copy of the site on your own computer, and a prerendered page the visitor never went to. See [What is not counted](https://fiveb.ar/docs/metrics.md#what-is-not-counted).
