Travel API

Getting Started with the Monetate Travel API

the monetate travel api allows you to pass data from your site to the monetate platform for best results you should track each page of your site to do this, you must implement the following baseline implementation allows monetate to understand interactions on your site monetate inspector browser plug in verifies the functionality and placement of the monetate tag on a page passing site data to monetate the travel api has nine total api methods, three for each type of travel site each method call has a series of attributes with information from the current page some of these attributes are required while some are optional that said, you should include as many methods as you can to capture the information on your site pages all attributes are represented as arrays, even if they only hold a single value additional method calls in addition to the nine api methods specific to the travel api, you must also implement two standard calls baseline api call matrix trackdata timing expectations the time needed to add the monetate tag and the required method calls that are important to your business can vary the number of method calls you need to add, your intended use of monetate, and the skill set of the person completing these tasks can all affect how long it takes to complete the process for more information about who should complete the various steps of this process and what to expect, see getting started with the javascript api travel api method calls you can call monetate 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 purchasing a flight ticket