Embed booking widgets in an existing website
You create booking widgets, release the domain of your existing website and paste the code there.
Contents
Before you start
- You have the Manage Booking Engine permission.
- Your hotel’s STRYK address is active: Set domain.
- The booking page is published or the widgets are activated, see Activate widgets.
Release website
In STRYKWebsiteWidgets
- Enter the address of your existing website under Website domain, for example www.hotel-nordlicht.at, and select Add. STRYK accepts only the domain with HTTPS, without a path. Widgets appear only on registered websites.
- Optional: switch off Separate booking page if guests should book only via the widgets. When switched on, there is a separate booking page next to the widgets that search engines can find.
Create widget
- Under Choose a widget, select the type, for example Booking body, Availability calendar, Book button or Table reservation.
- Enter the Name, for example “Booking home page”. Choose Language, Style (Hotel design or Neutral) and Your website background (Light or Dark).
- Check the Preview with Desktop and Mobile.
- Select Create widget. STRYK shows the code with Your widget is ready.
- Select Copy code and paste the code on your website where the widget should appear, for example as an HTML block. Save the page.
- Website domain
- Choose a widget
- Preview
- Copy code
Later changes to the widget are applied by the code automatically. Use More to edit a widget, show its code or delete it. A deleted widget disappears from all websites immediately.
Activate widgets
If STRYK shows Widgets work after the first publication, an action is available. If Separate booking page is off, select Activate widgets. Otherwise select Review publication and publish the booking page: Publish website. Afterwards STRYK reports Widgets are active.
How to check the result
- The widget appears in the list under Add the code to your website with the status Ready.
- The widget appears on your website as shown in the preview.
If something does not work
| What you see | Cause | How to fix it |
|---|---|---|
| “Enter a valid domain, for example www.hotel-nordlicht.at.” | The address has no dot, contains a placeholder or does not use HTTPS. | Enter a domain such as www.hotel-nordlicht.at. |
| Die STRYK-Adresse deines Hotels ist noch nicht aktiv | The domain of the STRYK website is not active. | Select Set up domain. |
| Unavailable on the widget | This type requires a published area, for example Restaurant or contact form. | Enable and publish the area on your STRYK website. |
| “No more than 100 widgets can be created.” | The widget limit has been reached. | Delete widgets you no longer need. |