Query parameters allow you to customize public links in Waitwhile by pre-filling information, filtering data, or enhancing user experience. By adding query parameters to your URLs, you can streamline customer interactions and improve efficiency.
Understanding Query Parameters
A query parameter is a component of a URL that passes data to a web page, allowing customization of content or functionality. It consists of a key-value pair appended to a URL after a ?
. Multiple parameters can be added using &
.
For example:
https://waitwhile.com/locations/revival?name=John%20Doe&partysize=3
Commonly used query parameters
1. To pre-fill customer information
You can pre-fill Check-in and Scheduling page forms with customer information such as name, phone number, email, and external customer ID.
name
– Prefills the customer’s namephone
– Adds a pre-filled phone numberemail
– Prefills an email addressexternal customer ID
– Prefills an customer ID that you may use such as a membership or patient record number
Learn more about Pre-filling customer information with query parameters
2. To pre-fill Location Directory
This will help customers pre-filter the locations on the page based on the query parameter.
Label
: Pre-filters customer label such as area, city etc.Service ID
: Pre-filters Service IDRegistration type
: Pre-filters registration type such as Booking and waitlist.Examples:
Label:
label=Area:North&label=City:Stockholm&label=City:Gothenburg
Service ID:
service=ZcB3NT83tIH1IsMnPwrt
Registration type:
registration=waitlist
®istration=booking
3. All Waitlists page
Examples:
Label:
label=Area:North&label=City:Stockholm&label=City:Gothenburg
Service ID:
service=ZcB3NT83tIH1IsMnPwrt
4. To automatically select a specific Service or Resource
Similarly to pre-filling customer information, you can also use query parameters to pre-select services or resources.
service
– Selects a specific service automaticallystaff
– Assigns a specific staff member
These query parameters utilize the individual Service ID and Resource ID, which can be found in the Service/Resource edit module for each individual service/resource.
To pre-select Services: (using Service ID examples)
/checkin/yourLocationName?service=
serviceID (Join Waitlist)/book/yourLocationName?service=
serviceID (Schedule Booking)
You can add on multiple services by adding &service= for each additional service:
/book/yourLocationName?service=serviceID&service=
serviceID2
To pre-select Resources: (using Resource ID examples)
/checkin/yourLocationName?resource=
resourceID (Join Waitlist)/book/yourLocationName?resource=
resourceID (Schedule Booking)
You can add on multiple resources by adding &resource= for each additional resource:
/book/yourLocationName?resource=resourceID&resource=
resourceID2
Note: If you use a query parameter to pre-select services or resources, it will skip that respective selection page of the join/scheduling signup flow.
Have additional questions or need assistance? Reach out to us via chat or at support@waitwhile.com.