Rex

Google Tag Manager (GTM) setup

Google Tag Manager lets you deploy marketing and analytics tags on your booking pages without code changes. Rex pushes data layer events to GTM for you to use in tag triggers.

1

Go to Integrations

Navigate to Settings > Integrations.

Settingsโ€บIntegrations
2

Find GTM

Search for "Google Tag Manager" in the integrations list.

Settingsโ€บIntegrations
3

Enable GTM

Toggle the GTM integration on. Enter your GTM Container ID (format: GTM-XXXXXXX).

Settingsโ€บIntegrations
4

Select tracking events

Choose which booking page events to push to the data layer: Page Visited, Reservation Confirmed, Package Card Expanded, Time On Package Selected, Add Ons Page Visited, Add On Selected.

Settingsโ€บIntegrations
5

Save

Click Save. GTM container loads on the booking page and data layer events begin firing.

Settingsโ€บIntegrations
6

Set up tags in GTM

In Google Tag Manager, create triggers based on the data layer events (e.g. event: "purchase") to fire GA4, Meta Pixel, or other tags.

Settingsโ€บIntegrations

Updated May 12, 2026

Was this helpful?