Skip to main content

Funnel and traffic distribution

When a visitor clicks an ad link and lands on a campaign entry point, Qubix decides what to show them. The decision goes through three stages in a strict order: cloaking → rules → targets. Understanding this order is the key to configuring a campaign.

The «Funnel» item of the campaign «Settings» — rules and targets

Processing order​

  1. Cloaking. First the cloaking filters trigger (geo, OS, device, User-Agent, IP, required parameters). A visitor who does not pass is sent to the whitepage and goes no further.
  2. Rules. Those who pass are checked against the rules top to bottom. The first matching rule wins; a rule without conditions matches everyone who reached it.
  3. Targets. Within the winning rule the traffic is split between targets by their weights — randomly, proportionally to the weight.

Rules​

A rule is a pair "conditions + targets". A visitor passes a rule if they matched its conditions; then the targets of this rule trigger.

The conditions stand on two sides:

  • Allowed list — the visitor must fall into every non-empty filter. An empty filter = there is no check by this parameter.
  • Blocked list — a visitor who matched any filter of this side is rejected by the rule.

You can filter by:

  • Entry point — the entry point the visitor came by: one or several of the campaign's Entry points, see A landing per entry point;
  • Lang — the browser language;
  • Geo — the country;
  • City;
  • OS — Android, iOS, Windows, macOS, Linux;
  • Device — Mobile, Tablet, Desktop;
  • User-Agent — a regular expression over the User-Agent;
  • URL — a regular expression over the path and the parameters of the address, without the domain;
  • Referer — where the visitor came from;
  • GET-param — a parameter of the link and its check: equals — the value equals the one given, letter case included; numeric — digits only; string — the parameter is present with any value, an empty one too; regex — the value matches the expression. When the parameter is repeated in the link, it is enough for any one of its values to fit; on the Blocked list side one fitting value rejects the visitor.

The rules are iterated top to bottom, so the order matters: put narrower rules higher, more general ones lower. The arrows in the rule header change the order.

Attention

The first matching rule wins — the rest are not checked. If a more general rule that also matches sits above the one you need, the traffic will not reach the one you need.

A landing per entry point​

All the entry points of a campaign share its rules. The Entry point condition ties a rule to some of them, so one campaign covers every way you want a domain to work: one domain always shows one landing, another domain splits visitors between several landings, and one rule serves several domains and folders at once. The campaign stays one — with its traffic sources, cloaking and conversion sending.

How Qubix knows the entry point of a visit. It is the entry point the campaign caught the visit by: the domain of the address and the longest of the campaign's folders the path starts with. With the entry points brand-c.com and brand-c.com/promo, a visit to brand-c.com/promo/spring came by brand-c.com/promo, and a visit to brand-c.com/about came by brand-c.com. Only the address decides, so the condition needs nothing in the link: it holds for a visitor who typed the address, opened a bookmark or came without click marks. The URL condition reads only the path and the parameters of the address — to tell domains apart, use Entry point.

The three cases below build one funnel for a campaign with five entry points: brand-a.com, brand-b.com, brand-c.com, brand-c.com/promo and brand-d.com.

One domain — always one landing​

  1. Open the campaign's Funnel and click + Add rule. The new rule stands above the rule without conditions.
  2. On the Allowed list side, click + Entry point and tick brand-a.com.
  3. In the rule's Traffic distribution block, pick Landing and the site «Landing A». A single target takes 100% of the rule's traffic.

Every visitor of brand-a.com who passed cloaking sees «Landing A». If the landing has nothing to show — for example, its site was deleted — the visitor goes on to the next rule that matches him, usually the rule without conditions.

One domain — a split​

  1. Add one more rule and tick brand-b.com in its Entry point.
  2. Pick two targets — «Landing A» and «Landing B» — and click Balance weights: 50 / 50.

Visitors of brand-b.com are shared between the two landings by the weights; the results of the split are compared on the campaign card's tabs.

One rule — several domains and folders​

  1. Add a rule and tick two entry points in its Entry point: brand-c.com/promo and brand-d.com.
  2. Pick the target «Promo landing».

Visitors of brand-d.com and of the /promo folder of brand-c.com see «Promo landing»; the rest of brand-c.com is not touched by this rule.

The rule without conditions stays last​

The campaign is saved only with a rule without conditions. In this funnel it serves brand-c.com outside /promo, every entry point you add later and no rule names yet, and the visitors whose rule has nothing to show. The funnel of the example:

RuleEntry pointTargets
1brand-a.com«Landing A» 100%
2brand-b.com«Landing A» 50%, «Landing B» 50%
3brand-c.com/promo, brand-d.com«Promo landing» 100%
4— (no conditions)«Landing A» 100%

Together with other conditions​

Entry point works like any other condition of the rule: on the Allowed list side the visitor must match it together with the rule's other conditions — brand-b.com with Geo DE splits only the visitors from Germany on brand-b.com. On the Blocked list side the rule runs for every entry point except the ones ticked there. The order of the rules stays the same: the first matching rule wins.

Cloaking and visitors without parameters​

