Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Booking Engine is one of the many products of Hoteliers.com. This article covers the implementation of this product into hotel websites.

The script

The following script covers the basic implementation for the Booking Engine button. Copy-pasting this script into your hotel website will place an orange Booking Engine button.

Note

Make sure to replace {hotel} with your hotel ID and {language} with the correctlanguage code.

The CSS, the code between the <style> tags, is optional.

...

Info

View a demo in Codepen.

Linking to the Booking Engine

It’s also possible to create a link to the booking engine. An example of a valid link is

Code Block
https://scripts.hoteliers.com/api/v1/book-form/?lang={language}&hotel={hotel}&arrival={yyyy-mm-dd}&departure={yyyy-mm-dd}

Extra options

There are also more advanced options available:

  • Promotion codes

  • Specific room or package button

  • Date picker

  • Number of nights

  • Google Analytics

  • Multiple hotels

Continue to Extra options.