Skip to main content

Overview

This reference provides a comprehensive list of all data layer variables available in the Linkage Direct booking engine GTM integration.

Event Types Reference

Events prefixed with mirai. are technical implementation names and should not be modified in your GTM configuration.

Common Variables

These variables are present across multiple events:

Booking Information Variables

Pricing Variables

Total Pricing

Component Pricing

Occupancy Variables

Rate Information (Step 1)

Available in mirai.availability event:

Products Object (Steps 2-3)

Rooms Array Structure

Extras Array Structure

Customer Information (Step 3 Only)

Reservation Details (Step 3)

Cancellation Variables

Available in mirai.cancellation event:

Cancel Reason Codes

Data Layer Access in GTM

Creating Variables

  1. Simple Variable:
  2. Nested Variable:
  3. Array Access:

Custom JavaScript Variables

For complex calculations:

Debugging Tips

  1. Enable Preview mode in GTM
  2. Navigate through booking flow
  3. Check Data Layer tab for all pushed values
  4. Verify event firing on correct pages
  • Missing events: Check if GTM container is properly installed
  • Undefined variables: Verify the exact path in data layer
  • Wrong values: Ensure you’re using the correct event trigger
  • Duplicate tracking: Use transaction ID for deduplication

Support

For technical assistance with GTM integration: