Your booking engine and your SEO: subdomains, iframes and the tracking that breaks at checkout
Where your booking engine lives decides what Google credits to your site and what analytics loses at checkout. The three set-ups, and how to test yours.
By Daniel Stoychev, Webso Digital · 3 November 2026 · 8 min read

A hotel's booking engine sits in one of three places: on a subdomain of your own address, inside an iframe on your page, or on the engine company's domain. Each choice changes what Google credits to your site and whether your analytics can follow a guest from the Google search to the paid booking. The engine's pages should rank for nothing, because your room and offer pages do that work; what matters is that the booking is recorded on the confirmation step, with its value, against the visit that brought the guest. That link is the part most likely to break, somewhere between the book button and the payment page, and it breaks silently while the tag sits on the page.
The three set-ups, side by side
| Where the engine sits | What Google sees | What analytics sees unless it is fixed | The fix |
|---|---|---|---|
| A subdomain, such as book.yourhotel.co.uk | A host of its own under your domain, whose date and rate pages can be crawled and indexed | Self-referrals: Google's Analytics help warns that moving between subdomains with different cookie settings can cause them | The same Google tag on both, the subdomain in the tag's domain settings, the engine's search pages kept out of the index |
| The engine company's domain | Not your site at all: nothing those pages earn is yours | A new session that credits your own site as the source, so the Google visit that started it is lost | Cross-domain measurement in GA4, with the engine loading your tag on every step |
| An iframe on your own page | Google tries to associate framed content with the host page but does not guarantee it | The engine runs as a cross-site resource, and Safari has blocked cookies for those by default since March 2020 | The engine tells your page when a booking completes, or it moves to a subdomain |
What Google should index, and what it should not
Your room pages, the offers page and the season pages are the ones that should rank. They carry the description, the photographs, the questions answered and a from-rate, and they sit on your domain, where every link they earn helps the rest of the site. The engine's pages are a different thing: a URL for every combination of dates, guests and rate plan, mostly identical, often carrying a shortened copy of the room text you wrote for your own page.
So the engine's search and rate pages should stay out of Google's index. Look for them in Search Console's page indexing report and with a site: search on the engine's host. If they appear, ask the provider to mark them noindex, and check they are not also blocked in robots.txt: Google's documentation says that for noindex to work, "the page or resource must not be blocked by a robots.txt file", because Google never reads the rule on a page it cannot fetch. The page Google's free booking link points to is a separate case. It should be the engine page with the guest's room and rate already selected, which is what Hotel Center's best-practice advice asks for, and it needs no ranking at all.
An iframe raises its own indexing question. Answering it in its December 2023 SEO office hours, Google said its systems "would try to associate the sub-page's content as a part of the primary page" but that this is not guaranteed, because the framed page is also an ordinary page that can be indexed on its own. For a booking engine that matters little, since nothing in the frame should rank. The real cost of the iframe is measurement.
Where the tracking breaks, in the order the guest travels
- From the room page to the engine. If the engine is on another domain, the visit starts again when the guest clicks to book, and the booking is credited to your own website rather than to the Google search that began it. The fix is cross-domain measurement: in GA4, Admin, Data streams, your web stream, Configure tag settings, Configure your domains, with both domains listed and the same G- tag ID on every page of both. Google's help recommends the same set-up for subdomains.
- Buttons that move the guest by script. Cross-domain measurement passes the visitor's identity in a _gl parameter added to the link at the moment of the click, and Google's help warns that it may not work when navigation is triggered by JavaScript rather than a direct click. If your availability widget sends the guest across with a script rather than a plain link, click through and look for _gl in the engine's address bar.
- The payment step. Card checks and payment providers can send the guest to another domain and back. Without a fix, GA4 credits the booking to the payment provider. The "List unwanted referrals" setting in GA4 exists for this, and Google's help uses a third-party payment processor as its example.
- The confirmation page. The booking has to be recorded here, once, as a purchase with its value and currency, by your own tag and not only by the engine's private analytics. Ask the provider whether the engine can load your Google tag or tag manager container on every step, confirmation included.
- Inside an iframe. A frame from the engine's domain is a cross-site resource, and Apple's WebKit team announced on 24 March 2020 that Safari blocks cookies for cross-site resources by default. Whatever the engine measures inside the frame loses the visitor on an iPhone. The working answer is for the engine to tell your page when a booking completes, so your own tag records it; ask whether it can before you choose the frame.
- Google Ads. If you run ads, the booking has to reach Google Ads as a conversion with its value, from the same confirmation step, counted once. Two tags firing on one booking doubles the results and feeds the bidding a false picture of what each click earned.
Prove it with a booking, not with the tag
A tag that loads is not a booking recorded. On one client's site, in another line of business, Google Analytics recorded nothing for five weeks while Search Console showed about 70 clicks a month, and the tag loaded without a single error.
So test the way a guest books. Use a clean browser with no ad blocker, search for the hotel on Google, click your own result, choose a room and complete a booking on a refundable rate, then cancel it. Keep GA4's realtime report open while you do, and check that the purchase appears once, with the right value, under Google organic rather than under your own domain or the payment provider. Repeat it on an iPhone. Do it again after every engine update and every change to the cookie banner, because either can undo the set-up without anyone touching the tag.
Questions to put to a booking engine provider before you sign
- Can the engine run on a subdomain of our own domain?
- Can it load our Google tag, or our tag manager container, on every step including the confirmation page?
- Does it record a purchase with the booking value and currency, once per booking?
- Does it keep the _gl parameter when a guest arrives from our site?
- If it runs in a frame, can it tell our page when a booking completes?
- Are its date and rate pages kept out of Google's index, without being blocked in robots.txt?
- Is it a Google connectivity partner for free booking links, and is our property live?
- Can we export every booking with its source, and do we keep that data if we leave?
A provider that answers all eight in writing is one you can measure. If you want your current set-up checked, our hotel website design page explains what a build includes, and the quote form takes your address and the name of your engine.
Questions on this topic
Is a booking engine on a subdomain bad for SEO?
No, as long as the engine's date and rate pages stay out of the index and your own room pages carry the content. Set up cross-domain measurement for it too, which Google's Analytics help recommends for subdomains, so the visit is not split in two.
Should the booking engine sit in an iframe on my site?
Only if the engine can tell your page when a booking completes. Safari blocks cookies for cross-site resources by default, so measurement inside a frame from another domain loses the visitor, and Google does not guarantee that framed content is credited to your page.
Why does Google Analytics show my own website as the source of bookings?
Because the visit restarts when the guest crosses to the engine's domain, and the new session credits the page they came from. Cross-domain measurement, with the same tag on both sites and both domains listed in the tag settings, keeps the original source.
Why are bookings credited to a payment provider?
The guest left for a card check or a payment page and came back. Add that domain to GA4's list of unwanted referrals; the change does not rewrite sessions already recorded, so judge the fix on bookings made after it.
How do I know my booking tracking works?
Make a real booking on a refundable rate from a Google search in a clean browser, cancel it, and check that it appears once in GA4 with the right value and source. Then do the same on an iPhone.