Traffic Routing Rules
Rinku supports rule-based traffic routing with up to 30 custom token parameters. Rules determine which offer or path a click is sent to, based on conditions you define.
How routing works​
Traffic flows through a Rotation, which contains Rules and Paths:
Rotation
├── Rule (conditions)
│ └── Path
│ └── Offer (with weight)
└── Path (no conditions = default)
└── Offer (with weight)
Rule evaluation​
- Rules are checked top to bottom by position
- All conditions in a rule must match (AND logic)
- The first matching rule stops evaluation — its path is used
- If no rule matches, traffic goes to the default path
Available conditions​
| Condition | Description |
|---|---|
| IP address | Exact match or CIDR block |
| Is bot? | IS / IS NOT a crawler |
| Country, City, Region | With autocomplete |
| Browser language | e.g. en, ru |
| 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} |
| Creative | {net_creative} |
| Network campaign | {net_campaign} |
| Token 1–30 | Any custom token value |
Weighted distribution​
Within a path, you can add multiple offers with weights:
| Offer | Weight | Share |
|---|---|---|
| Offer A | 70 | 70% |
| Offer B | 30 | 30% |
You can also set weights at the path level to split traffic between multiple paths.
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_os_name} | Operating system |
{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 |
Conversion Cap​
For each offer, you can set a Conversion Cap — a maximum number of conversions. When the limit is reached, traffic is automatically redirected to an Alternative Offer you specify.