Google Tag Manager is a tag management system, allowing you to easily collect data based on triggers on your website or app.
Where do I find my Google Tag Manager ID
- Log into your Tag Manager and go to Workspace
- On the right-hand side, close to the top of the page you can see your ID, it will be something like this: GTM-XXXXX
How to connect your Google Tag Manager to you Bókun account:
Click on Online Sales Tools in the top bar and select Booking channel from the drop down list.
Select the title of the booking channel you would like to connect your Google Tag Manager to:
Click tracking on the left hand side panel. Then add your Google Tag Manager ID in field.
What can I track with Google Tag Manager
You can track different events with Google Tag Manager, as example you can track:
- Visitors reaching certain page, e.g. your booking page
- Visitors finalizing the booking process and reaching the confirmation page. For this you could use either URL tracking, “booking-receipt”, is a part of the URL of the confirmation page. Or you can use an event “Purchase” as a trigger.
You have access to all information about the checkout process in the window variable window.__widgetStore (notably window.__widgetStore.widgetCheckoutStore), NOTE that the data inside this object can change at any time
To see which events are sent in the Bókun Booking process, you can set up Tag Assistant by Google to go through your booking process and see which events you would like to track: https://chrome.google.com/webstore/detail/tag-assistant-by-google/kejbdjndbnbjgmefkgdddjlbokphdefk
The tag manager is a versatile tool and does allow you to use either predefined triggers or create your custom events. The connection is in place, and we recommend using available tools to test and find what works best for your website and booking process. Keep in mind, Bókun cannot be held responsible for what you set up in Tag manager will work or will work forever. Bókun only has the connection to Tag manager in place, then it is up to you to use the tool and maintain it as you see fit.
Useful information about Google Tag Manager
On Google you have to start by creating a tag manager account if you do not have one already: https://tagmanager.google.com/#/home
Triggers are something you can set up and customize within your Google Tag Manager. Here are more information from Google on trigger types: https://support.google.com/tagmanager/topic/7679108?hl=en&ref_topic=7679384 and how to add custom triggers: https://support.google.com/tagmanager/answer/7679219?hl=en&ref_topic=7679108