Integrations1 min read

Google Tag Manager Setup

Last updated April 1, 2026

Setting up Google Tag Manager

Prerequisites:

1. Google Tag Manager account (free at tagmanager.google.com)

2. GTM container set up for your website

3. Your Container ID (format: GTM-XXXXXX)

To enable GTM:

1. Go to Integrations tab in group settings

2. Click "Configure integration" on Google Tag Manager card

3. Enter your Container ID

4. Toggle "Active" to ON

5. Click "Save"

Container ID location:

  • Found in Google Tag Manager dashboard
  • Top of workspace (GTM-XXXXXX)
  • Also in container settings

What happens when enabled:

  • GTM code loads on your booking pages
  • All tags in your container fire as configured
  • Track conversions, page views, events
  • Data appears in connected analytics tools

Where to place GA4 tracking tag on website

  • If using an embedded booking iframe:
  • Place the GA4 Measurement ID inside OTC settings.

Add the following script to the same iframe script to pass tracking events:

window.addEventListener('message', function(e) {
	if (e.origin !== 'https://offthecouch.io') return;
	gtag('event', e.data.eventtype);
});