ThinkReservations supports Google Analytics 4, also known as GA4, directly with your online booking engine.
Setup in Google Analytics
Set up cross-domain tracking in GA4 Admin by adding both your website domain and
thinkreservations.com
to the domain list.Add your website domain and
thinkreservations.com
to the unwanted referrals list in GA4.
Set up in ThinkReservations
The code to support GA4 is already added to the booking engine - it simply needs to be enabled in ThinkReservations with your unique ID from Google. Follow these steps to start using your GA4 account with your ThinkReservations booking engine:
Locate your Measurement ID, also known as your "G-ID", in your Google Analytics account for step 3 below.
Log in to ThinkReservations and navigate to Settings > Business Settings
Paste your ID into the Measurement ID field and click Save.
➡️ This typically starts with "G-" followed by 10 letters and numbers.Click Save.
Once you complete the above steps, data from the Booking Engine will be shared with Google for tracking. Initially, it may take up to 24 hours to see data in your Google Analytics account.
Technical Notes:
ThinkReservations sends a "purchase" event via code in the online booking engine.
gtag('event', 'purchase', {
currency: 'USD',
transaction_id: reservation.confirmationId,
value: reservation.subTotal,
tax: reservation.taxes,
items,
});
The purchase event includes the following information:
Confirmation ID
Subtotal
Total taxes
Room/Items