Integrate the booking system in your external site (Wordpress, Wix, Squarespace or any other)
All blocks (CMS) are ultimately based on HTML and CSS codes. We use HTML for integration. To integrate into your own website you have two options.
Option 1) Direct integration in website with HTML / iframe
If you want to seamlessly integrate the booking system into your website without sending the guest to an external website, use the HTML code (iframe) for integration within your Website. Check out the website of our Hawaii Volcano Vacations user and you will understand what the general consultation of the properties and the individual reservation looks like.
To integrate the booking system even better, you can change the opacity/transparency of the background at the bottom of the booking system page.
Please copy the code and paste it within the HTML of your external website. If you have had a Web Designer create your site, you might have to ask them to do this for you. Once you have decided where you would like to integrate the code, it will only take your designer a few moments to complete the task.
How to get the block of code
General Search iframe (ALL accommodations)
The default option will be ALL accommodations
Settings - Booking tool - Embed in Website - HTML code (iframe) to insert booking tool into external page
Code example: <div id="booking-tool-container-allApartments">
<script type="text/javascript" src="https://login.smoobu.com/js/Settings/BookingToolIframe.js"></script>
<script>BookingToolIframe.initialize({"url": "https://login.smoobu.com/en/booking-tool/iframe/12532", "baseUrl": "https://login.smoobu.com", "target": "#booking-tool-container-allApartments"})</script>
</div>
Individual Search iframe (single properties)
Settings - Booking tool - Embed in Website - Individual properties
Select the property, copy the html code and paste it within your website's code.
Code example: <div id="booking-tool-container-apartment66317">
<script type="text/javascript" src="https://login.smoobu.com/js/Settings/BookingToolIframe.js"></script>
<script>BookingToolIframe.initialize({"url": "https://login.smoobu.com/en/booking-tool/iframe/12532/66317", "baseUrl": "https://login.smoobu.com", "target": "#booking-tool-container-apartment66317"})</script>
</div>
Option 2) Link to the booking system via URL
This kind of integration is used when you'd like to send your guest to an external page. Use the link to the booking system and you can redirect your potential guests to another site for direct booking. Through a button, a photo or any element that you wish to link to your site for direct booking.
It can be used when creating a button on your page, for example a 'Book now' button and link it to Smoobu's booking tool.
The general code is for ALL accommodation combined. You might also be interested in using a link for individual units, which is also possible with Smoobu.
How to get the link(s)?
1) Link to General Search (all properties included). Settings - Booking tool - Embed in Website. Click on 'Preview' and copy the link from the URL. Example: https://booking.smoobu.com/berlinvillas
2) Link to Individual Search (single properties). Compose it as follows:
https://booking.smoobu.com/yourbookingenginename + ?apartmentId= + individualpropertyIDnumberhere
Example: https://booking.smoobu.com/berlinvillas?apartmentId=427153
https://booking.smoobu.com/berlinvillas?apartmentId=427153
Where to get the propertyID from? In Smoobu: Settings - For Developers
Thanks for reading! Please also remember to:
- Adjust your booking tool settings
- Enter your prices and minimum night restrictions
Comments
0 comments
Please sign in to leave a comment.