Cloaking runs before the rules and is one for the whole campaign: its filters and its whitepage are the same on every entry point, and a visitor it cuts off sees the whitepage on any domain. Entry point decides only what the visitors who passed see. A visitor without the link's parameters gets the whitepage when the campaign's cloaking is on and requires parameters, as before; with cloaking off, or without required parameters, he goes through the rules and sees the landing of the entry point he came by. On an entry point that several campaigns share, a visitor without click marks is handled by the rules of One landing, several sources.

Returning visitors​

With Lock split variant per visitor on, a returning visitor keeps the variant he got — on an entry point whose rule takes it. The visitor who saw «Promo landing» on brand-c.com/promo and then opens brand-c.com gets there what rule 4 gives, not «Promo landing»: the rule of his variant does not take this entry point, and the variant is drawn anew. The other way round, a visitor who got «Landing A» from rule 4 on brand-c.com and then opens brand-c.com/promo sees «Promo landing»: rule 3 names this entry point and stands above the rule of his variant. On different domains the variants are kept apart anyway: each domain has its own.

Which entry points the list offers​

The list offers the entries of the Entry points block as you edit it, before saving. On the host of a website hosted elsewhere it offers only the entry points with a path: the host itself shows the website's own pages, the campaign only takes the visits its code reports, and no rule runs there. A path on that host — /demo, for example — your server forwards to Qubix, and the rule that names it sends the visitor on: such a path is served only by URL redirect or Offer redirect, and with any other target Qubix shows nothing there.

Saving​

The campaign is not saved while a rule names an entry point the campaign does not have. Say you removed brand-d.com from the Entry points block and kept rule 3 as it was: the refusal at the top of the editor reads «Rule 3: brand-d.com is not an entry point of this campaign. Choose one of its entry points in the condition or remove the condition.» Remove brand-d.com from the rule, or bring the entry point back, and save. The assistant gets the same refusal when it saves the campaign. Rules taken from another campaign with Take settings from campaign... keep that campaign's entry points in their conditions — replace them with this campaign's before saving.

Targets and weights​

A target is where the visitor is sent. The options are:

  • PWA + offer — show a PWA with an attached offer;
  • Prelanding + PWA + offer — first a prelanding, then a PWA with an offer;
  • Landing — show your landing: any landing page of the Landing pages section except a Whitepage-type one. The row's offer is optional (see below); how to host a landing page this way — Hosting a landing page in Qubix;
  • Whitepage — serve a whitepage as the final page;
  • Offer redirect — redirect to the offer link;
  • URL redirect — redirect to an arbitrary address.

In the editor, the targets of a rule are its Traffic distribution block. Every field of a target row has a caption above it. The first caption, Destination, stands over the list of the target types above; next to it are the fields of the chosen type — Prelanding, PWA, Landing, Whitepage, Offer — and at the end of the row Weight, the share of the rule's traffic in percent. If a rule has one target — all the traffic goes to it (weight 100%). If there are several targets — each has its own weight in percent, and the traffic is split between them proportionally (for example, 70 / 30). The weights add up to 100%: the bar under the targets and the sum line next to it show the split, and the Balance weights button gives the targets equal shares in whole percent (50 / 50, 34 / 33 / 33), whatever their weights were. + Target on a rule with one target splits it 50 / 50; on a rule with several targets the new one gets weight 0, and the split you set stays as it was.

Tip

Weights are handy for an A/B split: send 50 / 50 to two PWAs or two offers and compare the result on the card's tabs.

The offer of a landing row​

A Landing row has the landing, an offer and the weight. The offer is optional: the first item of its list is No offer. A picked offer is given to the landing's code by sdk.getOffer(), so the landing's button can lead to it with the click's tags. How to set the button up — A landing button that leads to the offer.

A rule for all traffic​

A rule without conditions catches all the traffic that reached it; the editor marks it catches all traffic. Keep such a rule last: then it is the backup route for the visitors that matched no rule above, and no click is left without a destination. A new rule is added above it.

Attention

If a rule without conditions is not the last one, the rules below it never trigger — the editor marks them as unreachable.

Cloaking​

Cloaking is a gatekeeper filter that runs before the rules. While it is off, all visitors go straight to the rules. When it is on, you can use:

  • Required link parameters — a visitor whose link lacks them or carries an unsuitable value sees the whitepage. Each parameter has its check: numeric — digits only, string — any non-empty value, regex — the value must match the expression. The «+» button under the list adds a parameter: the menu offers ready ones with their checks and your own one.
  • Let through only (geo, cities, OS, devices, User-Agent by regular expression) — we let through only matches; an empty list = there is no filter by this parameter.
  • Keep out (geo, cities, OS, devices, User-Agent by regular expression) — we block matches.
  • Block networks — blocking known hosting providers, scanners and bot networks by IP ranges.
  • Block datacenter — blocking datacenter IPs.
  • Block anonymous (VPN/Tor) — blocking VPN, Tor and anonymous proxies.
  • Whitepage for unknown pixel — a visitor with a pixel that is not in your list of pixels (no token is saved for it) sees the whitepage: conversions for such a pixel would not reach Facebook anyway.
  • Whitepage — the page a cut-off visitor sees (usually a neutral page for moderators). If no whitepage is selected, the server returns HTTP 200 with an empty body.

The whitepage and landings/prelandings are chosen from your landing pages — read more Landing pages.

What's next​