Hosting a landing page in Qubix
A landing page uploaded to the लैंडिंग पेज section — a landing, a prelanding or a whitepage — is shown to visitors through a tracker campaign: the campaign's Landing target serves the landing page at the campaign's entry point. An entry point is a domain and a path, so the landing page can open on the main page of the domain, in a folder or in a subfolder. Qubix serves the page itself and counts it, and with इवेंट ट्रैक करें on it adds the tracking code to the page — nothing has to be added to the landing page's files.
What you need first:
- the landing page is uploaded — see Uploading a landing page;
- a domain is connected to Qubix and active — see Domains;
- there is a traffic source for the platform you buy traffic on — see Creating a source.
How to show the landing page
- Open the कैंपेन section and click + New in the window's title bar (on an empty list — + नया कैंपेन).
- Enter the name in the कैंपेन का नाम field and choose the Traffic sources — the platforms you buy traffic on. Without a source the campaign is not saved.
- In the फ़नल block, click + नियम जोड़ें. A rule without conditions catches all of the campaign's traffic.
- In the rule's target, choose the Landing type, and in the लैंडिंग चुनें… list pick your landing page: the list holds every landing page of the section except the Whitepage-type ones. Next to it, pick an offer for the landing page's button, or keep No offer — see The offer of a landing row.
- In the एंट्री पॉइंट block, click + एंट्री पॉइंट, pick the domain and enter the path: leave it empty for the main page of the domain,
/promofor a folder,/promo/enfor a subfolder. - Click सहेजें.
The landing page now opens at the entry point. Under the entry point the campaign shows a ready ad link — copy it into the ad. More — Campaign link and parameters.
Where the landing page opens
The entry point decides the address:
- an empty path — the main page of the domain, for example
https://example.com/; /promo— a folder:https://example.com/promoand every address under it, such as/promo/x, but not/promo2;/promo/en— a subfolder.
If the paths of two campaigns overlap on one domain, the visitor goes to the campaign with the longer path. At the entry point and at every address under it, Qubix serves the landing page's main page index.html; a landing page handler can answer an address of its own. The landing page's other pages, styles and images load from the landing page's own folder /_w/… on the same domain — see How the landing page's files reach visitors.
How the landing page's files reach visitors
When Qubix serves the landing, it gives the page the address of the landing page's folder on the same domain — /_w/…/v…/, with the landing page's version in it. The page's styles, scripts, pictures and fonts load from that folder, and from there they are kept close to the visitor:
- on your server. After the first visitor has asked for a file, the server's web server keeps it and gives it to everyone after that by itself. Qubix itself decides only which page each visitor gets — the cloak, the split, the visit — and does not spend its work on files;
- in the visitor's browser. The browser keeps the files for a year: a returning visitor opens the landing without downloading its styles and pictures again;
- in Cloudflare. On a domain connected through Cloudflare, Cloudflare keeps the styles, scripts, pictures and fonts on its servers near the visitor.
Every change of the landing page gives the folder a new version: a new archive, a file edited, added, moved or deleted, an earlier file version restored, a landing page downloaded again from its link, a landing page handler added, saved, switched on or off or deleted. The next visitor's page names the new folder, and visitors get the new files at once — there is nothing to clear in the server's cache, in Cloudflare or in browsers. A page opened before the change keeps working: its files come from the previous folder while the server still keeps them, and from the new one after that. Saving the landing page's settings or a new thumbnail leaves the folder as it is.
Two landings on one domain — the variants of a split or the landings of two campaigns — load their files each from its own folder and never mix.
For all of this to work, write the addresses of the landing page's own files relative to the page — css/style.css, img/hero.webp, js/app.js — in HTML, in styles and in scripts. An address from the root of the domain (/css/style.css) or the full address of a domain leads past the landing page's folder. When index.html holds addresses from the root, the upload warns about it.
A landing page is shown only through a campaign
A landing page from the लैंडिंग पेज section is not published by itself: visitors see it through a campaign of its domain. A landing page that a campaign of this domain uses as its Whitepage, and the prelanding of a PWA bound to the domain, are open to anyone.
This concerns the pages of the landing page. Its styles, scripts, pictures and fonts are kept by the server and by Cloudflare at the exact address with the landing page's version — see How the landing page's files reach visitors: once a visitor of the campaign has loaded such a file, the same exact address opens it for anyone who asks it, while a file nobody has loaded yet opens only through the campaign.
To look at the landing page without a campaign, use the पूर्वावलोकन tab of the landing page card — see Landing pages.
What is counted
Every time Qubix serves the page from a campaign link, it counts a page view. With the इवेंट ट्रैक करें switch on, it adds the tracking code to the page at the moment it serves it, and the visitor's browser reports the visit, clicks, forms and the move to the offer. The switch is on for a newly uploaded landing page; the code is never added to a Whitepage-type landing page. What exactly is counted and where to see the numbers — Your landing's statistics.
Several sources on one page
One page can take traffic from several platforms. Choose all their sources in the campaign's Traffic sources field: which source a visit came by is decided by the click, and while the campaign is alone on its entry point, a visitor who came without click marks stays with it, without a source. You can also put a campaign for each platform on the same entry point — one with a Facebook source, one with a Google source, and so on — each with the Landing target and the same landing page: an entry point holds one campaign per ad platform. Then the click decides which campaign a visit belongs to, and a visitor who came without click marks sees the page but belongs to no campaign. How it works — One landing, several sources.