Experience the difference of "Elite".

API for requesting quote

Status: Requested 1 Vote
Gil & Jenn C
Nov 20, 2023 6:01 PM
Joined Aug, 2022 2 posts

I'm trying to hook up my direct booking site to OR. We are creating our own quote widget using react so that it works seamlessly with our page. I'm trying to allow a guest to define number of guest, booking dates, and for us to retrieve price breakdown. From reading through the API, it doesn't seem like this is possible. We're actively in development and need help on this asap. Thanks!

BlueMtnCabins
Nov 20, 2023 6:16 PM
Joined Jun, 2016 1119 posts

Ok, and may I ask why? what is wrong with using an embedded OR quote widget that already does all that? You can see example on my non-OR site > smoky-mountains-cabin.com/AE

Gil & Jenn C
Nov 27, 2023 9:55 AM
Joined Aug, 2022 2 posts

Ok, and may I ask why? what is wrong with using an embedded OR quote widget that already does all that? You can see example on my non-OR site > smoky-mountains-cabin.com/AE

It’s not bad, but I come from ecommerce where the whole purchase process is optimized and tracked. We’re rebuilding our site so that we have full funnel view and can make a/b tests to optimize our checkout. With widget we can’t do that. We’re not able to modify the experience nor do we have visibility on the tracking events. 

It’s a bit more than a lot of users will go through but we’re invested to make sure our experience is a smooth one. 

BlueMtnCabins
Nov 27, 2023 10:12 AM
Joined Jun, 2016 1119 posts

It’s not bad, but I come from ecommerce where the whole purchase process is optimized and tracked. We’re rebuilding our site so that we have full funnel view and can make a/b tests to optimize our checkout. With widget we can’t do that. We’re not able to modify the experience nor do we have visibility on the tracking events. 

It’s a bit more than a lot of users will go through but we’re invested to make sure our experience is a smooth one. 

Do you know you can track events in GA ? I am not well versed, but the events are there. GA is covered in this article. here is a snippet:

Once you set up the integration, you'll see the following actions show up in Google Analytics:

  • Page view on widget pages (whether inside your website or separately hosted), quote accept (checkout) pages, one-off payment pages, hosted website pages
  • Widget -> Loaded when a widget is loaded
  • Widget -> QuoteDisplayed/QuoteErrored on book now widget when the guest enters information and the quote summary is displayed or a validation error occurs, respectively
  • Widget -> QuoteDetailExpanded on book now widget when the guest expands the quote details panel
  • Widget -> BookingStarted event on "book now" button click in book now widget (with event value of quote total)
  • Widget -> InquirySent event on "send inquiry" button click in book now widget (with event value of quote total)
  • Quote -> BookingStarted event on view of the initial quote checkout page (with event value of quote total)
  • Booking -> Booked event on booking complete (with event value of booking total)
  • Ecommerce transaction on booking complete

The experience is already pretty smooth:  Enter dates/number of people > Quote displayed > proceed to book. What can be smoother than that?  To me, your ask sounds like an attempt to reinvent the bicycle. 🤷