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 docid\ zcx p3d6nd2rr5bjloyug allows monetate to understand interactions on your site https //docs monetate com/docs/install the 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 docid\ jt7o1lq8autjhfolknlnv docid\ gcm0h169gurcqmv6sbota 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 docid\ val7agkzfl5p5vgpak4qv 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 docid\ hrfsivvfxl62qqiho1wf9 passes information from your site to monetate when a customer searches for a cruise docid\ gd6kmndpnncbveqedmg5j passes information from your site to monetate when a customer adds a cruise to the cart docid\ alhmyxc1xtzo9fc3ohslb 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 docid\ zedjtticzlhxzypcvengu passes information from your site to monetate when a customer searches for a hotel docid\ lerjrf4owdvw5nk0bb4s2 passes information from your site to monetate when a customer adds a hotel stay to the cart docid 0nkcec5gqkh9otottt75e 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 docid\ npikgeriww6nubl358yms passes information from your site to monetate when a customer searches for a flight docid\ ktjygn0fgxog8eafuzfux passes information from your site to monetate when a customer adds a flight ticket to the cart docid\ avjzey9rnbqe4nuj0ccjt passes information from your site to monetate when a customer completes purchasing a flight ticket