Follow these simple steps to add “event tracking” to the booking engine using Google Analytics:

  1. First find your Google Analytics tracking code, as described here: https://support.google.com/analytics/answer/1032385?hl=en
  2. Then go to Sirvoy under Settings -> Booking engine -> Manage booking engines and click “Edit”.
    Enter your tracking code under “Google Analytics ID” and save.
  3. You will now be able to track guest behavior in Google Analytics (from days date), under “Reports -> Behaviour -> Events -> Overview. Choose “Event action”.

analytics event

The following events are tracked:

  • page_search – indicates a visit on the search form of the booking engine
  • page_results – indicates a visit on the result page where the prices and rooms are displayed
  • page_details – indicates that the guest visited the guest details input form
  • page_payment – indicates that the guest is visiting the page with the option to pay at the external payment provider, and is viewing the provider’s payment option page. (This is the last event registered for most bookings if you are using a provider that forces the user to leave your page.)
  • page_confirmation – indicates that the guest has successfully paid, either without leaving the booking engine (such as when using Stripe) or via an external payment provider’s page, and then has clicked on the link “return to merchant”.
    For users who pay via the external payment provider’s page, this is not always done by the guest, so this event can be expected to be triggered very rarely in those cases. (Using Stripe as payment option may therefore be a beneficial choice if you want this event to be triggered.)
Note: The following events are not tracked in this feature:
booking_completed
page_thanks
Note: This built-in event tracking only tracks what page is loaded, and then it is up to you as the user to interpret what happened on the page depending on what your settings are regarding payments or prepayments, and your choice of payment provider.
Tip: If you would like a more advanced setup, such as also catching events like the above booking_completed and page_thanks, follow the instructions in this article. Notice that this needs to be done by a web designer.