This short article will explain what to do if you want to redirect your guests to another customized landing page after the booking process is completed and, depending on your settings, payment has been made.

Typically, you can generate an embedded booking engine HTML to include on your website. To do so, go to Settings -> Booking engine -> Manage booking engines – > How to install and select “Embed on your own website (JavaScript)”. The code would look something like this:

You can use the above script by placing it on a page of your website in order to generate bookings (e. g.: https://example.com/book-now.)

But let’s say that after the booking or payment is processed, you want your guests to arrive at a custom page such as https://example.com/thanks-for-your-booking. In this case, you could modify the above code to include the target URL (your customized landing page), as shown in the following example:

In this way, every time a booking is made and completed using the embedded booking engine with the modified code, your guest will be redirected automatically.

Note: The customized landing page must include the Sirvoy booking engine. If not, guests making a booking will not receive a confirmation that their booking went through and under some circumstances the booking might even not be created.