When adding a Custom field to your Booking form, the field is visible by default. You can choose to hide the field, so that it will not be displayed on the Booking form.
Hiding fields is typically done to pass internal company information through the booking process, without exposing it to the Customer. For example, you may have an ID for a particular marketing source that you need to track with the booking information. The ID is internal and Customers shouldn't see it when they book. With hidden fields, you can include the ID in the URL parameters and pass it to a third party CRM integration, add it to a calendar event or include it in User notifications.
Customers are not able to input a value for hidden fields and they can't be made mandatory fields. To use the field, you should provide a value with URL parameters. Hidden fields should not be used to pass sensitive information because the data is still visible and editable in the Booking page URL.
Important Data from hidden fields will be added to the default calendar event in the Users connected calendar. If the Customer is included as a guest on the calendar event they will see the hidden field data in the event details. To prevent this you can remove the Customer from the calendar event or you can create a custom event template.
To create a hidden Custom field, go to Setup and open the left sidebar. Select Tools -> Booking forms editor. Next, click the button to "Add Custom field to library." Create a single line text field and at the bottom of the field editor enable the checkbox labeled "Do not display this field to Customers." Make sure this is checked. You should add the hidden Custom fields to your form to use them. Please note that hidden fields do not show in the Booking form previews.
Let's look at a quick example: Suppose you wish to pass a marketing campaign ID in the URL and pass it to a Custom field in your CRM. You should follow these steps:
- Create a hidden Custom field for the marketing campaign ID and add it to your Booking form.
- In the CRM integration setup, map the hidden ScheduleOnce field to the Custom field in your CRM.
- In the marketing campaign add the link to your Booking page with the marketing campaign ID in the URL. For example, go.oncehub.com/example?marketing-campaign-ID=1234
When a booking is made using this link, the marketing campaign ID (1234) will be mapped to the Customer record in your CRM.
Note If you are using UTM codes, you can enable source tracking to pass UTM tags that you have added to your personalized links. The following five source tracking field names are reserved for source tracking, and cannot be used as Custom field names:
utm_source = used for identifying the traffic source
utm_medium = used for identifying the delivery method
utm_campaign = used for keeping track of different campaigns
utm_term = used for identifying keywords
utm_content = used for split testing or separating two ads that go to the same URL