In order to add the widget on the hotel website place the following script in the Head block:
<script id="hoteza-widget" src="<https://widget.hoteza.app/widget.js>" data-hotel="domain" defer></script>
Where instead of “domain” insert the third-level domain of the hotel Web app.
By default a circle button with a standard icon will appear. In order to customize the button and the Web app visual display the floowing data-variables can be added to the script:
Valid options:
// [text | text-icon | circle] - default: circle
data-type,
// border-radius; default: 30
data-radius
// icon in base64, default: "assets/icon.png"
data-icon,
// key for translate; default: orderServicesOnline
data-text-key,
// language; default: ru
data-lang,
// which hotel to open in frame. Default: demo
data-hotel,
// To open a certain page of the app
data-uri,
// button and text color
data-bg-color, default: #000
data-text-color, default: #fff