Overview
The client form page (Booking Step 2) captures detailed information about the selected rooms, extras, and pricing. This step provides crucial data for understanding booking composition and revenue optimization.Event: init
Theinit
event fires when users reach the client information form after selecting their rooms.
Trigger Condition
- User accesses the client form/checkout page
Data Layer Structure
The client form event provides comprehensive booking details including:- Basic Information
- Booking Details
- Pricing Information
- Occupancy
Parameter | Type | Description |
---|---|---|
step | String | Always "CLIENTFORM" |
home | String | Host domain name |
hotelId | Number | Hotel identifier |
chainId | Number | Chain identifier |
hotelName | String | Hotel display name |
device | String | "DESKTOP_TABLET" or "MOBILE" |
language | String | Browse language (ISO 639-1) |
Products Object Structure
Theproducts
object contains detailed breakdowns of rooms and extras:
Rooms Array
Each room in the booking includes:Extras Array
Each extra/add-on includes:Complete Data Layer Example
GTM Implementation
E-commerce Checkout Tracking
E-commerce Checkout Tracking
Map the client form data to GA4 E-commerce checkout event:
Cart Abandonment Tracking
Cart Abandonment Tracking
Set up remarketing tags to capture users who don’t complete booking:
- Create audience based on CLIENTFORM step visitors
- Exclude users who reach CONFIRMATION step
- Include product details for dynamic remarketing
Revenue Tracking Variables
Revenue Tracking Variables
Create calculated variables in GTM:
- Average Daily Rate:
totalPriceWithoutTaxesWithoutExtras / nights / numRooms
- Extras Attachment Rate:
totalExtrasWithTaxes / totalPriceWithTaxesWithExtras
- Tax Rate:
totalTaxes / totalPriceWithoutTaxesWithExtras
Analytics Insights
Extras Performance
Track which add-ons are most popular and their contribution to revenue
Price Sensitivity
Analyze the impact of taxes and extras on conversion
Occupancy Patterns
Understand booking composition (adults, children, rooms)
Board Basis Preference
Monitor which meal plans guests prefer
Best Practices
Data Privacy: The client form event doesn’t include personal information (name, email) at this stage. This data is only available in the confirmation step.
Currency Handling: Always use the
userCurrency
field for conversion tracking to ensure accurate revenue reporting in multi-currency setups. The currency
field represents the hotel’s base currency, while userCurrency
is the actual transaction currency used by the guest.