How Divertly Works
What happens when someone visits one of your links.
Divertly sits between a link and its destination. When someone visits a link on one of your domains, here’s what happens:
- Divertly matches the request’s domain and path to one of your routes.
- The route’s targeting strategy decides which target should handle this particular request — for example, splitting traffic by weight, or checking the visitor’s country.
- The visitor is sent to that target’s URL.
- If no target matches, the route’s fallback either returns an error or resolves to a default target.
- The request is counted toward that domain’s, route’s, and target’s metrics.
Because the targeting strategy runs on every request, changing it — or a target’s weight, or whether a target is enabled — takes effect immediately, without publishing anything or waiting for a deploy. That’s what makes a route useful for gradually shifting traffic to a new destination or rolling back a change: you’re editing the same route the whole time, not swapping links.
For how these pieces relate to each other and to your organization, see Resource Hierarchy.

