Skip to main content

Booking Segment as a Parameter

Booking Segments can be set on a booking at the time a website request or reservation is made.

To do this the segments must first be set up inside your account. Please see our documentation on Booking Segment Creation here.

Once setup you can then add the parameter &segment=yoursegment to your widgets' URL. Bookings and enquiries will then be tracked with this segment.

Using a Booking Segment parameter

Parameter: segment

Options: A valid booking segment name you have created

Example: https://book.examplecompany.com/public/booking/order02.jsf?uid=8028808c11f7ee4d0111f7ee55980071&mv=1&i18=en

Specific Examples

If using a widget on facebook you could track bookings and enquiries from the source by adding &segment=facebook to the url eg: bookings made via https://accomdemo.bookfast.jp/cw/gen/ins/bpay2.jsf?vid=2c9890f06b0fbfc6016b1ff786ca64ca&segment=facebook would be marked with the segment facebook.

If linking to a widget from a Mailchimp campaign you could track bookings and enquiries from the source by adding &segment=mailchimp to the url eg: bookings made via https://accomdemo.bookfast.jp/cw/gen/ins/bpay2.jsf?vid=2c9890f06b0fbfc6016b1ff786ca64ca&segment=mailchimp would be marked with the segment mailchimp.

You can also use this to track referrals from other websites by creating segments for each referrer inside your account and giving them a URL containing this segment as parameter.