Adara Data layer

To support Adara's SDK integration on the Ripe lodging pages (via Google Tag Manager), a special object has been added to the site's data layer. The code snippet below shows the event name and the structure of the data. The table that follows provides a detailed breakdown of the included attributes.

Please note that if you're using the 'Ripe - Adara SDK' tag template discussed in the implementation steps HERE, then there is no need create any data layer variables. This information is provided for reference or if you choose to perform your own manual implementation leveraging the available data layer attributes.

Data Load Event

event: 'lodging_adara_data',
lodging: {
	adara: {
		user: [user attributes],
		session: [session identifier],
		data: [session data]
	}
}

Attributes

NameDescription
lodging.adara.user.ga_uuidGoogle Analytics client ID
lodging.adara.user.emailSha256SHA256 hash of email address
lodging.adara.user.firstNameSHA256 hash of first name
lodging.adara.user.lastNameSHA256 hash of last name
lodging.adara.sessionGoogle Analytics session ID
lodging.adara.data.pageTypePage category (search page, property page, cart page, etc.)
lodging.adara.data.referrerReferring URL
lodging.adara.data.siteLanguageSite language code
lodging.adara.data.siteCountrySite country code
lodging.adara.data.checkInDateCheck in date
lodging.adara.data.checkOutDateCheck out date
lodging.adara.data.destinationNameDestination name (city, event, or area)
lodging.adara.data.destinationCityProperty location city
lodging.adara.data.destinationStateDestination region (state or geographic area)
lodging.adara.data.destinationZipCodeProperty location postal code
lodging.adara.data.averageRateAverage daily rate rounded to nearest 10 dollars (as text string)
lodging.adara.data.hotelNameProperty name
lodging.adara.data.hotelCityProperty location city
lodging.adara.data.hotelStateDestination region (state or geographic area)
lodging.adara.data.hotelCountryDestination country code
lodging.adara.data.roomTypeRoom description
lodging.adara.data.numRoomsNumber of rooms
lodging.adara.data.numNightsTotal nights (as text string)
lodging.adara.data.numAdultsNumber of adults
lodging.adara.data.numChildrenNumber of children
lodging.adara.data.averageDailyRateAverage daily rate rounded to nearest 10 dollars (as text string)
lodging.adara.data.totalHotelCostReservation subtotal (excludes tax and fees)
lodging.adara.data.currencyTypeTransaction currency
lodging.adara.data.confirmationCodeReservation confirmation number