Sharing a link to a preloaded booking form
Once you add Wix Bookings, certain pages are automatically added to your site. You use these pages to run all aspects of your Booking business; from creating services to managing your schedule each week. You can also customize each of the pages to suit your business and brand.
Another way you can customize the client's booking experience is by updating the Booking Form page, which is the last page in the booking process, so that it is preloaded with default values. This way, your clients can skip the preceding pages and proceed directly to the Booking Form page. To do this, create and share a link to a Wix site's booking form with preset, default values you choose. You set the values by adding query parameters to the Booking Form page URL.
By preloading booking form values, you can simplify the customer's booking experience when they sign up for a service.
For example, if you are sending out invitations by email as part of promoting a class or a customer needs to sign up to a haircut, you can add a shareable link in the email that already contains the event ID, date, and time. The recipient can click the link and just enter their own personal details without having to enter the event details also.
You can set default values for these fields:
bookings_startDate
andbookings_endDate
bookings_timezone
bookings_resourceId
bookings_locationId
bookings_sessionId
bookings_serviceId
Note that each type of session requires a specific set of minimum parameters when constructing the URL. These sets of parameters correspond to the information the client would have had to select if they were progressing manually through the booking pages. You can refer to the list below for the specific parameters required for each type of session
- Classes:
bookings_sessionId
andbookings_timezone
- Courses:
bookings_serviceId
andbookings_timezone
- Appointments:
bookings_serviceId
,bookings_resourceId
,bookings_startDate
,bookings_endDate
andbookings_timezone
Creating a link to a preloaded booking form
To create a URL with query parameters for creating a preloaded booking form, follow these steps:
- Get the Wix site's Booking Form page URL.
- Determine which query parameters you want to use.
Getting the URL for the Booking Form page
You can find the full URL for a Wix site's Booking Form page by navigating to the published page in a browser.
Alternatively, you can construct the full URL for a Booking Form page on the basis of the site URL and the slug for the service. The full URL for a Booking Form page is:
1
To find the service slug using the Dashboard:
- Log into the Dashboard.
- Click Booking Services in the sidebar menu.
- Hover over the desired service in the list of services to make the Edit button appear.
- Click Edit to open the page for managing the service.
- Scroll down to the "Marketing & SEO" section on the right.
- Click Edit SEO Settings to open the "SEO Settings" section.
- The service slug appears in the "URL slug" field.
For example, if a Wix site's URL is www.my-example-site.com
and the service slug is initial-consultation
, the shared link URL is:
1
Choosing which settings to preload
Attach any of the following query parameters to a Wix site Booking Form page URL to preset the booking form settings:
Query Parameter | Description |
---|---|
bookings_resourceId | The selected resource, identified by ID. |
bookings_timezone | Default time zone for the Booking Form page, in tz database format. For example: America/Santiago . Note: You can only select a time zone the page supports as an option. For more information, see Setting the Time Zone Display. |
bookings_startDate | Initial date to open in the Booking Form page, in YYYY-MM-DDTHH:mmsss.SSS format. |
bookings_endDate | End date for the Booking Form Page, in YYYY-MM-DDTHH:mmsss.SSS format. |
bookings_locationId | Business location, identified by ID. |
bookings_sessionId | ID of session, needed for classes. |
bookings_serviceId | ID of a service, needed for courses. |
Velo APIs are the best way to get the IDs for the query parameters:
- For classes, use
listSessions()
. - For appointments use
queryAvailability
.
Examples
The following are examples of shareable links for a Wix site's Booking Form page with query parameters that that set preloaded values.
Preloading the class and the timezone:
1
Preloading the course and time-zone:
1
Preloading the appointment, with a resource, start date, end date and time zone:
1
Sending the link to the client
You can send the link through various channels such as email, chat, or text, depending on what you think is the most appropriate.