How can I see my bookings into Google Analytics and see which campaign performs the best?


In order to set up Google Analytics tracking, you need:

  • Google Analytics
  • Google Tag Manager


Important: You need to have the same Google Tag Manager container on your website and on your booking widget. Please get in touch with our customer support so we can install it for you.


Setup: 2 scenarios

This tutorial describes how to set up a simple Google Analytics Event Tracking on the last step of the booking process. It will allow you to track all your client´s bookings and have some visibility on your top marketing campaigns. The solution includes two possible scenarios. In both cases, Google Ads Auto Tagging or Google Analytics UTM parameters must be added.


Scenario 1: Direct link from a marketing campaign to the booking widget page or to a page with a link to the booking widget (page mode)



Example URL


Scenario 2: Link from a marketing campaign to a page that includes the booking widget as an iframe (iframe mode)



Example URL



Steps in Google Tag Manager


1. Create a Custom Event trigger

All the steps in the booking process have the same event name. The name is “event-to-ga”. Therefore, the Custom Event trigger of your tag must be “event-to-ga”. This trigger will work in both scenarios (page or iframe).





2. Add the variables from the Data Layer

Before creating your tag, you need to make sure that you can use the variables below which come from the data layer. To do this, you need to add the following User-Defined Variables (Data Layer Variables).

  • eventAction
  • eventCategory
  • eventLabel
  • eventValue




3. Create a Google Analytics Event Tag

In Google Tag Manager, go to Tags and create a new Google Analytics Event Tag. Add the different DataLayer variables you just created to your Google Analytics Event Tag:

  • Category: {{eventCategory}}
  • Action: {{eventAction}}
  • Label: {{eventLabel}}
  • Value: {{eventValue}}



Under Triggering, add the Custom Event trigger you created before.



Steps in Google Analytics


1. Create an Event Goal

Now you need to create a Goal in Google Analytics to trigger the successful completion of the booking process.

All the event names are the same for both scenarios (page or iframe), except for the eventAction:

  • page: eventAction: “Widget(page)”
  • iframe: eventAction: “Widget(iframe)”

If you want to create one Goal for both scenarios, you need to trigger both scenarios.  Alternatively, you can also create one Goal for each scenario.


Fill in the fields as follows to set up a common Goal for both scenarios (page and iframe):

  • Category / Equals to / Booking
  • Action / Begins with / Widget
  • Label / Equals to / booking-success
  • Value :

Use the event value as the Goal Value for the conversion: YES




2. Check the marketing source

Once you've created a Goal and received some conversions, you can check the conversion sources under Conversions > Goals > Overview.




Important: In order to get the right conversion source for non Google Ads campaigns, you always need to add UTM parameters at the end of your URL!


War dieser Beitrag hilfreich? 2 von 4 fanden dies hilfreich