You can integrate Google Analytics Tracking codes into your booking process to gather data on your customer's behaviour.

Bókun has built-in integrations to:

  • E-Commerce tracking, allows you to track the numbers of transactions and calculate conversions.
  • Enhanced E-Commerce Tracking allows you to track the booking process, what products were added to the shopping cart, updated and deleted from the cart etc.

Integrating the Google Analytics Tracking Code allows the widgets to have access to the campaign parameters from the parent site, among others to Google Ads.

Also, it is possible to connect the booking widgets to Google E-commerce Tracking (Read more about it here).

How to connect Google Analytics to your widgets

To connect your E-Commerce tracking to Bókun you need add your Google Analytics tracker ID code to your booking channel and define your tracking type (E-Commerce tracking or enhanced E-Commerce tracking).

Where do I find my Google Analytics code?

1. Sign in to your Analytics account.
2. Click All Web Site Date

3. There you can see your Google Analytics ID. It should be in the format of

How to connect Google Analytics to your widgets

  1. Click Online Sales Tools in the top bar

2. Select a booking channel you'd like to add Google Analytics to from the drop-down and click Edit channel

3. Click Tracking on the left hand side panel. Then enter your Google Analytics tracker ID and select the type of e-commerce tracking. Remember to click Save & Continue.

How to connect Google Analytics to OLD WIDGETS

To connect your E-Commerce tracking to Bókun there are two things you need to complete:

  1. Add your Google Analytics tracker ID (find it here) code to your booking channel and define your tracking type (E-Commerce tracking or enhanced E-Commerce tracking).
  2. Create a Receipt widget and add the third booking step to your online booking process. The online booking process can include 3 widgets. The receipt widget tracks the conversion and properties of the booking which are then measured by Google Analytics.

Step 1: Add your GA tracker ID and define your tracking type

To enter your booking channel select the gear icon and then you select “Widget” from the side bar.

Select the booking channel you would like to add the Ecommerce tracking to.

When you have opened the booking channel you have first the parameters for the booking channel. At the bottom of the page you have a section called T"Tracker" where you set the parameter for your E-Commerce tracking.

GA tracker ID: Add to this field the tracker number for you E-Commerce account. The number is going to be something similar to this: UA-12345678-1

GA tracking type: Here you select the type of tracking you are adding. Here you have the options of selecting "E-Commerce Tracking" or "Enhanced E-Commerce Tracking".

When you have added your ID and selected the type, Save before continuing to the next step.

Step 2: set up your booking receipt widget and embed it to your website.

In this step you are creating the last step in the booking process where the customer will get his online payment receipt/booking confirmation. What you will be doing is to create a widget, which is the booking confirmation, creating a website to embed the receipt to and linking the website to the booking process, so the customer will be redirected to the right place.

To create (or embed it if you have already created the widget) your booking receipt widget start by selecting "the name of your company" on the top bar and select "widgets" from the drop down list.

If you do not have a widget that is a "Booking receipt" you have to create it. To create the widget select "Add" by widgets at the top of the page.

From the list of possible widget types to create select "Booking Receipt"

The only parameters you have to set to create a Booking Receipt widget is to give it a name. The other options you have are to add CSS or JavaScript to edit the look and feel of the widget.

When you have saved the widget you go back to list of widgets you have created and your new booking receipt widget should be on that list now.

To be able to use the Booking Receipt widget to track to the last step, it has to be added to your booking process. To do that you have to do this:

Set up a Thank You for Booking site in your CMS (content management system, e.g. WordPress, Joomla, SquareSpace, or whatever system you use to manage your website). You have to create this site to embed the booking receipt widget to. After payment your customer will be redirected to this page and will see the confirmation of his booking on your site. 

Copy the link to this new thank-you site and paste it to your checkout widget in the Success URL field. Doing this will cause the customer to be redirected after payment, to your new thank-you page.

Select the name of your checkout widget from the list of widgets to edit the parameters: 

When you have opened the settings page for your widget, scroll half down the page until you get to "Success URL". Paste the link to your new thank-you page, to the Success URL field. Scroll to the bottom and save. 

The third and last step, is to embed the booking receipt widget to your new thank you site. To do that select "Embed widget" in the booking receipt line. 

On the Embed site, the only thing you have to select, before generating the embed code is Booking Channel. 

The rest of the setting, depend on your language and currency settings. 

When you have selected the booking channel from the drop down list, select the blue "Generate embed code" button. 

The code that appears in the box, when you select the blue "Generate Embed" code button is the code that you will copy and embed to your new thank-you website. 

When these steps have been completed your E-Commerce should be set up, and be functioning on your Google Analytics site.

Here is an example of how your booking receipt will look like on your new thank-you site.

How to use Google Analytics

Below are three videos that show how you can use Google Analytics and Bókun. Google Analytics gives you the tools you need to better understand your customers. You can then use those business insights to take action in Bókun, increasing your distribution channels, connecting to vendors through the Marketplace and adding online booking engines to your website.

Did this answer your question?