Method Calls
addHotelReview
this method call is only available to clients using the getting started with the monetate travel api addhotelreview method // addhotelreview method window\ monetateq = window\ monetateq || \[]; var reviewobject = { // required 'checkin' \['20260212'], // february 12, 2026 'checkout' \['20260224'], // february 24, 2026 'city' \['london'], 'country' \['united kingdom'], 'guests' \[3], 'rooms' \[2], // optional 'adults' \[2], 'children' \[1], 'region' \['london'], 'type' \['single'] }; window\ monetateq push(\['addhotelreview', reviewobject, 'regents', 1, '200 00', // optional 'gbp' ]); window\ monetateq push(\['trackdata']); the addhotelreview method passes information from your site to monetate when a customer adds a hotel to the cart this method consists of nine required attributes and five optional attributes required attributes these attributes are required with the addhotelreview method checkin — a string that includes the check in date for the hotel stay in yyyymmdd format checkout — a string that includes the check out date for the hotel stay in yyyymmdd format city — a string that includes the city where a hotel was searched for country — a string that includes the country where a hotel was searched for guests — an integer that includes the total number of adults and children staying in a hotel room rooms — an integer that includes the total number of hotel rooms searched for pid — a string without spaces that includes an internal id used to identify a hotel quantity — an integer that includes the number of hotel rooms booked unitprice — a string that includes the price of the hotel in the format xx xx optional attributes these attributes are optional for the addhotelreview method adults — an integer that includes the total number of adults staying in a hotel room children — an integer that includes the total number of children staying in a hotel room region — a string that includes the state, province, or region where a hotel was searched for type — a string that includes the type of hotel room searched for currency — a string in the iso 4217 standard (three capital letters and no spaces) that includes the currency used to book the hotel