How to Set Up GTM on the AirHost Booking Engine: Track Direct Bookings in GA4 [2026]

How to Set Up GTM on the AirHost Booking Engine: Track Direct Bookings in GA4

How to Set Up GTM on the AirHost Booking Engine: Track Direct Bookings in GA4 [2026]

Last updated: August 21, 2026

Adding Google Tag Manager to your AirHost Booking Engine takes one step: paste your GTM ID into the "Google Tag Manager ID" field in the admin panel and save. You never touch the HTML snippet. What you do need to handle yourself is everything on Google's side — the GA4 account, the GTM container, and the tags inside it.

"We get direct bookings, but I honestly can't tell you where they came from."

"I've heard of GTM, but where exactly do I paste anything on a booking engine I don't own the code for?"

"We run five properties. Can I see bookings per property, not just one lump number?"

Hello from the AirHost Digital Marketing team. If you operate in Japan or elsewhere in Asia and you've started pushing direct bookings to cut OTA commission, you've probably hit this wall: the OTA channels report themselves neatly, and your own booking site reports almost nothing.

This guide walks through connecting GTM and GA4 to the AirHost Booking Engine, with a clear line drawn between what AirHost handles and what Google handles. It also covers per-property tracking using the hotel parameter — and, just as importantly, what the current integration cannot measure. Everything here reflects the official AirHost help center as of August 2026.

Author:Airhost Digital Marketing Team

⚡️ The 3-Minute Summary

  • On the AirHost side, setup is one field: "Listing Management" → "Website" → "Google Tag Manager ID", then save

  • You do not need to install the GTM HTML snippet. The ID alone is enough

  • Creating and operating GA4 and GTM accounts is outside AirHost's support scope — Google's own help pages cover that

  • The booking confirmation URL includes a property ID (hotel parameter), which makes per-property conversion tracking possible

  • A purchase event is sent to GA4 on booking completion — but booking value, currency and transaction ID are not passed, so GA4's ecommerce reports will not show revenue


What is Google Tag Manager (GTM)?
A free Google tool that lets you manage and deploy measurement tags — analytics, ad conversion tracking and more — without editing your website's source code. You install one "container" on the site, then add and change tags from the GTM interface. On the AirHost Booking Engine, that container is connected simply by entering your GTM ID in the admin panel.


1. Why Direct Bookings Are the Hardest Bookings to Measure

Your OTA bookings arrive with their source attached. Airbnb tells you it was Airbnb. Booking.com tells you it was Booking.com. Your own booking site tells you… that a booking happened.

Knowing the count without knowing the source makes every marketing decision a guess. Concretely, you can't answer:

  • Did the ¥50,000 we spent on ads last month actually produce bookings?

  • Does anyone who clicks the link in our Instagram bio ever reach the confirmation page?

  • Of our five properties, which pages actually convert?

Measurement is the report card for your direct booking strategy. Adding and cutting ad budget without one is uncomfortable at best.

If you're still building the demand side, our guides on vacation rental marketing and attracting more guests cover that ground. This article is about the other half: proving what worked.

2. GTM vs GA4: The Container and the Scoreboard

GTM vs GA4: The Container and the Scoreboard

These two get confused constantly, so let's settle it first.

GTM is the container for your tags. GA4 is the scoreboard that counts what those tags report.

GTM (Google Tag Manager)

GA4 (Google Analytics 4)

Purpose

Manages and deploys measurement tags

Collects and reports the data

What you look at

Nothing — it's plumbing

Sessions, traffic sources, completed bookings

Setting in AirHost

Enter your

GTM ID

Enter your

Measurement ID

Useful on its own?

Only once it carries tags like GA4

Yes — GA4 works without GTM

When you need it

Managing

multiple tags

or ad conversion tracking

Any time you want analytics (

required

)

Google's Tag Manager overview describes GTM as a tag management system; on the GA4 side, what you need is the property's Measurement ID.

You can start with GA4 alone. GTM becomes worth the extra step once you want ad conversion tags alongside analytics, or you want to pass the property ID through the data layer. AirHost's own help center recommends GTM specifically for managing multiple tags and ad integrations.

3. Four Things to Have Ready First

Before you touch the AirHost admin panel, confirm these four prerequisites — they're the ones listed in the official help article.

#

Prerequisite

Where

Reference

1

AirHost Booking Engine setup is complete

AirHost

How to Set Up the Booking Engine

2

A GA4 account exists and is connected to the Booking Engine

Google → AirHost

Set up a new website in Analytics

3

A GTM account and container have been created

Google

Create an account and container

4

A GA4 tag has been configured inside GTM

Google

Set up Google Analytics in Tag Manager

