The Cloudbeds PMS has a new look! As we work to update our knowledgebase some steps in our articles might not match our new design. Click here for more details.

How to Add Google Analytics to a Group Booking Engine

Follow

This article explains how to add a Google Analytics Tracking Code to a Group Booking Engine.

The group booking engine is a different HTML markup than the individual property. In fact, if you click through to a property from the group booking engine, it's the mark up from the Group booking engine. Because it is different HTML, the tracking code for google analytics should be added to the Meta Tag section of the group booking engine.

First, go to your Group Settings page. Your URL is similar to this: https://YOURGROUP.cloudbeds.com/manage/profile

Then, click on Customize Booking Engine:

Copy and paste this code into the Custom Meta Tags field:

Remember to enter your Google Analytics Tracking Code on the 4th line!

<!-- Google Analytics -->
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-TRACKING-ID', 'auto', {'allowLinker': true}); 
 ga('require', 'linker');
 ga('linker:autoLink', ['cloudbeds.com'], false, true);
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<!-- End Google Analytics -->

Keep in mind that if you have multiple myfrontdesk accounts, the same Google Analytics code should be added in every account:

  1. Under the Booking Engine section, click on Analytics
  2. Add the Google Analytics Tracking ID

Click on the Save button.

Troubleshooting

Visit the following article to check Google Analytics Troubleshooting for Group of Properties

Powered by Zendesk