Knowledgebase
Maestrel > Help Desk > Knowledgebase

Browse our knowledgebase...




 
Knowledgebase » How to ... »

How to track conversions in HBook with Google Analytics?

Answer

How can I track conversions? I would wish to use Google Analytics to track conversions, where should I insert my script?

You can use HBook global function "hbook_reservation_done" to insert your Google Analytics tracking code. It will be triggered each time a reservation is done.

Please check here  in the documentation for more detailed information. Your Analytics code is to be added instead of my_js_function() in the given example.

Related articles How to track conversions with GA4?
How can I get a Google Map API key? The map is not displayed.
How to create my Google Map API key?
Google Maps: The map is greyed out with a message stating "This page can't load Google Maps correctly"
How to sync with Google Calendar? How to set up the iCal synchronization with Google Calendar?
Themes Booking Plugin Pricing Blog Contact