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

Prerequisites

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)

image1.png

 

Example URL
https://connect.shore.com/bookings/amaury-test/services?layout=nolayout&locale=de&origin=nolayout&theme_color=1162e5&utm_source=bing&utm_medium=cpc&utm_campaign=test

 


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

image2.png

 

Example URL
https://www.yourwebsite.expert/test?utm_source=bing&utm_medium=cpc&utm_campaign=test

 

 

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).

 

image3.png

 

 

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

image4.png

 

 

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}}

image5.png

 

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


image6.png

 

 

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.

 

image7.png

 

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? 1 von 2 fanden dies hilfreich

Kommentare