← Tracking

Google Tag Manager Setup

Google Tag Manager lets you manage tracking scripts, Google Ads conversions, GA4 events, and other marketing tags without editing your website code every time.

LimoSuite can load your GTM container automatically and push booking events into the dataLayer during the booking flow.

What You Need

Before starting, you need:

  • A Google Tag Manager account
  • A GTM container ID
  • Access to your WordPress admin
  • Access to LimoSuite settings

Your GTM container ID looks like this:

GTM-XXXXXXX

Step 1: Find Your GTM Container ID

Log in to Google Tag Manager.

Open your container.

In the top-right area, copy your container ID.

Example:

GTM-ABC1234

Do not use the example ID. Use your real GTM container ID.

Step 2: Open LimoSuite Tracking Settings

In WordPress admin, go to:

LimoSuite → Settings → Tracking

Find the field:

Google Tag Manager Container ID

Paste your GTM ID.

Example:

GTM-ABC1234

Step 3: Enable GTM

Turn on:

Load GTM on all frontend pages

This allows LimoSuite to load Google Tag Manager across your website, including the booking flow.

Step 4: Enable Booking Funnel Events

Turn on:

Track booking funnel steps

This allows LimoSuite to send booking step events into the dataLayer.

The booking funnel events are:

booking_started
ride_details_completed
vehicle_selected
passenger_selected
checkout_started
limosuite_purchase

Step 5: Enable Purchase Tracking

Turn on:

Track paid booking purchases

This allows LimoSuite to send a purchase event when a paid booking is completed.

The purchase event is:

limosuite_purchase

The event can include:

transaction_id
booking_id
value
currency
service_type
pickup_address
dropoff_address
pickup_date
distance_miles
duration_minutes
passengers
bags
vehicle_name

Step 6: Enable Enhanced Conversions

Turn on:

Send Enhanced Conversions customer data

When enabled, LimoSuite can send customer billing data into the dataLayer for Google Ads Enhanced Conversions.

This may include:

email
phone_number
first_name
last_name
street
city
region
postal_code
country

This data is intended for Google Ads Enhanced Conversions setup inside Google Tag Manager.

Step 7: Save Settings

Click:

Save Changes

After saving, open your website in a browser.

Step 8: Confirm GTM Is Loading

Open your website.

Right-click the page and click:

View Page Source

Search for:

googletagmanager.com/gtm.js

You should see your GTM container ID in the source.

Example:

GTM-ABC1234

If you still see:

GTM-XXXXXXX

then the real GTM ID has not been added yet.

Step 9: Test Booking Events

Open the booking page.

Open the browser console.

Run:

window.dataLayer.filter(x => x.event).map(x => x.event)

After going through the booking flow, you should see something like:

[
  "gtm.js",
  "booking_started",
  "ride_details_completed",
  "vehicle_selected",
  "passenger_selected",
  "checkout_started",
  "limosuite_purchase"
]

If you only see:

["gtm.js"]

then GTM is loading, but booking events have not fired yet.

Go through the booking form steps again and test after each step.

Step 10: Test the Purchase Event

After completing a paid booking, run this in the browser console:

window.dataLayer.find(x => x.event === 'limosuite_purchase')

You should see a purchase event similar to:

{
  event: "limosuite_purchase",
  transaction_id: "LS-260709-HBRR30",
  booking_id: "LS-260709-HBRR30",
  value: 91.69,
  currency: "USD",
  service_type: "point-to-point",
  pickup_address: "123 Main Street, Anytown, ST 12345 US",
  dropoff_address: "JFK – John F. Kennedy International Airport",
  pickup_date: "2026-07-09T14:30:00.000Z",
  passengers: 1,
  bags: 0,
  vehicle_name: "Luxury Sedan"
}

Step 11: Make Sure Purchase Fires Only Once

Run:

window.dataLayer.filter(x => x.event === 'limosuite_purchase').length

Expected result:

1

If the result is higher than 1, the purchase event is firing more than once and should be reviewed.

Step 12: Use GTM Preview Mode

Open Google Tag Manager.

Click:

Preview

Enter your website URL.

Go through the booking flow.

In GTM Preview, click the event:

limosuite_purchase

Confirm that your Google Ads conversion tag fires on this event.

Recommended GTM Triggers

Create Custom Event triggers for:

booking_started
ride_details_completed
vehicle_selected
passenger_selected
checkout_started
limosuite_purchase

For Google Ads purchase conversion tracking, the most important trigger is:

limosuite_purchase

Recommended Data Layer Variables

Create these variables in GTM:

transaction_id
booking_id
value
currency
service_type
pickup_address
dropoff_address
pickup_date
distance_miles
duration_minutes
passengers
bags
vehicle_name
user_data.email
user_data.phone_number
user_data.address.first_name
user_data.address.last_name
user_data.address.street
user_data.address.city
user_data.address.region
user_data.address.postal_code
user_data.address.country

Admin Testing Note

If this setting is enabled:

Disable tracking for administrators

then tracking events will not fire while you are logged in as a WordPress administrator.

For testing, either:

  • Temporarily disable that setting, or
  • Test in an incognito browser window, or
  • Test as a non-admin customer

Debug Mode

If you enable:

Tracking Debug Mode

LimoSuite will log tracking events in the browser console.

Example:

[LimoSuite Tracking] limosuite_purchase

This is useful when testing GTM, GA4, Google Ads, or Enhanced Conversions.

Troubleshooting

GTM does not appear in the page source

Check that:

  • The GTM container ID is entered correctly
  • “Load GTM on all frontend pages” is enabled
  • Your cache has been cleared
  • The page is not blocked by a performance or security plugin

Only gtm.js appears in the dataLayer

This means GTM loaded, but booking events have not fired yet.

Check that:

  • You are testing on the booking page
  • You completed booking form steps
  • “Track booking funnel steps” is enabled
  • You are not logged in as admin while admin tracking exclusion is enabled

Purchase event does not fire

Check that:

  • “Track paid booking purchases” is enabled
  • The booking payment was completed
  • The confirmation step loaded successfully
  • The browser console has no JavaScript errors

Enhanced Conversions data is missing

Check that:

  • “Send Enhanced Conversions customer data” is enabled
  • Billing email and phone are entered during checkout
  • Your GTM Enhanced Conversions variables are mapped correctly

Summary

To set up Google Tag Manager with LimoSuite:

  1. Add your GTM Container ID.
  2. Enable sitewide GTM.
  3. Enable booking funnel events.
  4. Enable purchase tracking.
  5. Enable Enhanced Conversions if needed.
  6. Test the dataLayer.
  7. Create GTM triggers and tags.

Once complete, LimoSuite can send booking funnel and purchase data to Google Tag Manager for GA4, Google Ads, and conversion tracking.

Last updated on