You can call Travel API methods with the standard window.monetateQ.push
feature. Additionally, this requires an object that contains all the attributes that you need to collect all of the required information on your site's page. You can create this object beforehand or during the method call. The fields in the object can be integers or strings.
Use the add{travel type}Search
methods when a customer searches on your site. Use the add{travel type}Review
methods when a customer has selected a cruise, hotel, or flight. Use the add{travel type}Booking
methods when a customer completes a purchase.
The add{travel type}Review
and add{travel type}Booking
methods also receive attributes with purchase information: product ID, quantity, price, currency, and order ID.
Cruise Method Calls
This table contains the method calls related to cruise bookings.
Method | Description |
---|---|
addCruiseSearch | Passes information from your site to Monetate when a customer searches for a cruise |
addCruiseReview | Passes information from your site to Monetate when a customer adds a cruise to the cart |
addCruiseBooking | Passes information from your site to Monetate when a customer completes purchasing a cruise |
Hotel Method Calls
This table contains the method calls related to hotel bookings.
Method | Description |
---|---|
addHotelSearch | Passes information from your site to Monetate when a customer searches for a hotel |
addHotelReview | Passes information from your site to Monetate when a customer adds a hotel stay to the cart |
addHotelBooking | Passes information from your site to Monetate when a customer completes purchasing a hotel stay |
Flight Method Calls
This table contains the method calls related to airline ticket purchases.
Method | Description |
---|---|
addFlightSearch | Passes information from your site to Monetate when a customer searches for a flight |
addFlightReview | Passes information from your site to Monetate when a customer adds a flight ticket to the cart |
addFlightBooking | Passes information from your site to Monetate when a customer completes the purchase of a flight ticket |