Nov 04, 2020

How-to Setup Google Tag Manager to Receive Trip Confirmation Number and Trip Cost

Sign in to Google Tag Manager using your existing Google account. If you do not have a Google Account, you should create a new one. https://tagmanager.google.com/
 

Once signed in, select “Create Account” which will take you to the “Add a New Account” page. This page will allow you to create a new entry in Google Tag Manager to configure with your ORES. 

Fill in the Account Name section to whatever name you want.

Give your containment name the URL of your Online Reservation Page. This will be book.mylimobiz.com/v4/companyID. Be sure to replace the words companyID with your actual company ID. Also be sure to not include the https:// in front of book.mylimobiz.com/v4/companyID

Select ‘Web’ for your target platform and click ‘Create’.

Now you will be at your Google Tag Manager dashboard. Your dashboard will show you your GTM code. Please copy the numbers that are after the G- in your code. 

This code will be placed in your Limo Anywhere ORES 4 settings. 

Log into your Limo Anywhere account and go to My Office → Company Settings→ Online Reservation System → ORES 4 → Analytics. Place your GTM code in the Tag Manager Code Box and click ‘Update’. 

Now when your  ORES is loaded by a user, Google Tag Manager has the capability to send and receive data to and from your website. 

 

The latest update we put out with ORES 4 allow Google Tag Manager to read variables about confirmation # and trip cost. These variables can be input into custom scripts that transfer the data into Online Affiliate Marketing Programs, Ecommerce Analytics, or any other custom scripts. 

 

How to set up your custom variables to be exposed to google tag manager

On the final step of the booking process, we push 2 pieces of information to the web browsers data layer. Google Tag Manager can be configured to read these variables from the data layer. Currently the two variables are:

 

  1. transactionID – represents the trip confirmation number
  2. transactionTotal – represents the final trip cost

 

To add these to Google Tag Manager to be available to use, go to your variables section of your GTM dashboard. 

Under the “user defined variables” section click the new button 

Select “Choose a variable type to begin with” then on the right panel choose the variable type of “Data Layer Variable”

 

Now input the name of the one of the variables provided by your ORES. In the example below we start with transactionID and we give the variable an internal name of “confirmation”

Repeat this process with transactionTotal and you will have two variables available now. 

Now you have variables available to use in Google Analytics Scripts and other custom scripts provided by services like Affiliate Marketing. 

 

To reference these variables in code you must use the format {{