When you create the GTM container, enter your domain name as the container name. GTM then issues an ID in the GTM-XXXXXX format, along with an HTML code snippet.

Here's the part worth highlighting: that HTML snippet is not used with the AirHost Booking Engine. Configuration is completed with the GTM ID alone. If you've been hunting for a place to paste code, you can stop.

4. The Actual Setup in the AirHost Admin Console

The Actual Setup in the AirHost Admin Console

Two fields. That's the whole AirHost-side job.

Entering your GA4 Measurement ID

  1. Obtain the Measurement ID in Google Analytics 4

  2. In AirHost, open the Management Console → Booking Engine

  3. On the Website Settings page, click Edit at the top right

  4. Enter the Measurement ID in the "Google Analytics Id" field and save

The tracking code is then embedded on each page, and data collection begins on the GA4 side.

Entering your GTM ID

  1. Create your account and container in GTM and copy the GTM ID (GTM-XXXXXX)

  2. In the Booking Engine admin panel, go to "Listing Management" → "Website"

  3. Enter the GTM ID in the "Google Tag Manager ID" field and click Save

That's it. The full procedure is documented in How to Set Up GTM Tags in AirHost Admin Screen and Booking Engine: Integration with Google Analytics 4.

A note on conflicting help articles (as of August 2026)
An older help article, last updated in September 2025, states that GTM integration is not available. However, the newer article — updated in 2026 — documents the GTM ID setup procedure, and the GA4 integration article actively recommends using GTM. This guide follows the newer information. If you want certainty before configuring, confirm the current status with AirHost support.

5. Where AirHost Stops and Google Begins

Where AirHost Stops and Google Begins

This is the single most common source of frustration, so let's make it explicit. The help center states it plainly:

We do not provide support for creating or operating Google Analytics or Google Tag Manager accounts. Please refer to Google's official help pages for guidance.

Here's the division of labour:

Task

Owner

Where to get help

Booking Engine configuration and issues

AirHost

AirHost support

Entering the Measurement ID / GTM ID in the admin panel

AirHost

(field location, saving)

AirHost support

The

hotel

parameter on confirmation URLs

AirHost

(implemented by design)

AirHost support

Creating GA4 accounts and properties

Google

Set up Analytics for a website

Creating GTM accounts and containers

Google

Create an account and container

Configuring tags, triggers and variables in GTM

Google

Set up Analytics in Tag Manager

Creating custom dimensions

Google

Custom dimensions and metrics

Marking key events (conversions)

Google

About key events

Importing conversions into Google Ads

Google

Create Ads conversions from key events

In short: AirHost owns the ID fields; Google owns the tag logic. Knowing that in advance tells you exactly who to ask when something doesn't fire.

6. Tracking Each Property with the hotel Parameter

Tracking Each Property with the `hotel` Parameter

If you manage more than one property, this is the section that pays for itself.

Since the March 13, 2025 update, the booking confirmation page URL includes the property ID as a hotel parameter. Capture that parameter in GA4 and you can track conversions per property (additional setup required).

There are two ways to do it.

Option A: GA4 only

Option B: with GTM

What you use

GA4

custom dimensions

GTM

variables and the data layer

How it works

Go to "Engagement" → "Pages and screens" and capture the page URL as a custom dimension

Capture the property ID (

hotel=XXXX

) as a variable and send it to GA4 via the data layer

Difficulty

Straightforward

More technical

Best for

Simply seeing bookings by property

Managing multiple tags and ad integrations

