Skip to main content

The path of a visitor and a conversion

Advertising learns from conversions: the more precisely an ad platform hears about registrations and deposits, the better it finds buyers. This article shows the whole path — from a click on an ad to the conversion being sent on — and where to check each step. Every screen has its own article, linked below.

What it all rests on​

Three things tie a conversion to the advertising.

  • The visitor. The Qubix code keeps a visitor identifier in the browser — every event of this person carries it.
  • The click. A visit from an ad carries marks from the page address, above all the ad number (ad_id).
  • The tracker campaign. A visit belongs to the campaign whose entry point — domain and path — covers the page address. When several campaigns share one entry point, the click picks one — see One landing, several sources.

A conversion finds its visitor, and through the visitor — the click, campaign, ad and the campaign's traffic source. A conversion without a visitor identifier is tied to nothing.

How Qubix learns about visits​

Site hosted in QubixSite hosted elsewhere
Tracking codeQubix inserts it itself when it serves the pageyou add it from the Connect the landing page block of the website card — Script from the Qubix domain or Through your nginx
SwitchTrack events is on from the start (except a site of the Whitepage type)Track events
MoreA hosted site counts itselfConnecting a landing page hosted elsewhere

Visits are counted with no calls from you; the tracking code reports them from the browser. On a site hosted in Qubix the server decides which page opens a visit: a page opened through the entry point of a campaign opens one, further pages of the same site continue it, and an opening by the site's own address outside a campaign is not counted as a visit. On a site hosted elsewhere the code itself counts a visit when a page is opened not from another page of the same site; further pages continue it. Clicks and forms are counted on the pages of a visit. The numbers are on the Page, On-page clicks and Forms items of the website card.

Steps of your own — "passed the quiz", "scrolled down to the form" — the page marks with a call such as sdk.sendEvent('quiz_step'). The step is tied to the visitor and the click, but the standard reports do not show it: the AI assistant builds its numbers when asked in words — see Your landing's statistics.

How Qubix learns about a conversion​

Qubix accepts a registration, a deposit and a rejection in four ways and handles them alike: it finds the visitor, drops repeats, checks the deposit threshold and sends the conversion on.

Where the conversion happensWho tells QubixWhat to do
at the affiliate networkthe network — with a postbackcopy the address from the Postback address block of the network card (the Postbacks item) into the postback settings of the network's panel — see Connecting a network
on your landing page, which has its own serverthe landing page server — with a request to the postback addressthe address is in the card of a domain with the Postback role, block Postback URL; the server gets the visitor identifier from the page — see If your landing page has its own backend
on your landing page, with no server of its ownthe page — with a code callsdk.sendEvent('reg') or sdk.sendEvent('dep', …) at the place in the landing page code where the registration or payment went through — see Report a registration or a deposit
on a landing page hosted in Qubix, with a server handlerthe handler — with a callQubix.conversion('reg') — see Landing page backend

The postback address with the code — in the domain card and in the network card alike — is shown only to those who see all domains.

An app install is reported by the PWA storefront itself or by the network with a postback.

The network learns the visitor identifier from the offer link and returns it in the postback.

  • When Qubix builds the offer link itself — on a page it serves and on a jump by the campaign link — it appends the Offer params field of the network card, for example sub1={click_id}. A button on a landing hosted in Qubix gets such a link from the Qubix code — see A landing button that leads to the offer.
  • On a site hosted elsewhere the Offer params are not appended: the button builds the offer link itself and puts the visitor identifier, sdk.getPiuid(), into the network's parameter. Read the identifier at the moment of the click, not when the page loads: on a site connected with the script from a Qubix domain it appears once Qubix has answered the page's first event, and stays empty while both Track events and Record sessions are off for the sites of that domain.

