Use the Lodgify reservation system on an external website

To integrate the Lodgify reservation system in an external website through a Book Button or a Book now Box you can use the Lodgify booking widget.

  1. Go to Menu and select My Websites.
  2. Click Edit and Settings.
  3. Select the Widgets tab. In Widget Type, choose from the drop-down menu if you want to create a Book Button or a Book now Box. 💡 Note: If you have several properties you need to create a widget for each specific property or create a button on your external website which links to your All properties page.
    Book button

    Book now Box if you have rental types

    Book now box if you don't have rental types

  4. Select the property, language and currency you want to use in the widget and then Generate the embed code.
  5. Copy the JavaScript code onto your clipboard and paste it into your external website (usually into some type of Raw HTML Widget).

💡 Note: If you want to use the booking widget on your WIX website you need to make some changes to the embed code before implementing the code into the HTML widget.

Standard embed code from Lodgify
Changes needed for WIX
<script type="text/javascript" async="async" class="embed-ldgfy-script-loader embed-ldgfy-book-script-loader" src="//static.lodgify.com/themes/shared/v3/assets/latest/embed-ldgfy-book.min.js" data-website-id="136710" data-website-slug="helloberlin" data-domain="lodgify.com" data-protocol="https" data-property-id="166013" data-culture="en" data-culture-iso="en-US" data-currency="EUR" data-token="QFUKS2e8hURoYyUZWpqjqsJngOBpeugCmlo3BOyMb6HDz2wvMELUEZ2Ng4xvDEiI"></script>
In order to make the  code work in WIX you need to make the following changes:
  • The src must start with https:
  • The entire code must be wrapped in <p></p>
See the code with the changes:

<p><script type="text/javascript" async="async" class="embed-ldgfy-script-loader embed-ldgfy-book-script-loader" src="https://static.lodgify.com/themes/shared/v3/assets/latest/embed-ldgfy-book.min.js" data-website-id="136710" data-website-slug="helloberlin" data-domain="lodgify.com" data-protocol="https" data-property-id="166013" data-culture="en" data-culture-iso="en-US" data-currency="EUR" data-token="QFUKS2e8hURoYyUZWpqjqsJngOBpeugCmlo3BOyMb6HDz2wvMELUEZ2Ng4xvDEiI"></script></p>



Question ID: 188917

Was this article helpful?

Can’t find what you’re looking for?

Our award-winning customer care team is here for you.