Tracking on select hotel and select rate pages
This commit is contained in:
@@ -97,8 +97,8 @@ export default async function SelectHotelPage({
|
||||
leadTime: differenceInCalendarDays(arrivalDate, new Date()),
|
||||
searchType: "destination",
|
||||
bookingTypeofDay: isWeekend(arrivalDate) ? "weekend" : "weekday",
|
||||
country: hotels[0].hotelData.address.country,
|
||||
region: hotels[0].hotelData.address.city,
|
||||
country: hotels?.[0].hotelData.address.country,
|
||||
region: hotels?.[0].hotelData.address.city,
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user