Versions Compared

Key

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

The Chain 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 Chain Engine button. Copy-pasting this script into your hotel chain’s website will place an orange Chain Engine button.

...

Info

View a demo in Codepen.

 

Extra options

There are also more advanced options available:

...

  • Promotion codes

  • Specific room or package button

Continue to …

Options

Options can be inserted in the form like

Code Block
languagehtml
<form method="post" action="https://scripts.hoteliers.com/api/v1/book-form" target="_blank" class="hoteliers-book-form">
    <input type="hidden" name="chain" value="{chain}">
    
    <!-- INSERT OPTIONS HERE -->
    
    <button type="submit" class="hoteliers-book-form__button">Book now</button>
</form>

Table of Contents

Language

Please see Language section for hotels.

Arrival and departure

Please see Arrival and departure section for hotels.

Google Analytics variables

Please see Google Analytics variables section for hotels.

Advanced usage

Hotel selector using HTML only

By default if you pass both an hotel and chain. The hotel will be prioritized.

...