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

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.

If you have been using Google Analytics for a while you might be still using the Classic version. Please upgrade to the new version by following instructions here. After this is done please make sure you update the tracking code on your website.

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.

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

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

3. 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
4. Enable E-Commerce on Google Analytics

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

Setting up Goals

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

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

  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