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 Cloudbeds PMS accounts, the same Google Analytics code should be added in every account:
- Under the Booking Engine section, click on Analytics
- 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
Comments
Please sign in to leave a comment.