Google Analytics for mybookings


You can track your booking engine visits, conversion rate and collect other data by entering a Google Analytics tracking ID into myfrontdesk.

Note: This article will walk you through the basics of adding a google analytics tracking ID to your mybookings page. To learn about how to setup and use Google Analytics, please consult the following resources:

1. Enter your Google Analytics tracking code on your website

As the first point of contact to your guests, you should add Google Analytics tracking to your own website. You should be using Global Site Tag or Google Tag Manager for that. Also, cross-domain tracking should be enabled since Cloudbeds' mybookings (our booking engine) is hosted in a different domain as yours.

To do so, follow the instructions below:

If you have been using Google Analytics for a while you might be still using the Classic version. Please continue reading this article to learn how to update your tracking code.

For Wordpress

If your website is built in Wordpress, we recommend you use this plugin to add your tracking code.

After installing, make sure you turn on "use global site tag gtag.js" under Basic Settings and "enable cross domain tracking:" under Advanced Settings.

If you choose a different plug-in, make sure you're using Global Site Tag (gtag.js) and add for Cross-Domain tracking.


If your website is not designed for Wordpress or services like Wix and Squarespace, you may need to enter the code manually. If you need assistance on this, please contact a web designer.

This code is slightly different from the one provided by Google. It includes a cross-domain instruction, meaning that when a visitor from your website ( continues to the booking engine (hosted at, Google Analytics will know it is the same visitor.

Copy the tracking code below, enter your Tracking ID and paste it into the HTML of your web page just before the closing head tag.

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src=""></script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA-TRACKING-ID', {
  'linker': {
    'domains': ['']
<!-- End Google Analytics -->

Your web designer will be able to help you with this step. Google provides plenty of tutorials and instructions as well.

Using Google Tag Manager

If you are using Google Tag Manager in your website make sure your settings include allowLinker and Auto Link Cross Domains. These settings are either in your Tag or Variables Configuration:

  1. More Settings > Fields to Set > allowLinker: true
  2. More Settings > Cross-Domain Tracking > Auto Link Domains:

2. Enter your Tracking ID in myfrontdesk

  1. In your Cloudbeds' account, go to Manage > Analytics (under Booking Engine)
  2. Enter your Tracking ID (Where can I find my Tracking-ID?)
  3. Enter your website domain

3. Set up your Google Analytics

3.1. Enable E-Commerce Reporting

If you haven't enabled E-Commerce Reporting on Google Analytics, you won't be able to see detailed reports from your reservations.

You need to enable Ecommerce for each view in which you want to see the data.

  1. Sign in to Google Analytics.
  2. Click Admin, and navigate to the view you want.
  3. In the VIEW column, click Ecommerce Settings.
  4. Set Enable Ecommerce to ON.
  5. Optional: Set Enable Related Products to ON.
  6. Click Next step.
  7. Click Submit.

In a few days, you should start seeing these reports under Conversions > Ecommerce > Overview

3.2. Exclude referrals from your website
  1. Sign in to your Analytics account.
  2. Click Admin.
  3. In the ACCOUNT column, use the dropdown to select the Analytics account that contains the property you want to work with.
  4. In the PROPERTY column, use the dropdown to select a property.
  5. Click Tracking Info.
  6. Click Referral Exclusion List.
  7. To add a domain, click +ADD REFERRAL EXCLUSION.
  8. Enter the Domain name for your website (
  9. Click Create to save.
  10. Repeat the process and add
3.3. Set up Goals (Optional)

If you wish to create a Goal for every time a reservation is finalized, you can do so by adding the regular expression /reserv.*con.* in the Goal Details.

Use this expression to account for all possible languages our booking engine can use.

4. Test your configuration

To make sure everything is configured correctly, you can use the Google Tag Assistant extension for Chrome.

 To learn how to test your Google Analytics setup, please read this article from the Analytics Help Guide.

Things to Note

  • By adding your Google Analytics tracking code in your myfrontdesk configuration, you will only be tracking visitors and reservations from the moment the visitor arrives at the booking engine. To track visits to your own website you must add the tracking codes to it as well.
  • If you don't see any Ecommerce or Goals results in your Analytics report, check if you have received any Website reservations during that period. You could also make a test reservation to verify if it is tracking properly.
  1. I configured Google Analytics in myfrontdesk, but I only see the booking engine page as visited on my reports
    • You must configure Google Analytics in your website as well and it must include cross-domain instructions as explained in the first chapter of this article.
Have more questions? Contact Support


Powered by Zendesk