This document is made for technical team of the booking engines in partnership with Quicktext.
This tracking script allows Quicktext to track ( confirm ) the booking opportunities generated by it's chat-bot.
The tracking contains two scripts:
qt_tracking_id
and persist it in client browser's localStorage
.localStorage
and reservation data mentioned in "data attributes". Then send a confirmation event to Quicktext.Include this script on ALL booking engine pages
Run this script when the user confirms the reservation
The booking engine technical team must replace the tokens with the corresponding values depending on the reservation's details:
Token | Type | Format | Is mandatory | Description |
---|---|---|---|---|
<PARTNER_NAME> |
String | Recommended | The booking engine unique name | |
<TOTAL_RESERVATION_PRICE> |
Number | Mandatory | The current booking total price | |
<PRICE_CURRENCY> |
String | ISO 4217 | Mandatory | The current booking total price's currency |
<CHECKIN_DATE> |
String | YYYY-MM-DD |
Recommended | The current booking check-in date |
<CHECKOUT_DATE> |
String | YYYY-MM-DD |
Recommended | The current booking check-out date |
<ADULTS_COUNT> |
Number | Recommended | The current booking adults count | |
<CHILDRENS_COUNT> |
Number | Recommended | The current booking children count | |
<ROOMS_COUNT> |
Number | Recommended | The current booking rooms count |
Example script: