FareHarbor · GA4 and Google Tag Manager

FareHarbor GA4 purchase tracking with Google Tag Manager

For operators and freelancers who want completed FareHarbor bookings to show up as purchases in their own GA4 property, with Google Tag Manager set up so it helps instead of double counting.

Last reviewed November 1, 2026. Checked against FareHarbor's help center, FareHarbor's public Lightframe script and Google's Analytics and Tag Manager documentation.

Short answer

FareHarbor GA4 purchase tracking works through FareHarbor's built-in GA4 integration, not through a tag you build in Google Tag Manager. You add your GA4 measurement ID under Settings, Analytics & Tracking in the FareHarbor Dashboard, keep your own Google tag on every page of your site, and FareHarbor sends a purchase event with value, currency and item details when the booking confirmation page appears in the Lightframe. Then add fareharbor.com and your own domain to GA4's unwanted referrals list, which FareHarbor calls mandatory, and do not add a second GA4 purchase tag in GTM.

How FareHarbor bookings connect to your website

When a visitor clicks a FareHarbor book button, the Lightframe opens as an overlay on top of your page. The overlay is an iframe served from fareharbor.com, written into the top of your page body by the Lightframe API script, which FareHarbor asks you to place in the body of the page, preferably just before the closing </body> tag. On certain mobile and touch devices, and on site builders that cannot show the overlay, the visitor is sent to a "fallback" page instead: the same booking flow opened as a full page on fareharbor.com.

This matters for tracking because the booking, the checkout and the confirmation page all happen on FareHarbor's domain. Tags you place on your own site cannot see what happens inside the frame. FareHarbor's custom pixel documentation says it plainly: because bookings are made in the Lightframe, no conversion information can be transferred back onto the site after the booking is completed. That is why GA4 purchase tracking on FareHarbor is set up in the FareHarbor Dashboard, and why the Dashboard integration is the route FareHarbor documents.

You will also see Google Analytics activity inside the booking frame that is not yours. FareHarbor's analytics integrations overview explains that FareHarbor runs its own trackers in the Lightframe as standard practice, including a GA4 measurement ID for FareHarbor's analytics. In the frame you may spot G-6WXE90X597 or G-2CHJ9R6QSF; both are FareHarbor platform analytics, they are normal, and they are separate from your own GA4 property. Leave them alone and do not add them to your reports.

What FareHarbor supports for GA4 and GTM

RouteStatus in FareHarbor's documentation
Native GA4 integration (measurement ID in the Dashboard)Documented and self-serve. Sends booking-flow events and purchase to your GA4 property.
Your own GTM container inside the booking flowNot documented. FareHarbor suggests adding each pixel to the Dashboard rather than through GTM, and says your site's GTM and Dashboard pixels should work in tandem.
dataLayer or postMessage events for developersNot documented. No event specification is published.
Custom code on the confirmation pageDocumented for tracking other than GA4 and Meta. FareHarbor Support reviews and adds the script; only FareHarbor admins can add it.

The GA4 integration setup guide says FareHarbor's integration script keeps session continuity across domains, respects cookie consent, carries attribution parameters into the Lightframe and forwards booking events with ecommerce details into GA4. The events it lists are below. Not every event fires for every business: it depends on how your booking flow is configured.

EventWhen it firesParameters FareHarbor lists
view_item_gridBrowse activities pagecompany_shortname, flow_node_id
view_search_by_dateSearch by date pagecompany_shortname, flow_node_id
view_calendarAll items calendarcompany_shortname, flow_node_id
view_calendar_single_itemCalendar for one itemadds item_id, item_name
view_item_descriptionItem description pageadds item_id, item_name
view_book_formBooking form (customer type and quantity)adds item_id, item_name
add_to_cartItem added to cart (shopping cart only)adds quantity, price, currency
purchaseBooking confirmed, confirmation page shownadds quantity, price, currency, plus value and item details

What the documentation does not say

FareHarbor's articles disagree on one name: the Lightframe funnel article uses view_search_by_date, while the setup guide lists search_by_date. Check the exact name in your own GA4 events report before you build funnels or audiences on it. The parameter table does not list transaction_id, although FareHarbor's multiple Dashboards article refers to the Transaction ID report for FareHarbor purchases, and it does not say whether value includes tax. FareHarbor's public booking page code answers both, as undocumented behavior that can change: see the purchase field table below. Confirm both in DebugView with a test booking.

