Track hotel bookings and send event data to Klaviyo for email marketing and automation.
This Google Tag Manager template enables seamless tracking of hotel booking events from popular Property Management Systems (PMS) and Booking Engines, sending structured data directly to Klaviyo.
- 🏨 Multi-Platform Support: Cloudbeds, Mews, and Guesty integrations
- 📊 Automatic Event Tracking: Viewed Listing, Started Checkout, and more
- 👤 Customer Identification: Automatically identifies guests with email/phone
- 🎯 Rich Event Data: Captures dates, pricing, guest count, property details
- 🔧 Easy Setup: Simple GTM installation with no coding required
Tracks events from Cloudbeds booking engine via GTM dataLayer events.
Tracks events from Mews Distributor (booking engine) via GTM dataLayer events.
Tracks events directly from Guesty booking via GTM and direct DOM elements.
| Event | Description | Trigger |
|---|---|---|
| Viewed Listing | Guest views property details | Property/room page view |
| Started Checkout | Guest begins checkout process | Checkout initiated |
Additionally, we will identify a guest on the checkout if they are anonymous after they fill in their email or phone number.
- Property name, ID, location
- Room/listing details
- Check-in/check-out dates
- Number of guests, nights, rooms
- Pricing information
- Guest contact information (email, phone, name)
- Active Klaviyo account
- Google Tag Manager installed on your website
- Supported booking engine (Cloudbeds, Mews, or Guesty)
- In Google Tag Manager, go to the Templates section in the sidebar
- Under Tag Templates, click "Search Gallery"
- Look for "Klaviyo Hotels Tracking"
- Install the template
-
Go to Tags → New
-
Click Tag Configuration
-
Select Klaviyo Hotels Tracking from your templates
-
Configure the following:
Required Fields:
- Klaviyo Public API Key: Your Klaviyo account public key (6-character code)
- Integration Name: Select your booking platform (Cloudbeds, Mews, or Guesty)
-
Triggering: Set to fire on All Pages or specific pages where your booking engine loads
- Click Save
- Submit your GTM container
- Publish changes
- Use GTM Preview Mode to test
- Complete a booking flow on your website
- Verify events appear in your Klaviyo account
- Log in to Klaviyo
- Go to Settings → Account → Settings → API Keys
- Copy your Public API Key (6-character code, e.g.,
ABC123) - Paste into the GTM tag configuration
Once events are flowing to Klaviyo, you can:
- Guests who viewed properties but didn't book
- Guests who started checkout but didn't complete
- Guests who booked specific property types
- Abandoned checkout recovery emails
- Post-booking confirmation and upsells
- Pre-arrival information and reminders
- Post-stay review requests
Use event properties in emails:
- Property name and details
- Booking dates and guest count
- Pricing information
- All modern browsers (Chrome, Firefox, Safari, Edge)
- Mobile browsers supported
- Minimal impact on page load
- Asynchronous event tracking
- No blocking operations
- Reach out to our support team at support@klaviyo.com
- Check out our help center Klaviyo Documentation
Copyright © Klaviyo. All rights reserved.
Version: 1.0.0 Last Updated: February 2026 Maintained by: Klaviyo