Hospitality
To track an event using the hospitality package, you can use the corresponding method on the tracker instance. For example:
Example
Methods
checkedIn()
HospitalityCheckedInProperties
adults_count?
Number
booking_creation_time?
String
booking_source?
String
booking_status?
String
booking_total?
Number
check_in_date?
String
check_out_date?
String
children_count?
Number
confirmation_number?
String
currency_code?
String
guest_email?
String
guest_first_name?
String
guest_id?
String
guest_last_name?
String
guest_phone_number?
String
length_of_stay?
Number
payment_method?
String
payment_status?
String
property_id?
String
reservation_status?
String
room_number?
String
room_rate?
Number
room_type?
String
rooms_booked_count?
Number
checkedOut()
HospitalityCheckedOutProperties
adults_count?
Number
booking_creation_time?
String
booking_source?
String
booking_status?
String
booking_total?
Number
check_in_date?
String
check_out_date?
String
children_count?
Number
confirmation_number?
String
currency_code?
String
guest_email?
String
guest_first_name?
String
guest_id?
String
guest_last_name?
String
guest_phone_number?
String
length_of_stay?
Number
payment_method?
String
payment_status?
String
property_id?
String
reservation_status?
String
room_number?
String
room_rate?
Number
room_type?
String
rooms_booked_count?
Number
reservationCreated()
HospitalityReservationCreatedProperties
adults_count?
Number
booking_creation_time?
String
booking_source?
String
booking_status?
String
booking_total?
Number
check_in_date?
String
check_out_date?
String
children_count?
Number
confirmation_number?
String
currency_code?
String
guest_email?
String
guest_first_name?
String
guest_id?
String
guest_last_name?
String
guest_phone_number?
String
length_of_stay?
Number
payment_method?
String
payment_status?
String
property_id?
String
reservation_status?
String
room_number?
String
room_rate?
Number
room_type?
String
rooms_booked_count?
Number
reservationUpdated()
HospitalityReservationUpdatedProperties
adults_count?
Number
booking_creation_time?
String
booking_source?
String
booking_status?
String
booking_total?
Number
check_in_date?
String
check_out_date?
String
children_count?
Number
confirmation_number?
String
currency_code?
String
guest_email?
String
guest_first_name?
String
guest_id?
String
guest_last_name?
String
guest_phone_number?
String
length_of_stay?
Number
payment_method?
String
payment_status?
String
property_id?
String
reservation_status?
String
room_number?
String
room_rate?
Number
room_type?
String
rooms_booked_count?
Number
reservationCanceled()
HospitalityReservationCanceledProperties
adults_count?
Number
booking_creation_time?
String
booking_source?
String
booking_status?
String
booking_total?
Number
check_in_date?
String
check_out_date?
String
children_count?
Number
confirmation_number?
String
currency_code?
String
guest_email?
String
guest_first_name?
String
guest_id?
String
guest_last_name?
String
guest_phone_number?
String
length_of_stay?
Number
payment_method?
String
payment_status?
String
property_id?
String
reservation_status?
String
room_number?
String
room_rate?
Number
room_type?
String
rooms_booked_count?
Number
Last updated