Setting of a landing page

Setting of a landing page

First, unpack the file and find “index.html”. In “index.html” find the following string:

var set_marker = '11501';

replace “11501” with your affiliate marker.

Set_cookies is a systemic parameter and does not affect the landing; it does not need to change.

Please note that this marker is automatically inserted not just into the search form code but into all widgets placed on a landing page. That is why you should replace it, even if you want to place your own search form.

Create a search form in your affiliate's account. Clear the tick box “Short code” and copy the search form handle-code:

Insert this code into the string:

var set_handle = "96070048c84676bf2e585f9f912b3ed7";

After that, a landing page may be hosted; it is completely functional. However, these are not the only settings. You may set up so that the search results open on your website’s subdomain.

How to set the origin and destination city to the search form

Open the full code of the search form:


Copy the part marked on the image:


Open the js / app.js file in the landing page source and find the set form settings block there. It is necessary to place the copied code in it, like this:


The White Label setting for a landing page

To set the White Label for a landing page, you will need to first create and set up the White Label.

Next, open the search form code (that was placed or will be placed on your landing page) in affiliate’s account and select the URLs of White Label in these fields:

  • Flights. Domain - for flights result;
  • Hotels. Domain - for hotels result.

Uncheck the checkbox "Short code" and copy the code "search_host": "YourWhiteLabelName/flights", to be placed on the landing page of the flight search and the field "hotels_host": "YourWhiteLabelName/hotels", to be placed on the landing page of the hotels search.

Open the file "js/app.js", find the search form code, and place the copied data into the line:

The White Label shall be opened upon clicking on the widgets as well if you find the widgets’ code (they are marked with the inserts <!-- add widget -->) in “js/app.js”. Specify your White Label address in the parameters “host” and "searchUrl".

How to change logo on the landing page

In the code of index.html find this part:

2017-04-12 12.55.49.ubvse.png

and replace

<svg class = "icon-logo">
<use xlink: href = "# logo" />

on your logo code: 

<img src="HerePasteLinkToYourLogo">


For statistics tracking of the clickthroughs to the landing pages, use the "Sales report". This will also prove to be useful as an additional marker (sub id).

Was this article helpful?

Have more questions? Submit a request