Embed booking field, calendar and offers

Add the booking field, availability calendar and offers to your own website with a code snippet, or link to your direct booking.

Topic: Website

What it is

If you have your own website, for example on WordPress or Wix, you can put a booking field, an availability calendar with prices or a list of your current offers on a page. You copy a short code for that. The page also has links and QR codes for your direct booking and the guest portal.

Where in the app

  • Website › Grow › Embed on your website

How to set it up

  1. Publish your website and switch direct bookings on. Until then the page shows only a notice.
  2. Open Website › Grow › Embed on your website. The page exists for websites with and without their own content.
  3. Under Applies to choose which accommodation the block is for, and under Language the language.
  4. Set the options of the block, for example Layout. The preview shows how guests see it.
  5. Under Code to paste click Copy code.
  6. Paste the code into your website builder where the block should appear, in an HTML or code block.
  7. Publish your own website and check the page once yourself.

Frequently asked questions

Which embeds are there?
BlockWhat guests seeSettings
Booking fieldpick dates, then continue to direct bookingstyle, from-price, preview width
Availability calendaravailability with nightly prices and the totalaccommodation, 1 or 2 months, offers
Offerscurrent gap offerscards, list or spotlight, count, heading

For all accommodations the calendar shows an overview table, for a single accommodation the month view. Two months exist only for a single accommodation. The nightly price excludes cleaning and fees. When no gap offer is available, the offers block stays empty.

Where do guests pay?

Never inside the embedded block. Clicking Buchen opens your direct booking in a new window. Guests see the real prices there and pay there.

How do the links and QR codes work?

Under Links and QR codes you copy the address of your direct booking, the address of each visible accommodation and the address of the guest portal. Each row has a QR code you can download as PNG. Print it at least 2 × 2 cm. These links do not count clicks. For campaigns with reporting use Create campaign links and QR codes.

Not showing up?

Open the line Not showing up? under the code and check in this order:

  • Nothing appears or the page shows only a notice: your website is not published yet, direct bookings are not live or no accommodation is visible. Without direct booking the blocks are missing entirely and the page links to the checklist.
  • Your website is offline: the preview is missing and embedded blocks stay hidden. Put it back online.
  • The preview does not load: publish your website again. A website published before embeds existed does not have them yet.
  • Your builder removes the script: the frame line still works, but the block keeps a fixed height and does not disappear by itself when there is nothing to show.
  • Your builder removes the frame too, or blocks it: link to your direct booking instead (see above).
  • The frame sits in a sandbox, or your browser blocks popups or ads: a click on Buchen cannot open a new window then. The block shows a plain link to the direct booking instead.
  • An ad blocker or cookie tool blocks the script or the frame: test in a window without extensions.
What does the script do?

It adjusts the block's height to its content and hides it when there is nothing to show, for example without a gap offer. It also passes markers of your page such as utm parameters on to the direct booking so you can find them in analytics. Without the script the block keeps a fixed height.

Which language do guests see?

With Automatic (visitor's language) the block picks the best language of your website for the visitor. If you fix a language, all guests see that one.

Do I need a privacy paragraph?

Under Privacy you find a paragraph in German and English to copy. Add it to your website's privacy policy if you embed the booking field, calendar or offers, because visitors load the content from the servers of your direct booking. If your website has its own domain, the sentence about the content delivery network is left out. Only the operator of Mein Gastreich changes the wording. It does not replace legal advice.

What is not offered?

Paying directly inside the embedded block is not offered. The preview shows the published website, so changes appear there only after publishing, and for guests shortly after.

Back to help