Traffic Routing Rules
Rinku supports rule-based traffic routing with up to 30 custom token parameters. Rules decide which route, and therefore which offer or lander, a click is sent to, based on conditions you define. All of this lives inside the campaign, so changing rules, routes, weights or offers never changes the campaign tracking URL you placed in the network.
How routing works
Every campaign has a Rotation (the Rotation settings block in the campaign form) with two parts: Rules, which hold conditions, and Routes, which hold landers and offers with weights.
Rotation
├── Rule (conditions)
│ └── Route (weight)
│ ├── Lander (weight)
│ └── Offer (weight)
└── Route (no conditions = default route)
├── Lander (weight)
└── Offer (weight)
Routes added outside of any rule are the default routes. Every click that matches no rule goes there.
Rule evaluation
- Rules are checked top to bottom. Change the order with the Priority arrows next to each rule.
- All conditions in a rule must match (AND logic).
- The first matching rule that has a usable offer or lander decides the route. If a matching rule has no usable target, evaluation continues with the next rule.
- If no rule matches, the click goes to the default routes.
If a click matches no rule and the rotation has no default route, the click has nowhere to go and gets an error page instead of an offer.
Because the first match wins, put narrow rules above broad ones. A rule for specific zones or for bots placed below a country rule only sees the clicks the country rule did not take.
Conditions
Each condition has an operation, IS or IS NOT, and one or more values.
- Several values in one condition work as OR:
Country IS Italy, Spain, Portugalmatches any of the three. - Different conditions inside one rule work as AND.
- Exact match (on by default) compares the whole value and is case-sensitive, so
italydoes not matchItaly. With Exact match off, case is ignored, but the whole value is still compared. - Partial matches (contains, starts with) and regular expressions are not supported.
- Include empty values makes the condition match when the value is missing, for example when the country could not be detected from the IP.
Values can be picked from the suggestions, which come from the clicks Rinku has already recorded, or typed and added with Enter. Picking from the suggestions is the safest way to match the stored value exactly.
Available conditions
| Condition | Description |
|---|---|
| IP address | Exact IP or CIDR block. Ranges written as start-end are not supported |
| Is bot? | IS / IS NOT a crawler. Checked when the click arrives, before the route is chosen |
| Country, City, Region | Stored in English, for example Italy |
| Browser language | Stored as the browser sends it, for example it or it-IT. To cover a language, list both forms in one condition |
| Browser | Chrome, Firefox, Safari, etc. |
| OS | Windows, Android, iOS, etc. |
| Device name | Specific device model |
| Device type | mobile, desktop, tablet |
| Publisher ID | {net_pid} |
| Network source | {net_source}, the zone. Use it to send specific zones to a separate offer |
| Creative | {net_creative} |
| Network campaign | {net_campaign} |
| Token 1–30 | Any custom token value |
Weighted distribution
Within a route, you can add multiple offers with weights:
| Offer | Weight | Share |
|---|---|---|
| Offer A | 70 | 70% |
| Offer B | 30 | 30% |
You can also add several routes to the same rule or to the default routes and give each route its own weight. Rinku first picks a route by its weight, then an offer or lander inside it.
The choice is random and proportional to the weights, so over a small number of clicks the actual split can differ noticeably from the one you set.
Landers and offers in the same route compete for the click by weight. A lander with weight 50 and an offer with weight 50 means half of the clicks go to the lander and half go straight to the offer.
Weight 0
Setting an offer's weight to 0 keeps it in the route without sending traffic to it, which you can use to pause an offer without deleting it. This works only when another offer in the same route has a weight above 0:
- If the offer is the only one in the route, it still receives all of the route's traffic.
- If every offer in the route has weight 0, all traffic goes to the first offer.
Comparing offers in a split
To compare offers, open Analytics and group by Offer, then compare them on profit and ROI, not only on conversion rate. Statistics per rule are not available; to evaluate a rule, group by the same parameter the rule uses, for example Country or Language.
URL placeholders
Use these placeholders in your Target URL or Postback URL — Rinku replaces them with real values on each click:
| Placeholder | Description |
|---|---|
{click_id} | Unique click identifier |
{geo_country} | Visitor country |
{geo_city} | Visitor city |
{geo_region} | Visitor region |
{hdr_language} | Browser language |
{hdr_browser} | Browser name |
{hdr_browser_version} | Browser version |
{hdr_os_name} | Operating system |
{hdr_os_version} | Operating system version |
{hdr_device_name} | Device model |
{hdr_device_type} | Device type |
{net_pid} | Publisher ID |
{net_source} | Network source |
{net_creative} | Creative ID |
{net_campaign} | Campaign ID |
{net_external_id} | External ID |
{token_1} … {token_30} | Custom tokens |
If a value is missing for a click, the placeholder is replaced with an empty string.
Conversion Cap
For each offer, you can set a Conversion Cap with a limit and an Alternative Offer. When the limit is reached, the clicks that would have gone to the offer go to the alternative offer instead.
| How it works | |
|---|---|
| Period | The cap is a total, not a daily limit. It does not reset automatically |
| Scope | Counted separately for each route the offer is in. The same offer in two routes has two counters |
| What counts | Counted conversions. If the offer has a target event, only that event counts |
| After the cap | The alternative offer takes the capped offer's weight. A 70/30 split between Offer A and Offer B becomes 70/30 between the alternative offer and Offer B |
| Alternative offer's own cap | Not checked at that moment |
| Delay | Conversions are counted as postbacks arrive, so a few clicks can still reach the capped offer while the last postbacks are on their way |
| Notifications | None. The current count is shown in the Conversion cap counter column of the route |