Adding Google Analytics to a Group Booking Engine

Follow

This article will explain 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:

<!-- 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 -->

Do not forget to enter your Google Analytics Tracking Code on the 4th line!

Click on the Save button.

Have more questions? Contact Support

Comments

Powered by Zendesk