How to install Google conversion tracker into booking engine

If you use your custom booking engine to connect properties to Google Hotel Ads, you must implement Google conversion tracker into your booking engine. This is necessary if you're going to use CPC model advertising campaigns.




To implement Google conversion tracker into your booking engine you need to complete the steps below:

1. Enter your Google Ads Account
2. Go to Tools&Settings > Measurement > Conversions
To implement Google conversion tracker into your booking engine you need to complete the steps below:

1. Enter your Google Ads Account
2. Go to Tools&Settings > Measurement > Conversions







3. Open the Conversion Actions tub and press "+"
3. Open the Conversion Actions tub and press "+"







4.Choose the website
4.Choose the website







5. Choose a "Purchase"category on the next step
5. Choose a "Purchase"category on the next step







6. Choose "Use the different value for each conversion" and choose the count "One"
6. Choose "Use the different value for each conversion" and choose the count "One"






7. Set up a click-through conversion window "Custom" = 1 day, View-through conversion window = 1 day, Include in "conversions" = Yes, Attribution model = Last click and press "Create and continue "
7. Set up a click-through conversion window "Custom" = 1 day, View-through conversion window = 1 day, Include in "conversions" = Yes, Attribution model = Last click and press "Create and continue "







8. Choose the installation type "Add the tag into your website code"
8. Choose the installation type "Add the tag into your website code"








9. Choose code for HTML and Global site tag for all HTML pages
9. Choose code for HTML and Global site tag for all HTML pages








10. Event snippet - choose Click
10. Event snippet - choose Click







11. Copy the snippet and implement it into your booking engine to the final reservation step
12. Press "Next" and "Done"
Snippet example:

<!-- Global site tag (gtag.js) - Google Ads: 738010615 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-738010615"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'AW-738010615');
</script>



<!-- Event snippet for "conversion name" conversion page -->
<script>
  gtag('event', 'conversion', {
      'send_to': 'AW-738010615/f9vnCIyku6kBEPfL9N8C',
      'value': 1.0,
      'currency': 'RUB',
      'id': ''
  });
</script>

To learn more about our booking engine, to get demo or commercial terms, please do not hesitate to contact us!

yana.p@otagateway.com

See you soon!
Did you like this article?