Step 1: Connect your GA4 property in the FareHarbor Dashboard

Before you start, make sure your own GA4 Google tag runs on every page of your website, either as gtag.js or as a Google tag in your GTM container, and that the Lightframe API script is in the page body. FareHarbor's integration is built to work alongside the tag on your page (with the multiple websites checkbox described below turned on, it only reports when your site carries the same measurement ID), so use the same ID on both sides.

  1. In GA4, find your measurement ID: Admin, Data collection and modification, Data streams, then your web stream. The ID starting with G- is in the top right. FareHarbor's GA4 FAQ shows the same path.
  2. Log in to the FareHarbor Dashboard and go to Settings, then Analytics & Tracking.
  3. Click Add analytics service.
  4. Under SKU, enter your company shortname (FareHarbor's example is kayakisland).
  5. Enter your GA4 measurement ID.
  6. Decide on the checkbox Calendar, item grid, or book button is added to multiple websites. It is off by default. Turn it on only if your booking flow is also embedded on other sites (affiliates, partner sites or your other websites) and you want GA4 to count only sales from your own site. When it is on, analytics only run when the booking flow matches the measurement ID of the host website.
  7. Save the service.

All of these steps come from FareHarbor's GA4 setup article. The article does not show the full form, so field labels in your Dashboard may differ slightly.

Account differences

An older FareHarbor overview page says to contact FareHarbor Support to connect an analytics account, while the current GA4 articles describe the self-serve steps above. If you do not see Analytics & Tracking in Settings, your user may lack the permission, or your account may be set up differently: ask FareHarbor Support. If several FareHarbor Dashboards (for example, one per location) feed one website, FareHarbor calls the company_shortname custom dimension mandatory (Step 2). If you sell through affiliates or the FareHarbor Distribution Network, you may see affiliates' GA4 IDs in your Tracking & Analytics section; the GA4 FAQ explains that affiliates only receive purchases and page views from their own websites.

Step 2: Configure your GA4 property

Unwanted referrals (FareHarbor calls this mandatory)

  1. In GA4, go to Admin, Data streams, choose your web stream, then Configure tag settings.
  2. Click Show all, then List unwanted referrals.
  3. Add a condition with match type Referral domain contains and the domain fareharbor.com.
  4. Add a second condition, Referral domain contains, with your own domain without www (for example mycompany.com).
  5. Save.

Google's unwanted referrals article describes the same setting for checkout on a third-party domain: without it, that domain shows up as the traffic source. The setting is not described as retroactive, so expect earlier sessions to keep their old source.

Custom dimensions for FareHarbor parameters

GA4 only shows custom event parameters in reports once you register them. Following FareHarbor's articles, go to Admin, Custom definitions, Create custom dimension, keep Scope as Event, and create one each for company_shortname, flow_node_id, item_id and item_name. FareHarbor notes that custom dimensions are not retroactive and can take up to 24 hours to populate, so do this on day one.

Purchase as a key event

Google's key events documentation says purchase is marked as a key event by default. Check Admin, Data display, Events: the star next to purchase should be filled. If you plan to import it into Google Ads, that is what the import uses (see our FareHarbor Google Ads conversion guide).

Step 3: Set up Google Tag Manager so it does not double count

If your site runs GA4 through Google Tag Manager, GTM still has a job, but it is a smaller one than on a normal ecommerce site. The purchase comes from FareHarbor's integration, so your container should load the tag FareHarbor works with and stay out of the way of the purchase itself.

Google Tag Manager setting

Tag: Google tag (your GA4 measurement ID)
  Tag ID: G-XXXXXXXXXX (the same ID you entered in the FareHarbor Dashboard)
  Trigger: Initialization - All Pages (or All Pages)
Do NOT add: GA4 Event tag named "purchase" for FareHarbor bookings
  Reason: FareHarbor's integration already sends purchase to this ID.
Keep: the FareHarbor Lightframe API script in the page body (site template, not GTM),
  so every FareHarbor link opens the Lightframe with tracking parameters attached.

Load the Google tag as early as your consent setup allows. FareHarbor documents that its integration keeps the session continuous; in FareHarbor's public Lightframe script (undocumented behavior that can change), that handoff reads your page's Google tag when a visitor clicks into the booking flow, so a Google tag that only fires after a long delay, or only on some pages, may not be there to hand over the session.

What the documentation does not say

FareHarbor does not publish a dataLayer or postMessage specification. The public Lightframe API script that you add to your site currently contains a message handler named fareharbor.analytics.reportGA4, which passes GA4 commands from the Lightframe into the dataLayer your page's Google tag uses. That fits the documented behavior (session continuity and events forwarded into GA4), but the relay itself is undocumented behavior seen in public code, and it can change without notice. In GTM Preview you may therefore see FareHarbor's events, including purchase, in the event list of your own page. Confirm it in your own GTM Preview, and ask FareHarbor Support before you build anything that depends on it.

Optional: reuse the purchase event for other tags

If GTM Preview shows a purchase event on your page after a test booking (through the undocumented relay described above), you can fire non-GA4 tags from it with a Custom Event trigger named purchase. Open that event's Data Layer tab, copy the exact key path for value, currency and transaction ID as shown there, and create Data Layer Variables (Version 2) with those paths. Do not use it to fire another GA4 purchase tag, and do not rely on it for Meta purchases if you also use FareHarbor's Meta integration (see our FareHarbor Meta pixel guide). Because FareHarbor does not document this route, re-check it after any change to your booking flow.

GA4's purchase format, and which parts FareHarbor fills in

For reference, this is Google's recommended GTM ecommerce purchase push. You do not write this for FareHarbor; it shows what a complete purchase looks like so you can check FareHarbor's event against it.

JavaScript

window.dataLayer = window.dataLayer || [];
dataLayer.push({ ecommerce: null });
dataLayer.push({
  event: "purchase",
  ecommerce: {
    transaction_id: "T_12345",
    value: 72.05,
    tax: 3.60,
    currency: "USD",
    items: [
      {
        item_id: "SKU_12345",
        item_name: "Sunset kayak tour",
        price: 34.22,
        quantity: 2
      }
    ]
  }
});
GA4 fieldWhere it comes from on FareHarbor
currencySent by FareHarbor (documented)
valueSent by FareHarbor (documented as value). FareHarbor does not say whether tax is included. In its current public booking page code (undocumented, can change), value is the booking total including tax, and the tax amount is also sent in a separate tax parameter. A separate booking fee and a tip, which the receipt code keeps apart from that total, are not part of value.
items with item_id, item_name, price, quantitySent by FareHarbor (documented as item details, quantity and price)
transaction_idNot in FareHarbor's parameter table. In its current public booking page code (undocumented, can change), it is the booking number for a single booking and the order's identifier for a shopping cart order, where value and tax are summed over the bookings in the order. Check it in DebugView.
company_shortname, flow_node_idFareHarbor custom parameters; register as custom dimensions
Anything else (coupon, custom fields)Not documented; you cannot add it, because no code of yours runs inside the Lightframe

The two code-derived rows above come from the booking page script that FareHarbor's booking pages loaded on November 1, 2026. FareHarbor does not document these details, the file name changes with each FareHarbor release, and the behavior can change without notice, so treat DebugView on your own test booking as the final word. If you report revenue without tax, note that GA4's value from FareHarbor includes it.

Google's recommended events reference marks currency, value, transaction_id and items as required for purchase, and says currency is needed whenever value is set.

Cross-domain tracking, _gl and referrals

On most sites, cross-domain measurement means adding the other domain under Configure your domains so Google's linker adds a _gl parameter to links. FareHarbor's documentation does not ask for that. Instead, its integration script handles session continuity itself: the setup guide says it keeps the session continuous when a visitor moves from your site into the Lightframe and forwards attribution parameters into it. FareHarbor does not document how. In the public Lightframe API script, which is code rather than documentation and can change, the script adds your page's GA4 client and session IDs, UTM parameters and Google click IDs to FareHarbor booking links, rather than using _gl.

Google's cross-domain measurement article lists cases where its linker can fail, including navigation triggered by JavaScript rather than a direct user action, and it does not cover iframes. That is one more reason to rely on FareHarbor's own mechanism and the mandatory unwanted referrals list, instead of adding settings FareHarbor does not document. If a test shows purchases credited to fareharbor.com or split sessions, work through the cross-domain section of our troubleshooting guide.

Three setups break the hand-off, and FareHarbor lists them as reasons purchases can go unrecorded when the multiple websites checkbox is on: links that skip your website (for example ads or emails that point straight at a FareHarbor URL), FareHarbor links that do not open the Lightframe because the API script is missing, and a Lightframe placed inside your own custom iframe.

How to verify FareHarbor purchases in GA4

  1. Pick a test method. If your Dashboard is still in demo mode before launch, FareHarbor's demo mode article lets you book with the test card 4242424242424242; demo bookings are deleted at go-live and a live Dashboard cannot return to demo mode. On a live Dashboard there is no documented test booking mode, so make a low-value real booking on an item you control, then cancel and refund it in the Dashboard.
  2. Start GTM Preview or Tag Assistant on a page of your site with a FareHarbor button. Google's DebugView article explains that Preview turns on debug mode for your GA4 events.
  3. Accept analytics cookies in your banner. DebugView does not show events when consent mode is active and analytics consent was not given.
  4. Click the book button and complete the booking in the Lightframe.
  5. Open GA4 DebugView. You should see the booking-flow events (for example view_item_description and view_book_form) and then one purchase. Click purchase and check value, currency, the items and the transaction ID against the booking in your Dashboard.
  6. Check Realtime for the purchase key event, then after a day check Monetization, Ecommerce purchases.
  7. Repeat on a phone. Mobile visitors may get the fallback page instead of the overlay, so confirm the purchase still arrives with the right source.

Do not expect GA4 to match your FareHarbor reports exactly. FareHarbor's reports article lists privacy rules, browser blocking, ad blockers and later cancellations or changes, which are not passed back to GA4. Use the Dashboard report Bookings by Item, filtered to Source Online, as the source of truth.

Common problems

  • No purchase in GA4: the measurement ID in the Dashboard does not match your site tag, the multiple websites checkbox is on while traffic arrives without your site, the Lightframe API script is missing, or analytics consent was declined. See no purchase event.
  • Two purchases per booking: usually a GA4 purchase tag in GTM or an old custom pixel next to the native integration. See duplicate purchases.
  • Purchases credited to fareharbor.com or Direct: unwanted referrals are missing or links skip your site. See cross-domain session breaks.
  • Purchases from other websites in your data: your flow is embedded elsewhere and the multiple websites checkbox is off.

For how FareHarbor compares with other booking systems, see our booking tracking hub.

Frequently asked questions

Does FareHarbor send purchases to GA4 automatically?

Yes, once you add your GA4 measurement ID under Settings, Analytics & Tracking in the FareHarbor Dashboard. FareHarbor then sends a purchase event, with value, currency and item details, when the booking confirmation page appears. Nothing is sent to your property until the ID is added.

Can you put your Google Tag Manager container inside the FareHarbor booking flow?

Not as a documented option. FareHarbor does not document a way to load your own container in the Lightframe, and its custom pixel documentation suggests adding each pixel to the Dashboard rather than through GTM. Keep GTM on your website for the Google tag and your other site tags.

Should you create a GA4 purchase tag in GTM for FareHarbor?

No. The native integration already sends purchase to your measurement ID, so a second purchase tag would count bookings twice or send incomplete data. GA4 deduplicates purchases with the same transaction ID on web streams, but you should not rely on that to fix a duplicate setup.

What are G-2CHJ9R6QSF and G-6WXE90X597 in the booking frame?

G-2CHJ9R6QSF and G-6WXE90X597 are FareHarbor platform analytics. FareHarbor runs its own trackers in the Lightframe as standard practice, separate from your GA4 property. They are normal and do not need to be removed.

Why does FareHarbor show more bookings than GA4?

FareHarbor counts every booking; GA4 misses some because of consent choices, browser tracking prevention, ad blockers and bookings made outside your website. Cancellations and changes are also not passed back to GA4. FareHarbor says its own reports are the accurate record.

Do you need to add fareharbor.com to cross-domain settings in GA4?

FareHarbor's documentation does not ask for it. It asks you to add fareharbor.com and your own domain to the unwanted referrals list, and its integration script carries the session into the Lightframe itself.

Want a second check on your booking tracking?

We check booking tracking setups like this one as part of our Booking Signal Audit: whether each booking reaches GA4, Google Ads and Meta once, with the right value, and what the ad platforms are learning from it. Ask us about an audit or see how the audit works.