Uploading a landing page
A landing page is uploaded as a single archive — in full, with all its files. Two formats are supported: ZIP (a ready-made set of landing page files) and HAR (a recording of the page's network traffic from the browser developer tools). After uploading, the landing page appears in the list right away, and you can open and edit it.
In a ZIP archive, the file index.html (exactly so, in lowercase) must lie in the root or directly in the landing page folder when the archive holds just that folder — so you can compress either the landing page files themselves or the whole folder with them. A HAR file must carry the response bodies and at least one HTML page with a successful response. Otherwise the upload is refused, and the reason is named.
Service files that macOS and Windows add to archives — for example, the __MACOSX folder and .DS_Store — are not uploaded with the landing page.
How to upload a landing page
- Open the Landing pages section.
- Click + Upload ZIP / HAR or just drag a
.zipor.harfile onto any spot on the page. - Wait for the upload to finish. A progress panel for each file is shown in the top-right corner.
- If you uploaded a single archive and the server returned no warnings, the landing page card opens automatically. If several, all the landing pages appear in the list — open a card by clicking it.
An uploaded landing page gets the file name without the extension and the Landing type; you can change the type in the card — see the "How to change a landing page's type" section below. A new landing page has the Track events switch on right away: Qubix itself adds the tracking code for visits, clicks, and forms to its pages. More — Your landing's statistics.
You can drag or select several archives at once — they upload one after another, and the panel on the right shows the progress and result for each (done / error).
The upload size is limited by the Whole landing page upload server setting on the Anti-abuse tab of the Qubix settings window. The whole request counts, not the archive itself: the archive travels inside it encoded as text and takes up about a third more than on disk. The web server in front of the panel has its own request size ceiling too. The server won't accept an archive that is too large — remove the unnecessary parts from it (heavy videos, duplicates) and try again.
Before anything is unpacked, the archive is also checked against the limits of the Landing page archive group on the same tab — how many files and folders it lists, how large its ZIP central directory is and how much it takes once unpacked. Past any of them the archive is not uploaded, and the refusal names the limit.
Only files with the .zip and .har extensions are uploaded. A file of another format shows up in the upload panel as a row with the unsupported file type — only .zip or .har error and isn't uploaded.
How to download a landing page from a link
Instead of an archive you can give the address of a page: the server opens it in its built-in browser and saves what the page loaded as a new landing page.
- Open the Landing pages section and click + Download from a link.
- Enter the Page address — it starts with
http://orhttps://. The name is optional: without it the landing page is named after the page's host. - Choose the Type, the Device (Android phone, iPhone or Computer) and the Page language — the page is asked for as that device in that language.
- Click Download the page. The download appears in the panel in the top-right corner: while it waits its turn the row says how many downloads are ahead, then downloading. Downloads run on the server one at a time; you can leave the page, and the landing page appears in the list when the download ends.
The server waits for the page to load, scrolls it to the end so that what loads on scroll loads too, and saves the page with the styles, scripts, images, fonts, sound and video it loaded. What did not load is listed under the row in the panel, each with its reason: the response code, a network error, the browser's CORS rules, a content type a landing page does not keep, the time limit, the size limit, an address in an internal network, a WebSocket connection.
Addresses in the page's markup and styles are replaced with paths inside the copy. So links to other pages and to other sites, the offer included, stop working, and some scripts and counters break. Fix this in the landing page's files — see "How to edit the files" below — or ask the AI Assistant of the window.
The page is opened the way chosen in How the server reaches the internet on the Outbound requests tab, so it is seen from the address through which the server reaches the internet. Addresses of internal networks and of the server itself are not downloaded — the page and each of its resources alike; through Tor the server does not resolve names itself, so there it recognises such an address only when it is written in digits. The page and all its resources together are held to the Whole landing page upload limit, and the download to Time limit for downloading a landing page from a link, both on the Anti-abuse tab.
Download a landing page again
A landing page downloaded from a link has Download again in the ⋮ menu of its card. The page is downloaded again from the same address, as the same device and in the same language: the files that changed on the page become new versions, new ones are added, and nothing is deleted. Your own edits to those files are replaced too — the earlier versions stay in the file history.
How to edit the files
After uploading, open the landing page card and go to the Files tab.
- In the tree on the left, select a file — it opens in the editor on the right.
- Make your edits. Text files (HTML, CSS, JS, etc.) are edited in a code editor with highlighting.
- Click Save or Cmd+S (on Windows — Ctrl+S) to save.
A saved edit reaches visitors at once: the landing page's folder gets a new version, and the next visitor's page loads the new files — there is no cache to clear. More — How the landing page's files reach visitors.
A breakdown of all the card's tabs and capabilities — in the Landing pages section.
Add files to an existing landing page
Drag files from your computer right onto the Files tab — they will be added to the landing page. The new file's path will equal its name.
If an uploaded file matches an existing one by name, the old file isn't lost — a new version is saved over it. The previous versions remain in the file history.
Version history of a file
Every save of a file, every upload over it and its deletion keep the previous state as a version. To see them, open the file and click History in its header — the versions replace the editor.
- On the left — the versions, newest first: the number, the time, who saved it and the size; earlier ones open with Show earlier. The current one is marked current; a deletion of the file is marked deleted and has no content.
- Click a version to see its content. For a text file, the Compare with the editor switch shows what differs from the text in the editor, unsaved edits included.
- Restore this version brings the chosen version back: its content becomes the newest version of the file, and the current one stays in the history — a restore can itself be undone the same way. Unsaved edits in the editor are lost; the confirmation says so.
Anyone who can open the landing page sees its history; restoring needs the right to edit landing pages.
Move a file to another folder
Drag a file in the tree onto the folder you need. To move a file to the landing page root, drag it onto an empty spot in the file list.
How to change a landing page's type
A landing page's type (Whitepage, Prelanding, or Landing) is set in the card, on its Settings item, in the Type field.
- Open the landing page card and click Settings at the top of its sidebar.
- In the Type field, pick the type you need from the list. The change applies immediately.
The tracking code is never added to a landing page of the Whitepage type. When such a landing page is changed to a landing or a prelanding, its Track events switch turns on by itself; changing a landing page to Whitepage doesn't touch the switch.
Only a user with the landing page management permission can change the type. Without it, the type is shown as a read-only label. More — Landing pages.