Pre-fill your booking form and pass customer data through to YouCanBook.me

There are many good reasons why you might want to send data into YouCanBook.me using the booking page link: 

  • Make sure your clients meet with the right team member (for example, the one who has the best experience for the conversation)
  • Pre-fill the answers to some of the questions on your booking form 
  • Attach information to the booking (for example, which website it came from or who the salesperson is)
  • Make sure a customer selects the right Appointment Type 
  • Guide people to a date in the future that suits their needs

You can do all of these things by adding the information to the link of your YouCanBook.me page. 

The first thing you need to know about is setting up shorthand codes. These will let YouCanBook.me know where the information you are sending is supposed to go. You can find out all about shorthand codes on this page.  

Then use the shorthand codes to create a link with the data. Here are some examples using our example page mrshortstown.youcanbook.me: 

Pre-select a team member: 

https://mrshortstown-teams.youcanbook.me/?team=Peter+Knight

Pre-select an Appointment Type: 

https://mrshortstown-services.youcanbook.me/?service=Balloon+Ride

Note: if you're adding a team or Appointment Type name into the link, it is important that it is written in exactly the same way as it is in your booking page settings. If there are spaces between the words, you can add a + between each one as placeholders.

Pre-fill answers to booking form questions: 

https://mrshortstown-web.youcanbook.me/?FNAME=John&LNAME=Smith&EMAIL=john@example.com&PHONE=5679786545

The shorthand codes in your link string should be in all capitals. 

You can pre-check a checkbox, using the term 'yes'. 

https://mrshortstown-web.youcanbook.me/?FNAME=John&LNAME=Smith&EMAIL=john@example.com&PHONE=5679786545&AGE=yes

Add date to your link to open your booking page at a future date

https://mrshortstown-web.youcanbook.me/?jumpDate=2021-01-12


Allow for quick follow-up bookings

You can also use the shorthand codes to take the booker back to the beginning of the process to make another appointment. This link will pre-fill the booking form fields with the information they just entered for faster check-out.

Add it to the Thank You page or an email confirmation so they can click on it at any time for a faster booking process the next time. The first FNAME is telling YouCanBook.me where to put the information that will be filled with the second {FNAME} which is the shorthand code for the "first name" question.  

Here's an example: 

When a person makes the first booking, they will use the link https://mrshortstown.youcanbook.me

They will fill in the booking form:
First name: Mary
Last name: Jones
Email address: mary@example.com
Phone number: 07939987890

When they get to the thank you page, those details will be filled into the curly tags in the link, so it will look to them like:

https://mrshortstown.youcanbook.me/?FNAME=Mary&LNAME=Jones&EMAIL=mary@example.com&PHONE=07939987890

So when they click on that link and select a time, they will see the booking form already filled out:

NOTE: When you use the phone number in the link, any spaces that are added to the phone number can break the link.

The best way to fix this is to wrap the  {PHONE} tag in two more tags {ENCODE}

So the link will look like this:

https://mrshortstown.youcanbook.me/?FNAME={FNAME}&Email={EMAIL}&PHONE={ENCODE}{PHONE}{ENCODE}

Passing data into the link of an embedded YouCanBook.me page

If you are embedding your YouCanBook.me page into a page on your website, the data needs to be added to the embedded YouCanBook.me link, not the website page link. Your website would need to be able to support this (for example, using PHP or something similar).

Hide the data you are passing into the booking form

In some cases, you don't necessarily want your customer to see the information that you are passing through. It could be information about where the lead has come from or information about their account with you. In this case, there are two questions on the booking form you can use:  PASSTHROUGH and HIDDEN.

These two question type function like "Short Answer" in that they can take data and you can designate Shorthand Codes for them. However, they also have specific functions. 

PASSTHROUGH Questions

PASSTHROUGH questions will appear on the booking form, but the data you send through from your website will not be editable. It requires data in the link to fill that in. If there is nothing in the link, then it will appear blank. 

For example, if you're sending through an ID number, your passthrough question would have a Shorthand code {IDNUMBER}, and your passthrough link would look like:

https://bloomfieldballoons.youcanbook.me/?IDNUMBER=123456789

When your booker selects a time, the field will be populated like this: 

HIDDEN questions 

Hidden questions work in the same way but will not appear on the booking form.  

Your link would look like this:

https://bloomfieldballoons.youcanbook.me/?SOURCE=facebook

After your user chooses a time on your booking page, this field will not appear on the booking form: 


You can display this information on the Calendar Event or the confirmation email to yourself using the corresponding Shorthand code. 

When you create your notifications to your customers, don't include the shorthand code and it won't show.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us