Hotel widget

About widget

The hotel widget displays on your web page brief information about a specific hotel: 

  • the hotel
  • the number of stars
  • the strengths of the hotel in terms of other tourists
  • ratings of hotels.

This widget contains fields for entering the date of placement and departure from the hotel. If a visitor is interested in a hotel, he/she can check on the cost of renting a room in the hotel for specific dates. The price will be displayed in the widget.

Settings of widget

To configure the widget and get its code for posting on your website, go to the Hotellook affiliate program, select Tools and there is the Widgets section.

First, you can adjust the size of the widget:

mceclip0.png

To change the size, type the desired value in the Widget width. The widget can be adjusted to the size of the webpage, to do this, select the check box Responsive.

The next step - basic widget settings:

  • Project — select the Project where the widget will be placed
  • Your SubID — helps you understand statistics; for example, to find out how and what pages visitors went to on the widget (for details about the additional marker (SubID)
  • Hosts — a website to which users are redirected from the widget. When a user clicks "Show prices," they will be taken to this website. For example, you can specify the address of your White Label. However, if the user clicks on a specific offer, they will be redirected to the website of the selected agency.
  • Locale — the language of the widget. If you choose English, the search will be limited to English-speaking agencies
  • Currency — select the currency in which the price will be displayed
  • Hotel — the name of the hotel that will be displayed in the widget
  • Additional marker — helps you understand statistics; for example, to find out how and what pages visitors went to on the widget (for details about the additional marker)
  • Add my referral link — adds a link Powered by Travelpayouts under the search form. More details in the article Referral program
  • Width — specify the width (in px) of the widget on a web page. If the Responsive variant is chosen, the widget shall be automatically adjusted in accordance with the screen resolution of the user
  • Disable redirect to hotels – if it isn't selected, search results are opened on the Zenhotels agency website by default. If the checkbox is selected, users will be redirected to the chosen agency's website.

After all settings are made, copy the code from the block Copy code and place it on your site.

Example of widget