All Collections
Integrations
Google Analytics
Integrating Google Analytics 4 (GA4)
Integrating Google Analytics 4 (GA4)
Updated over a week ago

ThinkReservations supports Google Analytics 4, also known as GA4, directly with your online booking engine.

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:

  1. Locate your Measurement ID, also known as your "G-ID", in your Google Analytics account for step 3 below.

  2. Log in to ThinkReservations and navigate to Settings > Business Settings

  3. Paste your ID into the Measurement ID field and click Save.
    ➡️ This typically starts with "G-" followed by 10 letters and numbers.

  4. Click Save.

Once you complete the above steps, data from the Booking Engine will be shared with Google for tracking.

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

Universal Analytics Notes:

  • You will be able to view Universal Analytics data for at least 6 months after (January 2024, or April 2024 for 360).

  • ThinkReservations will deprecate the old code for Univeral after the April 2024 cutoff.

  • You can use Universal Analytics and Google Analytics 4 simultaneously.

  • For more on Google Analytics, please work with your marketing team or webmaster.

Did this answer your question?