Links with Rules
This page was translated automatically and has not been reviewed yet.
Why it’s needed
Section titled “Why it’s needed”When a single PWA receives traffic from multiple countries or platforms, and the offers for them are different, there’s no need to create a separate campaign for each. The Main URL accepts everyone, while additional links capture visitors who match their conditions: country, platform, or “all except these countries”. Multiple links with the same conditions split traffic among themselves by weight.
How to access
Section titled “How to access”Menu → PWAs → Campaigns → Create Campaign (or Edit in the campaign row) → Several links with rules toggle.

-
Fill in the Main URL — it will be received by everyone for whom no additional link was suitable.
-
Enable Several links with rules. The Main link weight field and the first additional link card will appear.
-
In the card, paste the Campaign URL — the offer address with macros (either
{uniq_id}or{install_id}is mandatory). -
Set the conditions — any, together or separately:
- Countries — the link is active only for selected countries (search by name, multiple can be chosen). Empty — all countries.
- Except countries — the link is active for all countries except the selected ones. The field is visible only when no countries have been selected.
- Platforms — Android, iOS, Desktop. Nothing selected — all platforms.
-
Weight — from 1 to 100. It matters only when several links of the same level are suitable for the same visitor (see below).
-
Add link — the next card. The trash can icon removes an unnecessary one (when there is more than one card).
-
Save. For the rules to take effect in an already published PWA, publish it again.
Which link will the visitor receive
Section titled “Which link will the visitor receive”A link is suitable if the visitor’s country and platform match. Among those that matched:
- First — a link specifically for their country (with selected Countries).
- If there are none, then a link with platform conditions or country exceptions.
- The main link without conditions only receives those for whom no other link was suitable.
Traffic is split proportionally by weights among links of the same level: two links for Poland with weights 70 and 30 will receive approximately 70% and 30% of Polish traffic. The Main link weight works the same way, but only when there are other links without any conditions: then traffic is split between them.
Screen elements
Section titled “Screen elements”| Element | What it does | When needed |
|---|---|---|
| Several links with rules | Enables additional links | Different offers for countries or platforms, traffic splitting |
| Main link weight | Share of the main URL among links without conditions | When there are other links without conditions |
| Campaign URL | Offer address for this link | Always |
| Countries | Link only for selected countries | Offer for a specific geo |
| Except countries | Link for all except selected countries | Filter out geo that goes to the main link |
| Platforms | Android / iOS / Desktop | Separate offer for a platform |
| Weight | Share among links of the same level | Traffic splitting between offers |
| Add link | New card | Another condition or another offer |
What can go wrong
Section titled “What can go wrong”| Symptom | Cause | What to do |
|---|---|---|
| “Exceptions only make sense for a link without countries” | Countries and “Except countries” are selected simultaneously in the card | Leave only one |
| “Weight is a whole number from 1 to 100” | Empty field or number out of range | Enter an integer from 1 to 100 |
| Country traffic goes to the wrong link | There is a link for the country with Countries — it takes precedence over platform rules | Restrict Platforms in the card with the country or add a separate “country + platform” card |
| Changes are not active on the domain | PWA was not published again after saving | Publish the PWA again |
| A user who has already opened the app goes to the old offer | After the first launch from the icon, the offer address is remembered on the device | New rules apply to new users |
