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:Room Selection
Track availability searches and room selection events
Client Form
Monitor booking form interactions and extras selection
Confirmation
Capture reservation completions and cancellations
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 Step | Event Names | Purpose |
---|---|---|
Step 1: Room Selection | init , mirai.availability , mirai.noAvailability | Track search queries and availability results |
Step 2: Client Form | init | Capture selected rooms and customer details |
Step 3: Confirmation | init , mirai.cancellation | Record 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
Implementation Guide
Choose your tracking method based on your needs:- Option 1: Google Analytics Only (Recommended)
- Option 2: Multi-Platform Tracking (Advanced)
Simple Setup for GA4 Tracking
Perfect if you only need Google Analytics tracking. All events in this documentation will be automatically tracked.1
Access GA4 Admin
Go to your Google Analytics 4 property → Admin → Account → Access Management
2
Add Hotel Linkage User
Add user:
designhotelsearch@gmail.com
with Administrator permissions3
Confirm Access
Save changes and notify Hotel Linkage support
Important: You must grant the correct permissions to
designhotelsearch@gmail.com
for the integration to work. Double-check the email address to avoid delays.Implementation Requirements
Technical Prerequisites
Technical Prerequisites
- Google Analytics 4 account (for Option 1)
- Google Tag Manager account (for Option 2)
- Admin access to grant permissions
Supported Platforms
Supported Platforms
- Google Analytics 4 (GA4)
- Google Ads Conversion Tracking
- Facebook Pixel
- Bing Ads
- LinkedIn Insight Tag
- Custom HTML/JavaScript tags
Automatic Activation: The data layer events are automatically activated during the hotel onboarding process. Once you grant the necessary permissions, all events documented here will start firing immediately without any additional configuration required from your side.
Support
For assistance with GTM integration:- Contact Hotel Linkage support at support@hotellinkage.com
- Visit our Premium Support portal for custom implementation requests