Skip to main content

Setting up Booking Engine URL

The AI Chatbot will redirect all booking inquiries to the Online Booking Engine URL

Andy Dharmani avatar
Written by Andy Dharmani
Updated over 2 weeks ago

During a chat, email response, or voice, the customer asks for availability and rates, or wants to book a room. Depending on the setup, Myma will hand over the customer to the Online Booking Engine with all the collected information pre-populated so that the customer can be dropped at an advanced stage of the booking process.

How is this integration used for different channels

  • Chatbot on website and social channels collects stay details (dates, guests) and generates a unique link that takes customers straight to their personalized search in the booking engine.

  • When a customer shares their stay details via email, a personalized booking link is added in the email response created for them.

  • When a customer calls and provides their stay details, a unique booking URL can be generated and sent via SMS, allowing them to proceed directly with the booking.

Set Up Process

To enable this, the Booking Engine URL needs to be configured in the Myma Dashboard.

Go to Settings -> Applications -> Available Apps -> Booking Engine

Three things need to be added for each property:

  1. Give the integration a user-friendly name

  2. Add the Booking Engine URL

  3. Select the Date Format of how dates are being passed in the URL

If you have multiple properties, the URL needs to be set up for each property

In some Booking Engines, it is easier to determine the parameters by looking at the URL, while for others you might have to ask your Booking Engine provider to provide a sample URL

Copy the URL from the Online Booking Engine, paste it into the integration. Then you can select each parameter and replace it with the corresponding available placeholder to replace it. Example: Select the actual date, and click on the date placeholder to replace the date with the placeholder.

Example

Example of Booking Engine URL:

Example of how to set up in Myma:

Select the date format based on how the dates are being passed in the URL. In the example above, the date format is YYYY-MM-DD.

Available Placeholders

Variable

Description

Example

CHECK_IN

Check-in date for the stay

Replace arrive=2025-11-24 with arrive={CHECK_IN}

CHECK_OUT

Check-out date for the stay

Replace depart=2025-11-24 with depart={CHECK_OUT}

ADULTS

Number of adults

Replace adults=2 with adults={ADULTS}

CHILDREN

Number of children

Replace children=2 with children={CHILDREN}

CHILDREN_AGE

This is not common to pass in the URL; this will be left to be selected in the booking engine itself.

NIGHTS

Number of nights for the stay. Only some Booking Engines have this option, rather than passing the Checkout date

Replace nights=3 with nights={NIGHTS}

ROOM_TYPE

This is not common to pass in the URL; this will be left to be selected in the booking engine itself.

PROMO_CODE

This is useful if you want to give people a special discount if they book through the Chatbot

Replace promo=DISC15 with promo={PROMO_CODE}

LANGUAGE

This is not common to pass in the URL; this will be left to be selected in the booking engine itself.

CURRENCY

This is not common to pass in the URL; this will be left to be selected in the booking engine itself.

Tracking Traffic Referred to Booking Engine by the Chatbot

There are three common ways to set up the tracking:

Adding a source or subsource code

Some Booking Engines support passing a source or subsource code as a parameter e.g (&src=). This allows the booking to be tracked as a custom primary or secondary channel in Booking Engine reporting.

Google Analytics

Hotels may want to leverage utm parameters to track more in-depth data for source and medium etc. UTM parameters (Urchin Tracking Module parameters) are little tags you add to the end of a URL so tools like Google Analytics can track where your traffic is coming from and how people interact with your Chatbot.

for example: &utm_source=AI_Chatbot&utm_medium=WhatApp.

Promo Code

Hotels can create a promo code for the Chatbot, and pass that as a paramtere. The promo code could be no discount so that pricing does not change. Depending on the Booking Engine reporting on promo code hotel can track the activity generated through the Chatbot.

Did this answer your question?