(AirHost's recommendation)

Option A stays entirely inside GA4's built-in features — a good first move. See custom dimensions and metrics for the concept.

For Option B, use a GTM user-defined variable to extract the URL query parameter and pass it to GA4 through the data layer. GTM gives you more precise per-property booking counts and makes ad conversion tracking considerably easier.

7. What You Can and Cannot Measure

This is the section we'd rather you read before setup than after.

When a booking is completed through the Booking Engine, a purchase event is sent to GA4, so you can see completed bookings occurring in your reports.

However, the current GA4 integration is built to measure behaviour — traffic and booking completion on the booking engine — and does not support these ecommerce parameters:

Parameter

Meaning

Current status

transaction_id

Booking / transaction ID

❌ Not supported

value

Booking amount

❌ Not supported

currency

Currency

❌ Not supported

items

Property, room type and similar item data

❌ Not supported

In practice, that means:

  • GA4's ecommerce reports will not show purchase counts, revenue, or breakdowns by property and room type

  • Booking counts and amounts should be pulled from the AirHost PMS reservation list and reports

  • In Google Ads, you can count booking completion as a conversion using the purchase event or the confirmation page — but because value and currency aren't passed, you cannot use per-booking revenue as the conversion value

For reference, the intended specification of the GA4 purchase event is documented in Google's recommended events and measure ecommerce guides. Reading them alongside the list above makes the gap easy to see.

The rule of thumb: counts and sources come from GA4; money comes from the PMS. AirHost has stated that ecommerce parameter support is under consideration as a future improvement.

8. Verify It Works, Then Connect It to Ads

Don't assume it fired. Check.

GA4's DebugView is the fastest way to confirm. Run a test booking yourself and watch for the purchase event arriving in real time — see monitor events in DebugView.

Once events are landing:

  1. Mark it as a key event — GA4 lets you designate the events that matter (about key events)

  2. Connect it to Google Ads — create ad conversions based on GA4 key events (from Analytics, from Google Ads)

At that point you can finally say "we spent X and got Y bookings" — bearing in mind, as above, that the conversion value itself can't be passed.

9. A Realistic Starting Plan for Operators

A Realistic Starting Plan for Operators

You don't need all of this in week one. Three stages work well.

Stage

What you do

What you gain

Stage 1

Enter the GA4 Measurement ID

Traffic and sources for your booking site

Stage 2

Add the GTM ID; capture the

hotel

parameter

Bookings broken out by property

Stage 3

Mark key events and link Google Ads

Booking results against ad spend

Stage 1 alone already ends the guesswork. Enter the Measurement ID, let it collect for a month, and you'll know more than you do today.

If you host guests from Europe or run a consent management platform, review GTM's consent mode support as well.

And one underlying point: measurement only matters if you have a direct booking channel to measure. Running purely on OTAs means commission on every stay and no guest relationship of your own.

The AirHost Booking Engine is a direct booking site that stays in real-time sync with AirHost PMS for inventory and rates. A few specifics operators in Japan and Asia usually ask about first:

  • Commission on direct bookings: none — the booking engine is an optional feature of AirHost HMS, priced as part of your plan rather than per booking (see pricing)

  • Guest-facing languages: Japanese, English, Simplified Chinese, Traditional Chinese, Korean and Spanish, with reference prices shown in the guest's local currency (per the help center, August 2026)

  • Setup effort for measurement: two ID fields, as described above

If you're weighing up whether direct bookings are realistic at your size, that's a fine question to start with.

Explore the AirHost Booking Engine
Talk to us — no cost, no commitment

Frequently Asked Questions

Q. Do I need to install the GTM HTML snippet on the site?

No. On the AirHost Booking Engine, entering the GTM ID is sufficient. GTM displays an HTML snippet when you create the container, but it isn't used here.

Q. Do I need both GA4 and GTM?

No. For analytics alone, the GA4 Measurement ID is enough. GTM matters when you want to manage several tags together — ad conversion tags, for instance — or send the property ID through the data layer. AirHost recommends GTM for exactly those cases.

Q. Can I see booking revenue in GA4?

No. The current integration does not pass value, currency, transaction_id or items, so revenue does not appear in GA4's ecommerce reports. Use the AirHost PMS reservation list and reports for booking counts and amounts.

Q. How do I separate bookings by property?

Capture the property ID (hotel parameter) from the booking confirmation URL in GA4 — either as a custom dimension (no GTM required) or as a GTM variable passed through the data layer.

Q. Can AirHost support help me if I get stuck?

For the admin panel fields and Booking Engine configuration, yes. Creating and operating Google Analytics and Google Tag Manager accounts is explicitly outside AirHost's support scope, so Google's help pages are the right destination for tag-level questions.

Q. Can I use this as a Google Ads conversion?

Yes. You can count booking completion as a conversion using the purchase event or the confirmation page. Note that per-booking value cannot be used as the conversion value, since amount and currency are not passed.

Q. How quickly can we get this running?

If your Booking Engine is already live, the AirHost-side work is two fields and a save. The realistic time cost sits on the Google side — creating the GA4 property and GTM container, and configuring the GA4 tag inside GTM.

Summary

Connecting GTM to the AirHost Booking Engine means entering a GTM ID under "Listing Management" → "Website" and saving. No HTML snippet. GA4 works the same way, via the Measurement ID in Website Settings.

Everything else — GA4 accounts, GTM containers, tags, triggers, variables — belongs to Google, and sits outside AirHost's support scope. Knowing that boundary in advance saves a lot of time when something doesn't fire.

Most importantly: the purchase event is sent, but value, currency and transaction ID are not. Design around "counts and sources from GA4, money from the PMS" and the integration will do exactly what you expect.

Start with the Measurement ID. You can only grow the direct bookings you can actually see.

Related Articles

References


This article reflects the AirHost help center and Google documentation as of August 2026. Admin panel labels, specifications and Google's interface may change. Please check the official pages for the latest details.

Let AirHost help your business grow.

Our experts are here to support your requests anytime.