---
title: Google Tag Manager Integration
url: https://guestcentric-help.guestcentric.net/en/integrating-guestcentric-datalayer-with-google-tag-manager-gtm
language: en
is_homepage: false
hotel: GuestCentric Support Page
city: Alges
country: Portugal
phone: "+351 21 036-0906"
email: support@guestcentric.com
---

# GuestCentric Support Page

 menutoggle

[Attend Guestcentric Webinar](mailto:support@guestcentric.com?subject=Attend Guestcentric Webinar)

# Google Tag Manager Integration

 
[HOME](https://help.guestcentric.com/hotel-overview.html) > [Google Analytics and Tag Manager](https://help.guestcentric.com/integration-ga4-and-gtm) > Integrating Guestcentric DataLayer with Google Tag Manager (GTM)

 
This guide outlines the standard DataLayer events and structure used in the hotel booking engine for integration with Google Tag Manager.

 
**Google Tag Manager (GTM) is a third-party tool provided by Google.**

 
Our team provides this DataLayer documentation as a reference guide only. We do not offer direct implementation, configuration, or troubleshooting support for Google Tag Manager tags, triggers, or variables. For GTM-specific setup and technical assistance, please refer to Google's official GTM documentation and support channels.

 
## E-commerce Events

 
The booking process is tracked through a sequence of three events:

 
**1. Begin check-out event**

 
**- Event name:**begin_checkout**- Trigger:**When the user starts the checkout process 
**- Purpose:**Standard Ecommerce tracking

 
**2. Add-payment event**

 
**- Event name:**add_payment_info**- Trigger:**When the user adds payment information**- Purpose:**Standard Ecommerce tracking

 
**3. Purchased Event (GA4 Enhanced Ecommerce)

- Event name:** purchase**- Trigger:** Fired separately after booking completion**- Purpose:** GA4 Enhanced Ecommerce compatibility

 
---

### Key DataLayer Objects (Booking Completion: Purchased Event) 

 
The**purchased event****﻿**provides a comprehensive data structure for successful reservations, organized into specific objects:

 
1. Reservation Details (gcReservation): This object contains core booking information

 
- **code**: Hotel reservation code (e.g., 'BOOKING_12345')
- **propertyName**: Hotel name (e.g., 'Grand Hotel')
- **offer**: Room type rate plan name (e.g., 'Deluxe Room - Best Available Rate'
- **checkin/checkOut**: Dates in YYYY-MM-DD format
- **nights**: Number of nights calculated from dates
- **adults/children**: Number of guests
- **addons**: Array of addon objects, including name and netPriceTotal

 
2. Price Details (gcPrice): All monetary values are in the currency specified in the currency field

 
- **currency:** Currency code (e.g., 'USD')
- **total:** Total price including taxes and fees (e.g., $949.97)
- **net:** Net price before taxes/fees (e.g., $849.97)
- **taxes / fees:** Total amounts for taxes and fees
- **perUnit:** Price per unit (room)

 
3. Guest Information (gcGuest): Contains primary guest details

 
- **name:** Full name (e.g., 'John Doe')
- **city, zip, country:** Location information
- **payment:** Payment method name (e.g., 'Visa')

4. Metadata & UTM Parameters: Includes system information and marketing campaign details

 
- **gcReferer:** Booking referrer URL (e.g., 'https://google.com')
- **gcChannelKey:** Booking channel identifier (e.g., 'direct_booking')
- **utm_source, utm_medium, utm_campaign, utm_content**: Standard UTM parameters captured from the current route query

 
---

**Data object definitions**: [Click here](https://drive.google.com/drive/u/0/folders/1PuK9dbV41echEPcEFlIqNY__VP4di1Ir) (The PDF is located in a shared drive, and authorization is required to access it)

 
---

#### Implementation Notes

 
- All montery values are in the currency specified in the currencey field
- Dates are in YYYY-MM-DD format
- The nights value is automatically calculated from check-in/check-out dates
- transactionProducts includes both rooms and addons items
- UTM parameters are capture from the current route query parameters
- **Events only fire when analytics cookies are accepted by the user**

 
---

## Do you have any other questions regarding GTM tracking?

 
#### Contact our support, and we will happily to help support@guestcentric.com

- [Self Service Portal](http://support.guestcentric.com)
- [Accounting - Billing Information](https://www.guestcentric.com/payment-methods)
- [Contact Us](https://www.guestcentric.com/contact-us)
- [Log-In](https://login-emea01.guestcentric.net)

[Guestcentric](//www.guestcentric.com/) 
- [About us](//www.guestcentric.com/about-us/)
- [Blog](//www.guestcentric.com/blog/)
- [Billing Information](//www.guestcentric.com/billing-information/)
- [Terms of use](//www.guestcentric.com/terms-of-use/)
- [Newsletter Sign Up](//www.guestcentric.com/contact-us/newsletter-signup/)

**UNITED STATES**
**San Diego**
 7752 Fay Ave, Suite L
 La Jolla, San Diego, CA 92037
 T. +1 (858) 900 2400

**New York**
 104 West 40th Street, Suite 400
 New York, NY 10018
 T. +1 (858) 900 2400

**PORTUGAL**
**Lisbon**
 Avenida Jose Gomes Ferreira 9
 Miraflores 1495-139 Lisboa
 T. (+351) 21 036 0906

---

## GuestCentric Support Page

**Address:** Avenida Jose Gomes Ferreira 9 Miraflores, Alges, 1495-139, Portugal

**Phone:** +351 21 036-0906

**Email:** [support@guestcentric.com](mailto:support@guestcentric.com)
