How can I track online bookings using Google Tag Manager? (updated for Google Consent Mode V2)

3 steps to easily integrate conversion tracking within the Shore booking engine

Important: Your Google Tag Manager container (the one from your website) must be installed in your Shore booking engine as well.
Please contact our support so that we can install the container for you. Simply send us your container ID (GTM-XXXXXXX).

Important: we highly recommend to implement a GDPR compliant cookie banner compatible with Google Consent Mode V2. If not, you will not be able to make full use of Google Analytics and Google Ads.

To facilitate the integration, we included a template from the cookie banner Cookiebot in this tutorial. Please use this link to sign up so we can easily access your account if you need further support from our tracking specialist.
Please read the full article explaining how to implement the cookie banner

Step 1: Import of the GTM container template

You now have the option to import a pre-installed container with all Google tags, triggers and variables that can be used for the Shore booking engine. Once you have imported the tracking template, you only need to add your own IDs and your website url as described below.
Your tracking will work immediately!

  • If you want to know how to import a container into Google Tag Manager, please read this article. 

  • When you are ready, all you need to do is download this JSON file (right click and save file). Once downloaded, you need to import this file into your Google Tag Manager Workspace where you manage all your tags for your website and Shore.

Important: Please check your tags and variables to add your own Google IDs and website domains. The downloaded file is only a template and needs to be adapted with your own properties.

Step 2: Customize your tags and variables with your own ids/url


Google Ads Conversion Linker tag
 Conversion Linker Tag:

Google-Tag-Manager (1)


Google Ads Variables IDs

Google Ads Conversion ID:

EN-conv-id


Google Ads-Conversion-Label:



EN-label-id


Facebook Pixel


Important

In order to avoid 3rd party domain restrictions, we recommend that you place your Facebook conversion pixel on your own website instead of placing it on Shore booking engine located on connect.shore.com.

This means that you need to create your own thank you page (on your domain) and place the Facebook conversion pixel there. 

Fortunately, we have created a first setup for you. The only thing you need to do is add your Thank You page URL and your Facebook pixel id.

You can find all the details in the section called: Create your own Thank You page - Facebook tracking workaround

 

Facebook Pixel ID:

EN-variable-FB-id


Google Analytics (GA4) - Measurement ID

Here is where you can find the Measurement ID of GA4:

EN-GA4-measurement-id

EN-GA4-measurement-id2


Then go to Google Tag Manager and paste the Measurement ID in the field "Tag ID"

GA4 Config tag / Measurement ID

EN-GA4-id

 

Google Analytics (GA4) - Cross Domain

You need to customize your GA4 Measurement ID so it can support cross domain tracking (between your domain and shore domain on connect.shore.com).
Please read this article carefully to set up and test cross domain in GA4

EN-GA4-Cross-Domain

Step 3: Publish your GTM container !

Once you are done with the settings, do not forget to push your changes live!

submit-changes

 

Under the EU Cookie Law*, the cookie banner serves two purposes: 
  • to ensure that visitors to your site are informed about the use of cookies
  • to enable visitors to either accept or block Marketing and Analytics cookies (ex Google Ads, Google Analytics, usw)
The Cookie Law is a piece of privacy legislation that requires websites operating in the EU to get consent from visitors to store or retrieve any information on a computer, smartphone or tablet.