Segment & GTM

Marketplace admins

Send booking and visit events to Segment, and load your Google Tag Manager container on your booking page.

Related guide

In this article

Before you start

You'll need a marketplace admin role, plus a Segment workspace and/or a Google Tag Manager container. For the full list of events, see Analytics Events.

Step 1: Open Integrations

In the side menu, under Global, select Marketplaces, open your marketplace, then the Integrations tab.

Step 2: Connect Segment

  1. On the Segment card, select Configure, then Edit.
  2. Paste the write key from your Segment server source into v2 write key. This carries bookings, payments and visits.
  3. Optional: paste a Segment browser source key into v2 browser source to also track what clients do on your booking page.
  4. Turn on v2 enabled and select Update.

The Enabled (legacy server source) option is the older event format. New setups should use v2.

Step 3: Add Google Tag Manager

  1. On the Google Tag Manager card, select Configure.
  2. Enter your Container ID (GTM-…).
  3. Require marketing consent: marketing tags wait until the client agrees. Recommended.
  4. Enable GTM v2 (dataLayer events): pushes booking events into the dataLayer for your tags and triggers.
  5. Data tier: minimal sends counts and values only; commerce adds service (item) details for ad pixels.
  6. Consent token secret: only if you collect consent on a different domain than your booking page. Leave blank otherwise.
  7. Select Save.

Tips

  • Count revenue from Segment's server events, not page tags. Ad blockers can hide browser events.
  • Use Segment's debugger to watch events arrive after a test booking.

See NomadMD in action

Book a quick demo and we'll walk you through it for your practice.

Book a demo