Short answer
When Xola tracking is not working, check these setup gaps first: the Xola checkout JavaScript is missing from the head or a link button sends guests to a checkout URL without it, Google Tag Manager has no tag for Xola's purchase data layer event, the GTM container ID is not saved in Xola, or Xola's checkout domains are missing from GA4's cross-domain list. Duplicates point to a second tag for the same purchase, such as gtag.js plus GTM, or a GTM Meta Purchase tag alongside Xola's own Facebook Pixel integration. Fix them in the order below, then confirm with one clean test booking in GTM Preview, GA4 DebugView and Meta Events Manager.
How Xola tracking fits together
Xola tracking problems are easier to diagnose once you know the moving parts. Xola's checkout opens over your page (drawer) or inside it (embedded) and runs on Xola's checkout domains, checkout.xola.app and checkout.xola.com. Xola's Google Analytics 4 article and Facebook Pixel Tracking article describe these pieces:
| Piece | Where it lives | What it does |
|---|---|---|
| Xola checkout JavaScript | Your site's head (Settings, Button Code, Step 1) | Turns Book Now buttons into a checkout window |
| Data layer events | Pushed by Xola's checkout | view_item, view_item_list, add_to_cart, add_payment_info, purchase, xola_user_properties |
| Your GTM container | Your site, and loaded in checkout through Marketing, Conversion Tracking, Google Tag Manager | Turns those events into GA4, Google Ads and other tags |
| Facebook Pixel Tracking app | Xola App Store; Marketing, Conversion Tracking, Facebook | Loads your pixel on Xola's checkout pages and sends Purchase to Meta |
| Custom Conversion Tracking | Marketing, Conversion Tracking, Custom Conversion Tracking | Runs your own script inside checkout on purchase |
Xola also reminds operators that GA4 will not match its reports one to one: back-office bookings, OTA bookings, recovered abandoned bookings, direct checkout links, ad blockers and device differences all create gaps. For the same picture across other booking platforms, see our booking tracking hub.
The order to fix things in
Work from the bottom of the stack up. A later fix cannot work while an earlier one is broken.
- Checkout JavaScript and button type. Xola's checkout script is in the head of every page with a button, and buttons are drawer or embedded code pasted directly into the page. Xola's GA4 troubleshooting article starts here too.
- One Google tag setup. GTM installed in the head, no duplicate gtag.js for the same GA4 property, no Universal Analytics leftovers.
- Container ID in Xola. The same GTM container ID as your site, saved under Marketing, Conversion Tracking, Google Tag Manager.
- GA4 purchase. GA4 Event tag and Custom Event trigger for Xola's events, confirmed in GTM Preview. Our Xola GA4 purchase tracking guide has the recipe.
- Cross-domain and unwanted referrals. Xola's checkout domains and your own domain in GA4.
- Consent. Your banner and consent mode allow tags once a guest accepts.
- Google Ads. Only after GA4 is right. See our Xola Google Ads conversion guide.
- Meta. Xola's Facebook Pixel app with an access token, and no second Purchase tag. See our Xola Facebook pixel and Conversions API guide.
- Compare with Xola's reports after a week of data, using Xola's comparison method below.
Run a clean diagnostic test booking
Xola's help center does not describe a test or sandbox booking mode, so a diagnostic test is a real booking of your cheapest option, refunded afterwards.
Prepare
- Use a desktop Chrome profile with ad blockers off. Google's Tag Assistant troubleshooting page says ad blockers may prevent the Google tag from running, and that iframe-loaded tag configurations can only be debugged with the Tag Assistant Chrome extension installed, so install it.
- Install Meta Ads Data Advisor, which Meta's Data Advisor page says was formerly Meta Pixel Helper.
- Start GTM Preview on your home page, add a made-up campaign tag to the address (for example
?utm_source=xola_test&utm_medium=diagnostic) so you can find the session later, and accept your cookie banner.
Book
- Click a drawer or embedded Xola button. Note whether the checkout opens over the page, inside it, or in a new tab.
- Complete the booking with a real card.
- In Tag Assistant, write down which Xola events appeared (
view_item,add_to_cart,add_payment_info,purchase) and which tags fired onpurchase. - Click the
purchaseevent and note the transaction ID, value, currency and items keys exactly as Xola sends them. - In GA4 DebugView (Admin, Data display, DebugView), open the
purchaseevent and check the same fields. Google's DebugView guide notes events do not appear there if consent for analytics cookies was not given. - In Data Advisor, check for exactly one Purchase with value and currency.
Afterwards
- Repeat the booking on a phone and look for it in GA4's Realtime report, which covers the last 30 minutes.
- Refund both bookings in Xola: Purchases tab, open the booking, Refund, "Reduce booking value and return payment", as Xola's refund article describes. Xola does not document sending refunds to GA4 or Meta, so the test stays in those reports; keep a note of the transaction IDs.
- The next day, check in GA4 that the test purchase is credited to your made-up campaign, not to a referral or Direct. In Meta Events Manager, check the Purchase count for the time of your test. In Google Ads, check the action's Tracking status.
No purchase event
What you see
GA4's Ecommerce purchases report is empty or far below Xola's checkout bookings, Google Ads shows no conversions, or GTM Preview shows no purchase event after a test booking.
Likely causes on Xola
- The Xola checkout JavaScript is missing, or the GA4 or GTM code sits below the closing head tag. Xola's troubleshooting article says conversions will not pass over if the tracking code is placed below
</head>. - The button is a Link-type button and the Xola JavaScript is not installed, so the guest is sent to a checkout URL. Xola says redirect-based checkouts do not allow analytics to track conversions properly.
- A website builder plugin loads the buttons inside its own iframe, which Xola advises against.
- GTM has no tag for Xola's events, the regex in the Custom Event trigger is mistyped, Use regex matching is off, or the container was never published.
- The GTM container ID is not saved in Xola, so the checkout does not load your container where it needs to. Xola links this setting to reliable tracking on both mobile and desktop.
- The bookings were not made in your website checkout: back-office bookings, OTA bookings and recovered abandoned bookings completed from Xola's email link are all outside website tracking, according to Xola.
How to confirm
- View your page source and search for
checkout.js, as Xola suggests. Search for yourGTM-ID and check that it sits inside the head. - Click the button: a checkout that pops up or stays embedded on the page is a compatible type, according to Xola.
- In GTM Preview, check whether any Xola events appear. If
view_itemappears butpurchasedoes not, the problem is late in checkout or in the trigger; if nothing appears, it is the script, the button or the container ID. - In GA4, group Ecommerce purchases by device category, as Xola's troubleshooting article suggests. Xola says that if desktop is low, check the ecommerce events in GTM; if mobile and desktop are both low, check the GTM container or contact Xola Support.
- In Xola, run Reports, Custom Reports, Reservations with Source filtered to Checkout and Rescue bookings excluded, so you only count bookings that could have been tracked.
How to fix
Move the Xola script and GTM into the head, replace plugin or link buttons with drawer or embedded code pasted into the page, rebuild the GA4 Event tag and trigger from our GTM setup steps, publish, and save the container ID in Xola. Then repeat the diagnostic test booking.
Duplicate purchases
What you see
GA4, Google Ads or Meta report more purchases than Xola, or two purchase hits for one test booking.
Likely causes on Xola
- GA4: a hard-coded gtag.js snippet and a GTM GA4 tag for the same property both process Xola's events. Xola says data is sent through either gtag.js or GTM, and asks you to remove duplicate gtag.js scripts when GTM manages your tags. Two GA4 Event tags in GTM (for example one on the regex trigger and another only on
purchase) cause the same thing. - Meta: a GTM Purchase tag running alongside Xola's Facebook Pixel integration. Xola says this causes purchases to be double-reported.
- Any platform: a script in Xola's Custom Conversion Tracking that sends the same purchase again.
- Google Ads: two primary purchase actions, such as an imported GA4 purchase and a GTM conversion tag.
How to confirm
- In Tag Assistant, click Xola's
purchaseevent and count the tags fired that send to the same destination. - In GA4, build an Exploration with Transaction ID and Purchases. Google's transaction ID help says GA4 deduplicates purchase events with the same transaction ID in web streams (it gives no time window), so duplicates that remain in reports point to two events with different transaction IDs. Blank IDs cause the opposite problem: Google warns that purchases with an empty transaction ID are all deduplicated together, so they can be undercounted.
- In Meta Events Manager, open the Purchase event and check how many were received for your test booking, and from which source.
- In Google Ads, check which purchase actions are marked primary.
How to fix
Keep one GA4 path (we suggest GTM), one GA4 Event tag for Xola's events, Xola's integration as the only Meta Purchase, no purchase script in Custom Conversion Tracking unless it is your only route, and one primary purchase action in Google Ads.
Wrong or missing value and currency
What you see
Purchases arrive with zero revenue, revenue that does not match Xola, or the wrong currency.
Likely causes on Xola
- Expected differences. Xola's troubleshooting article explains that GA4 item revenue is price times quantity, without discounts and taxes, and that GA4 items account for add-ons and the number of demographics purchased. Xola's own totals include other amounts, so the two are not meant to match exactly.
- A mapping problem in Google Ads. If the Conversion Value field points at a Data Layer Variable that is undefined, Google's Google Ads conversions help says Tag Manager sends 0.
- Currency missing or different. Google's recommended events reference says currency is required for revenue metrics when value is set.
- A second tag sending its own Purchase without value, for example a leftover Meta Purchase tag in GTM.
How to confirm
- In Tag Assistant, open Xola's
purchaseevent and read the value and currency Xola sent. - Open your Google Ads tag in the same view and check the values it used.
- Compare reports the way Xola describes: GA4 Reports, Monetization, Ecommerce purchases against Xola's Reports, Custom Reports, Reservations, with the Xola date range one day earlier than GA4, Source set to Checkout, Rescue bookings excluded, and revenue as Base Amount plus Add-ons.
How to fix
Correct the Data Layer Variable paths to match what Xola sends, set Currency Code in the Google Ads tag from the event, and remove any extra Purchase tag. If Xola's own purchase event is missing value or currency, send Xola Support a screenshot of the Preview data so they can check your account.
Cross-domain session breaks
What you see
Purchases credited to Direct, to xola.com / referral or to your own domain as a referral, with landing pages missing and paid campaigns under-credited.
Likely causes on Xola
- Xola's checkout domains are not in GA4's cross-domain list. Xola's GA4 article lists
checkout.xola.app,checkout.xola.comand your own domain, with match type Contains; its troubleshooting article listsxola.com,xola.appand your domain. - Unwanted referrals have not been set for the same domains.
- The container saved in Xola is a different container, or sends to a different GA4 property, than the one on your site. Google's cross-domain guide says every domain must use the same Google tag ID from the same web data stream.
- Guests reach checkout through a link that opens a new tab without the Xola JavaScript on the page.
How to confirm
- In GA4, open the Traffic acquisition report and look for
xola.com,xola.appor your own domain as a session source with medium referral. - Check that your diagnostic test purchase is credited to your made-up campaign.
- If the checkout opens in a new tab or a full page, check its address for a
_glparameter. Google's cross-domain guide uses that parameter as the sign that linking works between domains.
How to fix
- In GA4, go to Admin, Data streams, your web stream, Configure tag settings, Configure your domains and add the Xola domains and your own, match type Contains.
- In Configure tag settings, Show all, List unwanted referrals, add the same domains, as Xola suggests if you still see your own domain as a referral. Google's unwanted referrals guide explains the effect.
- Save the same GTM container ID in Xola as on your site.
Consent mode or cookie banner blocking tags
What you see
Purchases are missing mostly for visitors from regions where your banner asks for consent, or a test with cookies declined shows nothing in DebugView.
Likely causes on Xola
- Your banner blocks GTM or Google tags until consent is given. Google's consent mode overview describes basic consent mode as preventing Google tags from loading until the user interacts with the banner.
- The consent default is set after tags start. Google's consent mode setup guide says the default must run before any command that sends measurement data.
- Xola describes its tracking as client-side and notes that ad blockers and browser privacy settings can stop events from firing.
How to confirm
- Run two diagnostic bookings, one with consent accepted and one declined, and compare what reaches Tag Assistant and DebugView.
- Google's Tag Assistant troubleshooting page notes that consent management tools may block Google tags. Check your consent tool's settings for GTM and Google tags.
How to fix
Set consent defaults before GTM loads tags, update consent when the guest chooses, and make sure your consent tool does not block the GTM container itself. With advanced consent mode, Google's overview says tags load with consent denied and send measurements without cookies until consent is granted. The right choice depends on your legal advice.
What the documentation does not say
Xola's help center does not describe how consent from your banner reaches the checkout, or how the pixel Xola loads in checkout responds to consent. If you need consent before any tracking, ask Xola Support how this works for your account.
The checkout running its own tags
What you see
In Tag Assistant or Chrome DevTools you see your GTM container or your Meta pixel loading inside Xola's checkout as well as on your page, tags you did not expect firing from a Xola domain, or a script you do not recognize running on purchase.
Why this happens
This is how Xola is designed, and it is normal. Xola loads your GTM container in checkout when you save its ID under Marketing, Conversion Tracking, Google Tag Manager. The Facebook Pixel app loads your pixel on Xola's checkout pages. Custom Conversion Tracking runs your script inside checkout on purchase. These are platform-managed tags acting on your behalf. They only cause problems when they disagree with your site setup.
Likely causes of trouble
- The container ID in Xola is a second container with different tags, so some tags exist only on your site or only in checkout.
- Purchase tags use triggers based on your page address (for example Page Hostname equals your domain), so they do not fire when the event happens on a Xola domain.
- A Purchase is sent from both a checkout-side tag and a site-side tag.
How to confirm
- With the Tag Assistant Chrome extension installed, run GTM Preview and check which containers Tag Assistant lists and where each event appears.
- In Chrome DevTools, use the JavaScript context drop-down in the Console, described in Chrome's Console features reference, to switch between your page and the checkout frame, and type
dataLayerin each. - In Xola, review Marketing, Conversion Tracking: the Google Tag Manager ID, the Facebook settings and any Custom Conversion Tracking code.
How to fix
Use one GTM container for your site and for Xola, trigger purchase tags on the purchase event name rather than on page address, keep Xola's integration as the only Meta Purchase, and clear Custom Conversion Tracking code you no longer need.
Frequently asked questions
Why are Xola desktop conversions missing in GA4?
Xola's GA4 article says that if ecommerce events are not configured in your GTM container, you may see a drop in conversions made on desktop. Check that your GA4 Event tag fires on Xola's events with Send Ecommerce data on, and that your container ID is saved in Xola.
Why does GA4 show xola.com or your own site as a referral?
Xola's checkout domains are missing from GA4's cross-domain list or from List unwanted referrals. Add xola.com, xola.app and your domain with match type Contains, as Xola's troubleshooting article describes (this also covers checkout.xola.app and checkout.xola.com, which Xola's GA4 article lists), and use the same GA4 property everywhere.
Should GA4 purchases match Xola's reports exactly?
No. Xola says conversions will not be one to one, because of back-office and OTA bookings, recovered abandoned bookings, direct checkout links, ad blockers and device differences. Xola's article suggests investigating if the gap is more than 15 percent.
Does Xola have a test booking mode for checking tracking?
Xola's help center does not describe one. Make a real booking of your cheapest option and refund it from the Purchases tab afterwards.
Is it a problem that your GTM container loads inside Xola's checkout?
No. That is what the GTM container ID setting in Xola is for. Just make sure it is the same container as your site, and that purchase tags trigger on the event name.