Short answer
Checkfront Google Analytics 4 tracking is built in: under Manage > Integrations > Conversion > Google Analytics you choose Google Analytics 4, enter your Measurement ID and your website domain, and Checkfront adds your GA4 tag to its booking pages and creates events on the Receipt, Guest Form and Documents/Waivers pages. Checkfront's documentation does not name those events or say whether they carry revenue, and it says bookings made in the embedded Booking Widget appear as direct traffic. If you need a GA4 purchase event with value and booking ID, the documented route is a Custom Receipt URL that sends customers to a page on your own site, where Google Tag Manager or the Google tag sends the purchase. Checkfront says its Google Analytics and Google Ads plugins do not work when a Custom Receipt URL is used, so choose one route on purpose and switch the native Google integrations off if you move to your own page.
How Checkfront bookings connect to your website
Where your tags can run depends on how the booking flow reaches your visitors. Checkfront documents three ways to take bookings from a website:
- The Booking Widget. You generate code in Checkfront and paste it into your page. Checkfront's GA4 article says: "As we used iFrames to build our Booking Widget, referral information cannot be tracked by Google Analytics 4", and "All conversions through the Booking Widget appear as direct". The widget can also open as a booking modal through its popup options (Checkfront's widget code article).
- The Hosted Customer Booking Page. A page on Checkfront's domain, reached by adding
/reserve/to your Checkfront address, such asexample.checkfront.com/reserve/. You link to it from your site (Hosted Customer Booking Page). - CMS plugins. WordPress, Drupal and Joomla shortcodes such as
[checkfront tid="promo-page"](WordPress plugin shortcode).
In every case the booking steps themselves run on Checkfront's pages, not yours. Checkfront is clear that you cannot add your own code there: "inserting a custom script into the generated code of the Booking Widget is not supported", and its referral article says it is "unable to add a conversion pixel (a snippet of code) directly to the booking flow" but supports Facebook and Google integrations instead (Tracking referrals and campaigns). So a Google Tag Manager container on your site cannot see the booking steps, and Checkfront does not document any data layer or postMessage events from the widget to your page.
That leaves two places a GA4 purchase can come from: Checkfront's own integration, which runs on its booking pages, or a confirmation page on your own site that Checkfront redirects to after the booking. Our booking tracking overview explains the same pattern across other booking platforms.
The two GA4 routes Checkfront supports
| Route | What runs where | What you get | Trade-off |
|---|---|---|---|
| Checkfront GA4 integration | Checkfront adds your GA4 tag to its booking pages | Page tracking on Reserve, Booking Form, Payment, Booking Invoice, Receipt, Guest Form and Documents/Waivers; events created automatically on Receipt, Guest Form and Documents/Waivers | Event names and parameters are not documented; Widget bookings appear as direct |
| Custom Receipt URL plus your own tags | Checkfront redirects the customer to a page on your site with booking details in the address | A GA4 purchase event you control, with booking ID as transaction_id and the booking total as value | Checkfront says its Google Analytics and Google Ads plugins do not work with a Custom Receipt URL |
Both rows come from Checkfront's GA4 and cross-domain introduction and its ecommerce settings article. The same introduction lists Enhanced Ecommerce features that are not available with the integration: adds and removes from cart, item list views and impressions, and checkouts.
What the documentation does not say
Checkfront's articles say conversion events are created automatically but do not name them, and do not say whether they include value, currency, transaction_id or items. They also do not say how the Parent Page Domain field is used. Before you build reports on the native route, run a test booking and look at the event names and parameters that arrive in DebugView (steps below).
Plan differences
Checkfront's pricing page says it "offers one simple plan for all customers", and its GA4, Google Ads and Facebook articles say each integration is available in both the classic items and classic products versions. We found no documented plan or tier limit on these integrations. Developer features differ: authenticated API access is for "verified accounts on paid plans" (Checkfront API article).
A simple way to choose: if you only need to know that bookings happen and where visitors came from on the hosted page, start with the native integration. If you need revenue in GA4, a reliable booking ID for deduplication, or the same purchase feeding Google Ads and Meta from one place, use the Custom Receipt URL route. Do not run both routes for the same booking.
Route 1: set up Checkfront's GA4 integration
Checkfront splits this into a Google side and a Checkfront side. You need Admin permissions in Checkfront and access to your website code.
On the Google Analytics side
- Create a GA4 property and a Web data stream for your website, as described in Checkfront's GA4 setup article for Google Analytics.
- Add the Google tag to every page of your website, immediately after the opening
<head>element, and only once per page. - Copy the stream's Measurement ID (it starts with
G-).
Google Tag Manager and this route
Checkfront's setup articles say: "Do not use Google Tag Manager to deploy the Measurement ID to your website, as it does not support cross-domain tracking with Checkfront." If your site already loads GA4 through a Tag Manager container, Checkfront's guidance points to loading the Google tag directly in the page head instead (and removing the GA4 Google tag from the container so pages are not counted twice). The alternative is Route 2 below, where the purchase fires on your own site and the native GA4 integration is switched off, so this restriction does not apply to it. You can keep Tag Manager for your other tags either way.
On the Checkfront side
- Go to Manage > Integrations and open the Google Analytics listing in the Conversion section.
- In the Add-on Setup window, select Use Google Analytics 4.
- Enter your GA4 Measurement ID.
- Enter your Parent Page Domain: your website domain, for example
mysite.com. - Click Activate.
These steps are from Setting up Google Analytics 4 in Checkfront. Checkfront documents the integration for both its classic items and classic products versions.
Cross-domain settings in GA4
Checkfront says its integration "supports cross-domain tracking", which matters when you link visitors to the Hosted Customer Booking Page. Checkfront's articles do not list any GA4 admin steps for it. Google's cross-domain measurement guide says every domain must use the same Google tag ID from the same web data stream, and the setting lives at Admin, Data streams, your web stream, Configure tag settings, Configure your domains. Adding both your website domain and your Checkfront domain there is consistent with Google's instructions; check the result with the _gl test in the verify section.
If your Checkfront domain or a payment processor shows up as a referral source after bookings, add it under Configure tag settings, Show all, List unwanted referrals, following Google's unwanted referrals article.
Mark the booking event as a key event
Once a test booking has arrived, find the event that fires on the Receipt page under Admin, Data display, Events and click the star to mark it as a key event, as Google describes in Mark events as key events. If the event is named purchase, GA4 already marks it as a key event by default. Because Checkfront also creates events on the Guest Form and Documents/Waivers pages, mark only the one that represents a completed booking, or a single booking can count more than once.
Route 2: a GA4 purchase event through a Custom Receipt URL and Google Tag Manager
This route moves the confirmation step onto your own site, where your Tag Manager container already runs. Checkfront documents the Custom Receipt URL field and the booking details it can put in the address; the tags on the page are yours.
Step 1: create a confirmation page on your site
Create a page such as /booking-confirmed/, with your normal site header, Tag Manager container and no other booking code. Exclude it from search engines and from your menus.
Step 2: point Checkfront at it
- Go to Manage > Ecommerce Setup > Settings.
- In Custom Receipt URL, enter your page address with Checkfront's placeholders, for example:
Text
https://www.yoursite.com/booking-confirmed/?booking_id={$BOOKING_ID}&total={$BOOKING_TOTAL}&sku={$BOOKING_SKU}&status={$BOOKING_STATUS}Checkfront's ecommerce settings article lists these placeholders: {$BOOKING_ID} (example UHXE-492058), {$BOOKING_TOTAL} (total value of the booking), {$BOOKING_SKU} (SKUs and quantities, such as item1:3,item2:1), {$BOOKING_DATE} (start date), {$BOOKING_PAID} (amount paid, which can be a deposit or 0) and {$BOOKING_STATUS} (often PAID or PART). There is no currency placeholder, and Checkfront does not pass personal information in the URL.
What the documentation does not say
Checkfront does not say whether the redirect opens in the full browser window or inside the Booking Widget's frame, or what number format {$BOOKING_TOTAL} uses. After your first test booking, check the address bar and the values on the page. If the page loads inside the widget area, it is still your own domain, but debug it with the Tag Assistant Chrome extension, which Google says is needed for tags loaded in iframes.
Step 3: turn the address into a data layer purchase
Add this script to the confirmation page, above the Tag Manager container snippet. The parts that come from Checkfront are the four query parameters you set in Step 2. The parts you must map are the currency (set it to your Checkfront account currency) and, if you want, item names.
HTML
<script>
(function () {
var params = new URLSearchParams(window.location.search);
var bookingId = params.get('booking_id');
var total = parseFloat(params.get('total'));
if (!bookingId || isNaN(total)) { return; }
// Send each booking once, even if the page is reloaded or reopened.
var storageKey = 'cf_purchase_sent_' + bookingId;
try {
if (window.localStorage.getItem(storageKey)) { return; }
window.localStorage.setItem(storageKey, '1');
} catch (e) {}
// {$BOOKING_SKU} arrives as sku1:qty,sku2:qty
var items = [];
(params.get('sku') || '').split(',').forEach(function (part) {
var bits = part.split(':');
if (bits[0]) {
items.push({ item_id: bits[0], quantity: parseInt(bits[1], 10) || 1 });
}
});
if (!items.length) { items.push({ item_id: 'checkfront-booking', quantity: 1 }); }
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ ecommerce: null });
window.dataLayer.push({
event: 'purchase',
booking_status: params.get('status') || '',
ecommerce: {
transaction_id: bookingId,
value: total,
currency: 'USD', // replace with your Checkfront account currency
items: items
}
});
})();
</script>This follows Google's GTM ecommerce format from Measure ecommerce: clear the previous ecommerce object, then push event: "purchase" with transaction_id, value, currency and items. Google's recommended events reference says currency is required for revenue metrics when you send value, and each item needs an item_id or item_name. Checkfront gives a booking total, not item prices, so the items carry IDs and quantities only and value is the booking total. URLSearchParams.get() returns null for a missing parameter (MDN), which is why the script stops if the booking ID is missing, and the storage check is wrapped in try because localStorage can throw when a browser blocks storage.
Decide whether value should be the booking total or the amount paid. If you take deposits, {$BOOKING_PAID} can be lower than the total. Whichever you pick, use the same choice in GA4, Google Ads and Meta so the numbers can be compared.
Step 4: Tag Manager recipe
Google Tag Manager setting
Variables (Data Layer Variable, Version 2)
DLV - ecommerce.transaction_id Data Layer Variable Name: ecommerce.transaction_id
DLV - ecommerce.value Data Layer Variable Name: ecommerce.value
DLV - ecommerce.currency Data Layer Variable Name: ecommerce.currency
Trigger
Name: CE - purchase
Type: Custom Event
Event name: purchase
This trigger fires on: All Custom Events
Tag
Name: GA4 - purchase (Checkfront receipt)
Type: Google Analytics: GA4 Event
Measurement ID: your G- ID (the same stream as the rest of your site)
Event Name: {{Event}}
More Settings, Ecommerce: Send Ecommerce data, Data Source: Data Layer
Triggering: CE - purchaseThe tag settings match Google's GTM ecommerce instructions, and Version 2 Data Layer Variables read the dotted names as nested keys, per Google's variable types reference. The three variables are not needed by the GA4 tag itself; they are there for the Google Ads and Meta tags in our Checkfront Google Ads guide and Checkfront Meta pixel guide.
Load GA4 one way only. If your site loads the Google tag directly in the page head rather than through Tag Manager, skip the GA4 tag above and add this line to the Step 3 script, straight after the data layer push. With gtag the fields are event parameters, not wrapped in an ecommerce object, as in Google's recommended events reference:
JavaScript
gtag('event', 'purchase', { transaction_id: bookingId, value: total, currency: 'USD', items: items });Before you switch
Checkfront says the Google Analytics and Google Ads plugins "DO NOT WORK when using a Custom Receipt URL", and its Facebook article says a custom receipt URL needs a custom event in Facebook. Move GA4, Google Ads and Meta purchase tracking to the confirmation page at the same time, and deactivate the Google Analytics and Google Adwords integrations under Manage > Integrations so nothing on Checkfront's pages is counted next to your own purchase. If you choose to leave the GA4 integration on, check in DebugView which events still arrive from the booking pages and do not mark any of them as a key event. For Meta, follow the duplicate check in our Checkfront Meta guide.
Cross-domain sessions and direct traffic
Checkfront's GA4 introduction states the Booking Widget limitation plainly: referral information cannot be tracked through the widget's iframes, and widget conversions appear as direct. Treat that as the expected behavior of the native route, not as a fault in your setup. Checkfront's GA4 reporting article adds that only bookings customers make from your website appear, not bookings made by staff or through OTAs, and that GA4 should not be used as a reliable source for sales figures.
Your options for better attribution:
- Link to the Hosted Customer Booking Page from your booking buttons, with the integration's cross-domain support and the GA4 domain settings above. Google's linker adds a
_glparameter when a visitor clicks a link to a configured domain. - Use the Custom Receipt URL route. The purchase then fires on your own domain, in the same browser that started the visit, so it can join the visitor's existing GA4 session rather than starting a new one inside the booking frame.
- Add a Tracking ID. Checkfront records a
tidon each booking made from a URL such asexample.checkfront.com/reserve/?tid=summer-promoor a widget with a Tracking ID. It shows in the booking and the Booking Index report, so you can reconcile campaigns inside Checkfront even when GA4 shows direct (Tracking referrals and campaigns).
Google's cross-domain guide also lists cases where linking fails, such as navigation triggered by JavaScript rather than a user's click, or a redirect that drops query parameters. If a booking button opens the hosted page through a script, check the destination address for _gl.
How to verify GA4 purchase tracking
- Choose a test method. Checkfront's Test Payment Provider simulates a full transaction with test cards (Visa 4111111111111111, any future expiry). Checkfront warns that it "overrides any live Payment Provider" and should not be enabled on a customer-accessible website, so on a live site either use it in a short, quiet window and disable it straight after, or make a low-value real booking that you then cancel and refund.
- Start debug mode. Open your site through Tag Assistant or GTM Preview. Google's DebugView article says either one turns on debug mode, and that events will not appear in DebugView if consent mode is active and Analytics consent was not given, so accept the cookie banner during the test.
- Make the booking the way customers do: through the widget or through your link to the hosted page.
- Native route: in GA4 DebugView or the Realtime report, note the event names that arrive on the Receipt, Guest Form and Documents/Waivers pages and whether they carry
value,currencyortransaction_id. Record what you see; it is the only reliable description of what your account sends. - Custom Receipt URL route: check the address bar shows your confirmation page with a booking ID and total, then in Tag Assistant find the
purchaseevent and confirm the GA4 tag fired once with the righttransaction_id,valueandcurrency. Reload the page and confirm the tag does not fire again. - Cross-domain check: click your link to the hosted booking page and confirm the address contains
_gl=, as Google's cross-domain guide describes. - Compare with Checkfront. After a day, compare GA4 purchases with website bookings in Checkfront's Booking Index. Expect GA4 to be lower: Checkfront notes that ad blockers and browser privacy settings can prevent tracking.
- Cancel and refund the test booking, and switch off the Test Payment Provider if you used it.
Common Checkfront GA4 problems
- No purchase event at all. On the native route, Checkfront does not name its events, so look for any event on the Receipt page before concluding nothing is sent. If you set a Custom Receipt URL, Checkfront says its Google Analytics plugin does not work, so the purchase has to come from your confirmation page. See no purchase event.
- Bookings counted two or three times. Events are created on the Receipt, Guest Form and Documents/Waivers pages. Mark only one as a key event. See duplicate purchases.
- All bookings show as direct. Expected for Booking Widget bookings on the native route. See cross-domain session breaks.
- Revenue is missing or zero. Check whether your native events carry a value; on the receipt route, check the currency and the
totalparameter. See wrong or missing value. - Page views counted twice on your site. The Google tag is loaded both directly and through Tag Manager. Keep one.
The full checklist, including consent banners and tags inside the booking frame, is in the Checkfront tracking troubleshooting section of our Checkfront Google Ads guide.
Frequently asked questions
Does Checkfront send a GA4 purchase event automatically?
Checkfront's GA4 integration creates events automatically on the Receipt, Guest Form and Documents/Waivers pages, but its documentation does not name them or say whether they include revenue or a booking ID. Run a test booking and check DebugView to see what your account sends. For a documented purchase event with value and booking ID, use a Custom Receipt URL and send the event from your own page.
Can Google Tag Manager be used with Checkfront?
Not inside the booking flow: Checkfront does not support custom scripts in the widget or booking pages. On your own site you can, but Checkfront says that a GA4 Measurement ID deployed through Google Tag Manager does not support cross-domain tracking with its integration. Tag Manager works well for the Custom Receipt URL route, where the purchase fires on your own confirmation page and Checkfront's Google Analytics integration is switched off.
Why do Checkfront bookings show as direct traffic in GA4?
Checkfront's documentation says the Booking Widget is built with iframes, so referral information cannot be tracked and widget conversions appear as direct. Linking to the Hosted Customer Booking Page with cross-domain settings, or moving the purchase to a Custom Receipt URL on your site, are the documented ways around it.
Can custom tracking code be added to the Checkfront booking widget?
No. Checkfront says inserting a custom script into the generated widget code is not supported, and points to the integrations under Manage > Integrations instead.
Will staff bookings and OTA bookings show up in GA4?
No. Checkfront's GA4 reporting article says the reports include only bookings customers make from your website, not bookings made within Checkfront by staff or through OTAs.
Does the Custom Receipt URL pass the currency?
No currency placeholder is listed. Checkfront offers booking ID, total, SKUs, start date, amount paid and status. Set the currency in your own code to match your Checkfront account.