> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.divert.ly/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.divert.ly/_mcp/server.

# Targets

> Targets are the destinations a Divertly route sends traffic to. Fields, match values, and how to enable, edit, or delete them.

A target is a single destination a route can send a request to — a webpage, a video, a file, anything reachable by URL. A route with no targets has nowhere to send traffic.

## Fields

Every target has:

| Field       | Description                                                                                                                                     |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| URL         | The destination, including its scheme (`http` or `https`).                                                                                      |
| Description | What this target is, for your own reference.                                                                                                    |
| Enabled     | Whether the target can currently be resolved. A disabled target never receives traffic, even if its route's strategy would otherwise select it. |

## Match value

What else a target needs depends on its route's targeting strategy:

| Strategy                                                  | What you provide on the target                                                                                                                                                               |
| --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Weighted                                                  | A **Weight** — a relative number. A target with a weight of 2 receives twice the traffic of one with a weight of 1. Weights only matter relative to each other, not as absolute percentages. |
| Random                                                    | Nothing further.                                                                                                                                                                             |
| Country, Device Type, Operating System, Language, Browser | A value chosen from a preset list of common patterns for that attribute.                                                                                                                     |
| Human                                                     | Whether this target should handle **Humans** or **Bots**.                                                                                                                                    |
| Header, Query String, IP CIDR, User Agent                 | A **Value** you type in yourself, matched against the request.                                                                                                                               |

![The Create New Target form with a Country strategy, showing the preset country picker](file:docs/assets/target-create-country.jpg "Target match value — Country")![The Create New Target form with a Human strategy, showing the Humans/Bots picker](file:docs/assets/target-create-human.jpg "Target match value — Human")

## Enable, edit, and delete

Toggle a target's enabled state, edit its URL or match value, or delete it from its detail page. Deleting a target is permanent; disabling it is reversible and doesn't lose any configuration.

## Metrics and risk

Like routes and domains, a target's page shows its own traffic over time and a risk notice if anything about it has been flagged. See [Metrics](/docs/concepts/metrics) and [Security & Risk](/docs/concepts/security-risk).