What Qubix understands on its own:

  • reg — a registration, dep — a deposit, installed — an app install, trash — a rejection. A network's statuses (lead, sale, rejected and others) Qubix assigns to a registration, a deposit or a rejection by itself.
  • A deposit not above the threshold (2 USD by default) is recorded, but it goes neither into reports nor out.
  • Repeats are not counted:
    • the same conversion of the same visitor with the same deal number arriving again within four days;
    • without a deal number — the same status of the same visitor with the same amount within 60 minutes; the window is set in the protection settings and starts anew after the server restarts;
    • a second registration of the same visitor if the first one had a deal number.
  • An event of your own — not a registration, deposit, install or rejection:
    • the page records it as a step under its name (see above);
    • it goes to the ad platform only if its name is in the source's event map; your own name cannot be added to the Facebook map in the source form — only through the AI assistant or the API;
    • from a network, an event of your own is recorded under its name only at the postback address with the code and only if the event map of the campaign's source names it; any other unknown status at that address is not counted;
    • a network's status value becomes an event of your own in lowercase: Latin letters, digits and underscores, starting with a letter, at most 64 characters; the name in the map is written the same way, in lowercase, and the names of Qubix's own events cannot become events of your own; the standard reports do not show events of your own.
  • The postback domain takes requests at other paths too — this is how you move from other trackers. Such a request is accepted only if one of its values is the identifier of a visitor Qubix already knows, and an unknown status there, even one the map names, counts as a deposit if the request carries an amount, otherwise as a registration.
  • A visit the network reports. When an ad leads straight to the network's own page — a Google ad to the network's site, where no tracker link may stand — the network tells Qubix of the visit with a postback with the status visit at the address with the code, with the network's own from mark from the Postbacks item of its card; Qubix takes visit as a visit for a network made from the Qubix template, unless the network's address names visit in its status lists. Qubix records the visit of that visitor with the ad (ad_id) and the click mark (gclid) the postback carries, in the campaign the Google campaign of the click (gad_campaignid) is bound to, or else the one campaign its ad belongs to (an ad of several campaigns leaves the visit without a campaign), and the visitor's next postbacks land on this visit. Each click the network numbers in tid is a visit of its own; a visitor who came through a Qubix link gets no second visit.

Where the conversion goes next​

Where to — is decided by the traffic source Qubix attributes the click to: usually the source the visit came by in its tracker campaign; where a platform's campaigns are attached to tracker campaigns — the attached campaign's source of that platform, and of several such sources the one the visit came by (see One landing, several sources). It is that source's template and settings that decide, not whose ads come through it. A source has two ways of sending a conversion on, and they do not depend on each other:

  • By the event map. If the source's template has an ad platform's event map, the source form shows it, and Qubix sends the conversion to that platform under the name the map pairs it with; an event without a pair is not sent. If the source is set to leave the sending to the platform's own tag on the site, Qubix sends nothing there.
  • By postback. The postback carries only Registration and Deposit, each to its own address and each switched on separately — in Conversions, in the card of the conversion, the row of the source in the Where it goes section; a row not given an address there yet shows the one the source already has, for example the one its template filled in. A person to whom the Conversions section is not open sets the same address and switch of each in the S2S postback block of the source card. Installs and events of your own are not sent by postback. A source on the own template of an ad platform that takes conversions by an event map has no postback address and never sends a postback. More — Parameter passing and postback.

A source can use both ways at once — some agency templates give both — or neither, and then the conversion is not sent on automatically.

A conversion with a pixel or a Facebook ad whose click belongs to no tracker campaign with a source does not go to Facebook. Their number for the period is the Not sent to Facebook: N label in the Facebook: no tracker campaign row of Sources.

Where to check each step​

StepWhere to look
the code on the site works, visits come inwebsite card → Page
ad visits land in the campaigntracker campaign card → Clicks
the conversion arrivedcampaign card → Regs and Deposits; Audience → the visitor card with the whole path
the network postback reached QubixAudience → Postbacks
the conversion went to Facebook (a source on the facebook template)the Facebook window → the Reconcile tab — the delivery strip above the table; Sources — the Not sent to Facebook: N label in the Facebook: no tracker campaign row

The Clicks, Regs and Deposits tabs of the campaign card show visits with an ad number in the address and conversions of such visits. A test visit opened by hand without an ad number is found in Audience and on the Page item of the website card. An administrator sees it; with limited access you see visits and events only of the ads of your campaigns.

What's next​