Hospitality
To track an event using the hospitality package, you can use the corresponding method on the tracker instance. For example:
Example
val properties = HospitalityCheckedInProperties(
adultsCount = adultsCount
)
bird.tracker.hospitality.checkedIn(properties)
let properties = HospitalityCheckedInProperties(
adultsCount: adultsCount
)
bird.tracker.hospitality.checkedIn(properties)
const properties: HospitalityCheckedInProperties = {
adults_count: adults_count
};
Bird.tracker.hospitality.checkedIn(properties, event_opts);
Methods
checkedIn()
val properties = HospitalityCheckedInProperties(
adultsCount = adultsCount
)
bird.tracker.hospitality.checkedIn(properties)
let properties = HospitalityCheckedInProperties(
adultsCount: adultsCount
)
bird.tracker.hospitality.checkedIn(properties)
const properties: HospitalityCheckedInProperties = {
adults_count: adults_count
};
Bird.tracker.hospitality.checkedIn(properties, event_opts);
HospitalityCheckedInProperties
checkedOut()
val properties = HospitalityCheckedOutProperties(
adultsCount = adultsCount
)
bird.tracker.hospitality.checkedOut(properties)
let properties = HospitalityCheckedOutProperties(
adultsCount: adultsCount
)
bird.tracker.hospitality.checkedOut(properties)
const properties: HospitalityCheckedOutProperties = {
adults_count: adults_count
};
Bird.tracker.hospitality.checkedOut(properties, event_opts);
HospitalityCheckedOutProperties
reservationCreated()
val properties = HospitalityReservationCreatedProperties(
adultsCount = adultsCount
)
bird.tracker.hospitality.reservationCreated(properties)
let properties = HospitalityReservationCreatedProperties(
adultsCount: adultsCount
)
bird.tracker.hospitality.reservationCreated(properties)
const properties: HospitalityReservationCreatedProperties = {
adults_count: adults_count
};
Bird.tracker.hospitality.reservationCreated(properties, event_opts);
HospitalityReservationCreatedProperties
reservationUpdated()
val properties = HospitalityReservationUpdatedProperties(
adultsCount = adultsCount
)
bird.tracker.hospitality.reservationUpdated(properties)
let properties = HospitalityReservationUpdatedProperties(
adultsCount: adultsCount
)
bird.tracker.hospitality.reservationUpdated(properties)
const properties: HospitalityReservationUpdatedProperties = {
adults_count: adults_count
};
Bird.tracker.hospitality.reservationUpdated(properties, event_opts);
HospitalityReservationUpdatedProperties
reservationCanceled()
val properties = HospitalityReservationCanceledProperties(
adultsCount = adultsCount
)
bird.tracker.hospitality.reservationCanceled(properties)
let properties = HospitalityReservationCanceledProperties(
adultsCount: adultsCount
)
bird.tracker.hospitality.reservationCanceled(properties)
const properties: HospitalityReservationCanceledProperties = {
adults_count: adults_count
};
Bird.tracker.hospitality.reservationCanceled(properties, event_opts);
HospitalityReservationCanceledProperties
Last updated