Introduction

Linkage Direct provides comprehensive Google Tag Manager (GTM) integration to track user interactions throughout the booking process. This integration enables you to monitor conversions, analyze user behavior, and optimize your marketing efforts.

Integration Overview

The GTM integration tracks three main booking steps with detailed event data:

Key Features

  • Real-time Event Tracking: Capture user interactions as they happen
  • Comprehensive Data Layer: Access detailed booking information
  • E-commerce Ready: Full support for enhanced e-commerce tracking
  • Device Detection: Separate tracking for desktop/tablet and mobile users
  • Multi-language Support: Track bookings across all supported languages

Events Structure

Each booking step triggers specific events that push data to the GTM data layer:
Booking StepEvent NamesPurpose
Step 1: Room Selectioninit, mirai.availability, mirai.noAvailabilityTrack search queries and availability results
Step 2: Client ForminitCapture selected rooms and customer details
Step 3: Confirmationinit, mirai.cancellationRecord completed bookings and cancellations
Event names containing “mirai” (like mirai.availability) are part of the technical implementation and should not be modified in your GTM configuration.

Data Layer Structure

All events push structured data to the Google Tag Manager data layer, including:
  • Hotel Information: Hotel ID, chain ID, hotel name
  • Booking Details: Check-in/out dates, number of nights, occupancy
  • Pricing Data: Room rates, taxes, extras, total amounts
  • User Context: Device type, language, country (via IP)
  • Reservation Data: Confirmation codes, customer information

Getting Started

1

Implement GTM Container

Add your Google Tag Manager container code to your Linkage Direct booking engine
2

Configure Events

Set up triggers in GTM for the specific events you want to track
3

Create Tags

Configure tags for Google Analytics, Google Ads, or other marketing platforms
4

Test Implementation

Use GTM Preview mode to verify event firing and data layer values

Implementation Requirements

Support

For assistance with GTM integration:
Automatic Activation: The dataLayer events are automatically triggered once Google Tag Manager is detected on your website. No additional activation is required from Hotel Linkage side - simply install your GTM container and the events will start firing immediately.