Skip to main content
All CollectionsDirect booking
Set up Google Analytics 4 to track your booking engine’s conversion
Set up Google Analytics 4 to track your booking engine’s conversion

Integrate Google Analytics 4 with your booking engine to help track its traffic, performance, and conversion.

Updated over 5 months ago

Important to know:

  • To integrate Google Analytics 4 with your booking engine, you must first create a Google Analytics account, then set up a property and copy the Measurement ID (which will be used later).

  • If you are new to Google Analytics 4, we recommend reading this Google help article.

  • Our support team will only be able to guide you through the steps that need to be done from the SiteMinder platform’s side; not from Google Analytics 4’s side.

Integrate Google Analytics 4 with your booking engine

Step 1: Configure your property’s website

  1. In your SiteMinder platform, click on your property name > Property settings > Property details > Contact.

  2. Click on the Contact section’s edit button.

  3. Under Website, enter the URL of the page leading to your integrated booking engine, where you want to track conversion data from. (This will be the domain that guests land on via SEO and are able to use as an entry point to your booking engine.)

Step 2: Integrate Google Analytics 4 in Direct booking

  1. In your SiteMinder platform, click on Direct booking > Configuration > Plug-in apps > Google Analytics 4.

  2. Enter your Measurement ID — this can be found in your Google Analytics 4 account. (For more information, follow Google’s guide, Set up Analytics for a website and/or app.)

  3. Click on Enable — your clicks and conversions will now be tracked by Google Analytics 4, and you can analyse the data in the Google Analytics 4 platform.

Advanced post-integration setup

For further support with the ‘Advanced post-integration setup’ section, we recommend the following:

Step 1: Enable cross-domain tracking between your website and the booking engine

If your booking engine has domain masking for the Domain name — for example, ‘reservations.myhotelname.com’ — you can skip this step.

First follow the steps in the ‘Set up cross-domain measurement via the Admin’ section of this Google Analytics 4 article, then update Google Analytics 4 to enable cross-domain integration.

When following the guide and adding a condition under Include domains that match the following conditions follow the below steps.

  1. For Match type, choose Contains.

  2. In the Domain field, add one of the below depending on the location of your property:
    For APAC — book-directonline.com

    For EMEA and AMERS — direct-book.com

  3. If you are using a third-party payment gateway, repeat the same process outlined above, and for Domain, add your payment gateway’s domain, for example:
    BimoPay — bimopay.com
    Paydollar — paydollar.com
    PayPal — paypal.com

    Paystack — checkout.paystack.com
    PesoPay — pesopay.com

    SiamPay — siampay.com

To increase security for our customers and help ensure PCI Compliance, we are now using a separate web domain to process payments through the booking engine.

Step 2: Embed your customised code snippet on your website

If you are not tech-savvy, we strongly recommend contacting a webmaster or one of our expert digital marketing partners who will paste the code snippet into the body of your site. DO NOT make further alterations to the code snippet, as it may cause the integration to fail.

We also recommend contacting them if your existing Google Analytics 4 tracking code has been customised, and you may need to make more modifications to the code.

Follow these steps to copy the code snippet from Google Analytics 4:

  1. On Google Analytics 4, click on Admin.

  2. Under the Property column, click on Data streams.

  3. You should have already created a Web data stream, so click on a Web data stream. (A slider will open with the Web stream details.)

  4. Click on the View tag instructions button in the top left corner of the slider. (Another slider will open.)

  5. Click on Install manually.

  6. Copy the code using the copy icon in the text area.

You then need to take the code snippet from Google Analytics 4 and paste it into your property’s webpage. If you are using Website Builder, follow these steps:

  1. In your SiteMinder platform, click on My apps > Website Builder > Advanced settings > Third-party widget.

  2. Paste the code snippet into the entry field.

  3. Click on Save.

  4. Click on Publish. (It may take up to 15 minutes for the changes to go live.)

Note:

  • If you are not using Website Builder, contact your website administrator to add the code snippet to your property’s website.

  • We advise testing your integration regularly to ensure it is functioning correctly.

  • Data will start coming through to Google Analytics 4 up to 48 hours after integrating — to see it, go to Google Analytics 4 > Reports > Acquisition > All Traffic > Source / Medium, and select 'e-commerce' to see traffic from various sources.

Did this answer your question?