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.
Go to Integrations
Navigate to Settings > Integrations.
Find GTM
Search for "Google Tag Manager" in the integrations list.
Enable GTM
Toggle the GTM integration on. Enter your GTM Container ID (format: GTM-XXXXXXX).
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.
Save
Click Save. GTM container loads on the booking page and data layer events begin firing.
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.
Updated May 12, 2026
Was this helpful?