An iframe is used to embed one webpage into another. For example, if you want to embed booking engine page into your website. This is a perfect solution for those, who want to use mybookings as their main booking engine but do not want to redirect their guests to external websites.
This article will show how to embed mybookings page into your website as an iframe.
If you want to use mybookings booking widget on your website instead, please check this article.
1. In myfrontdesk navigate to Manage > mybookings
2. Grab your mybookings URL
3. Add the
?widget=1 parameter at the end of URL for the minimal version of iframe (or skip this step and proceed to step 4 to embed the full mybookings page)
The normal mybookings page shows a lot of info, which can be a bit much when displayed in an iframe or integrated into a webpage. To streamline this, we created a minimal version of the booking engine, which can be accessed by adding the
This iframe strips the following elements:
- header (logo, property name, property photos)
- terms and conditions
To display the whole mybookings page inside iframe simply do not add
?widget=1 parameter to your URL
4. Insert the URL into iframe code provided below.
For minimal iframe:
For full iframe:
5. Copy the whole iframe code and paste it into your website
This step should be done by property or its website designer only. It can't be done by Cloudbeds Team
Mybookings uses SSL security to ensure that all data passed between our web servers and a guest's browser remains private and integral. For tips on how to ensure that SSL is properly implemented in an iframe solution, please consult our Cloudbeds Security Features and PCI DSS Certification article.
You may change the iframe size by
a) changing the
height parameters in the iframe code
<iframe src="https://YOUR-MYBOOKINGS-URL?widget=1" width="100" height="500" scrolling="no" class="iframe-class" frameborder="0" id="cloudbeds">
b) changing the size of container you insert iframe into
Yes, check this article to learn how: Customize mybookings - HTML and CSS Custom Meta Tags
How the language of mybookings in iframe is set by default?
The language of mybookings by default is defined by the website guest browser's settings (if you access mybookings from United States - it will be set to English > if you switch it manually to German, the next time you access mybookings it will be set to German).
Is it possible to change the default language displayed in the mybookings iframe?
Yes, you can add any of the supported languages 2 digit code in the URL to change the default language for the iframe:
Default <iframe src="https://hotels.cloudbeds.com/reservation/rRmoV78?widget=1" width="976" height="976"></iframe>
Spanish Version <iframe src="https://hotels.cloudbeds.com/es/reservation/rRmoV5?widget=1" width="976" height="976"></iframe>