Travel API Methods

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.

MethodDescription
addCruiseSearchPasses information from your site to Monetate when a customer searches for a cruise
addCruiseReviewPasses information from your site to Monetate when a customer adds a cruise to the cart
addCruiseBookingPasses 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.

MethodDescription
addHotelSearchPasses information from your site to Monetate when a customer searches for a hotel
addHotelReviewPasses information from your site to Monetate when a customer adds a hotel stay to the cart
addHotelBookingPasses 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.

MethodDescription
addFlightSearchPasses information from your site to Monetate when a customer searches for a flight
addFlightReviewPasses information from your site to Monetate when a customer adds a flight ticket to the cart
addFlightBookingPasses information from your site to Monetate when a customer completes the purchase of a flight ticket