Complete reference for all GTM data layer variables in Linkage Direct
Event Name | Booking Step | Description |
---|---|---|
init | All steps | Initial page load event |
mirai.availability | Step 1 | Rooms available for search |
mirai.noAvailability | Step 1 | No rooms available |
mirai.cancellation | Step 3 | Booking cancellation |
mirai.
are technical implementation names and should not be modified in your GTM configuration.Variable | Type | Events | Description |
---|---|---|---|
step | String | All | Current booking step identifier |
home | String | All | Host domain name |
hotelId | Number | All | Unique hotel identifier |
chainId | Number | All | Chain identifier (if applicable) |
hotelName | String | Most | Display name of the hotel |
device | String | All | DESKTOP_TABLET or MOBILE |
language | String | Most | ISO 639-1 language code |
Variable | Type | Available In | Description |
---|---|---|---|
checkin | String | Availability onwards | Format: dd/mm/yyyy |
checkout | String | Availability onwards | Format: dd/mm/yyyy |
nights | Number | Availability onwards | Number of nights |
country | String | Most events | ISO 3166 alpha-2 code |
coupon | String | Most events | Promotional code used |
currency | String | Step 1 onwards | Hotel’s base currency (ISO 4217) |
userCurrency | String | Step 2-3 | Transaction currency |
Variable | Type | Description |
---|---|---|
totalPriceWithTaxesWithExtras | Number | Complete total including everything |
totalPriceWithTaxesWithoutExtras | Number | Room total with taxes, no extras |
totalPriceWithoutTaxesWithExtras | Number | Total with extras, excluding taxes |
totalPriceWithoutTaxesWithoutExtras | Number | Base room price only |
Variable | Type | Description |
---|---|---|
totalExtrasWithTaxes | Number | All extras including taxes |
totalExtrasWithoutTaxes | Number | Extras excluding taxes |
totalExtrasTaxes | Number | Tax amount on extras only |
totalTaxes | Number | All taxes (rooms + extras) |
Variable | Type | Description |
---|---|---|
numRooms | Number | Total rooms in booking |
numAdults | Number | Total adult guests |
numChildren | Number | Total children |
numBabies | Number | Total babies |
mirai.availability
event:
Variable | Type | Description |
---|---|---|
name | String | Guest first name |
surname | String | Guest last name |
email | String | Guest email |
emailSHA256 | String | SHA-256 hashed email |
state_province | String | Guest state/province |
city | String | Guest city |
Variable | Type | Description |
---|---|---|
reservationCode | String | Unique booking reference |
reservationDate | String | Booking creation date (dd/mm/yyyy) |
mirai.cancellation
event:
Variable | Type | Description |
---|---|---|
cancelDate | String | Date of cancellation (dd/mm/yyyy) |
cancelReason | String | Numeric code (1-5) |
cancelComments | String | Free text explanation |
GTM Preview Mode
Browser Console
Common Issues