BookingSync generated website allows you to easily track everything you need.
Default Google Analytics setup
If you set up your Google Analytics in the preferences, we would maintain a good basic setup for you. To do it simply update this field:
Once set up we will add the following code automatically:
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', '{{site.google_analytics}}', 'auto'); ga('require', 'displayfeatures'); ga('send', 'pageview'); {% if current_page.controller == 'contact_requests' and notice %} ga('send', 'event', 'contact_request', 'sent'); {% endif %} </script>
Please note it includes a custom event when a "contact request" is successfully sent.
Here is a quick tutorial on how to get your key :
Track more events and data
If you like to listen to more events, feel free to edit your Liquid or Javascript files from the Technical documentation section.
You may also find it useful to listen to the Book Now widget events, that powers the price quotes and inquiries.
Comments
0 comments
Please sign in to leave a comment.