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

Bókun has built-in intergrations to:

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

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

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

To connect your Ecommerce 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 (Ecommerce tracking or enhanced Ecommerce 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 "Cog wheel in top right corner" 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 Ecommerce tracking.

GA tracker ID: Add to this field the tracker number for you Ecommerce 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 "Ecommerce Tracking" or "Enhanced Ecommerce Tracking".

When you have added you 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) you booking receipt widget start by selecting "the name of you 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 you 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 Ecommerce 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.

Did this answer your question?