How conversion tracking works
Which analytics and ad tools iBooker supports, how events are sent on the standalone booking page and on an embedded widget, how double counting is avoided, and which campaign and new-client data travels with each booking.
7 min read · Updated November 22, 2026
On this page
Your booking page reports every booking step, from choosing a location to the confirmed appointment, to the analytics and ad tools you connect in Admin → Analytics. You paste an ID and save; there's no event setup, and tracking is designed to count each booking once, even when embedded on your website.
Supported tools#
| Tool | Where (Admin → Analytics) | What it gets |
|---|---|---|
| Google Analytics 4 | Tracking pixels | Page views, every booking step, and purchase with revenue and ecommerce items |
| Google Tag Manager | No field; works on your own website via the embed script | Every booking event in your page's dataLayer |
| Google Ads | Through GA4 (import a key event) or your own GTM | The purchase conversion with value, booking ID and client type |
| Meta Pixel | Tracking pixels | PageView and booking events, including Purchase and Lead |
| Meta Conversions API (Beta) | Meta Conversions API card | The same events from iBooker's server, with hashed client details |
| TikTok Pixel | Tracking pixels | Page views and booking events, including Purchase and Schedule |
| OpenAI Ads Pixel | Tracking pixels | Page views and booking events, including order_created and appointment_scheduled |
| Microsoft Clarity | Tracking pixels | Session recordings and heatmaps, with booking steps as Clarity events |
| WhatConverts | WhatConverts card | One Appointment lead per booking, sent from iBooker's server |
The “What your booking page tracks” card in Admin → Analytics shows each tool's event names (with Copy buttons) and which to use as your conversion. Full list: Events reference.
Standalone booking page vs embedded widget#
Standalone booking page
When clients open your booking link directly (from Instagram, Google Business Profile or an ad), your tags load and fire on the booking page itself.
Embedded on your website
Embedded through the iBooker embed script (Admin → Embed widget), the booking page runs in an iframe on another domain. Tags firing there are third-party: browsers block or partition their cookies, so GA4 may lose the visitor or drop the hit, and Google Ads can't see the click ID on your domain. So your page fires the tags instead, first-party, with your own cookies:
- 1When the widget loads, it tells the embed script which tag IDs your project has (GA4, Meta Pixel, TikTok Pixel, OpenAI Ads Pixel).
- 2The embed script adds your GA4 property and Meta pixel next to your site's own tags, and the TikTok and OpenAI pixels only if your page has none of that kind. You're responsible for any visitor consent these tags need; if a consent tool must control them, see data-analytics="off" below.
- 3The embed script replies with the tools it will fire. From then on, the widget sends each event to your page and doesn't fire those tags in its frame, so events aren't sent twice.
- Events before the reply are held, then sent.
- With no reply (for example, an iframe pasted by hand without the embed script), the widget fires its own tags in the frame, with the cookie limits above.
- The decision holds for the page load. A tag your site loads later (a slow tag manager) is picked up on the next page load.
- Every event is also pushed into your page's dataLayer.
- Exception: Microsoft Clarity always runs inside the widget, because it records the widget itself.
Tags your website already has
- Google: with a GA4 Measurement ID saved, events go to that property only. With the field empty and gtag.js on your page, they go to every Google destination it configures.
- Meta: every Meta pixel on your page receives the events, not only the saved one.
- TikTok and OpenAI: if your page already has a pixel of that kind, events go to it instead of yours.
Opting out of tag installation
If your consent tool must control every tag, or your GTM already sends iBooker's dataLayer events to the same properties, add data-analytics=“off” to the embed script tag. No tags are installed; events still reach your dataLayer and existing tags. For a tool your page lacks, the widget fires the ID saved in Admin → Analytics in its own frame; clear the field to stop that.
<script async src="https://ibooker.online/embed.js" data-ibooker="your-slug" data-analytics="off"></script>How double counting is avoided#
- Embedded: your page or the widget fires each tool, not both (see above).
- purchase and booking_confirmed fire only after Square has created the booking; join_waitlist only after iBooker's server has recorded the entry.
- select_location, begin_checkout and select_availability don't repeat when the client goes back and forth (see Events reference).
- GA4 gets the Square booking ID as transaction_id, which GA4 uses to deduplicate purchases.
- Meta gets an event_id with every event, so it can keep one copy when the pixel and the Conversions API send the same event (see Meta Pixel and Conversions API).
Campaign and click data#
Every event carries the campaign that brought the visitor, as ordinary event parameters:
- utm_source, utm_medium and utm_campaign.
- ad_click_id and ad_click_type: the first ad click ID the visitor arrived with, checked in this order: gclid, gbraid, wbraid, dclid, fbclid, msclkid, ttclid, li_fat_id. ad_click_type holds the parameter name (for example gclid).
- Values are cut to 100 characters, GA4's limit for a parameter value.
So a booking still shows its source in GA4 when GA4's session attribution fails (in-app browsers, consent tools, a session that started before the tag loaded). Register these parameters as custom dimensions to report on them.
- The booking page reads the campaign from its URL and keeps it through every step.
- Embedded, the embed script copies it from your page's URL into the widget and remembers it for the browser tab, so a visitor who opens the widget from another page keeps their campaign. It also adds it to links to your booking page and hand-pasted iframes.
Captured URL parameters: utm_source, utm_medium, utm_campaign, utm_term, utm_content, utm_id, utm_source_platform, utm_creative_format, utm_marketing_tactic, gclid, gbraid, wbraid, dclid, fbclid, msclkid, ttclid and li_fat_id. iBooker also records the referrer, the landing and booking page (embedded only), and the GA4 client and session ID. The full set is used in the “Traffic source” block of your new-booking email, in saved bookings (Admin → Appointments, if turned on), in WhatConverts leads and in the Meta Conversions API (with Meta's _fbp and _fbc cookies).
New vs returning clients#
During the booking's client lookup, iBooker checks your Square Customer Directory to see whether this is the client's first booking with you.
- No matching customer profile: a new client (the booking creates their profile).
- A matching profile: a returning client. Profiles from every channel count: your POS, Square's own booking site, profiles added by hand.
- Exception: if an earlier attempt created the profile but failed (a declined card, a time just taken), the client stays new until their first successful booking.
purchase and booking_confirmed carry the answer (left out, not guessed, if the server returned none):
| Parameter | Where | Values |
|---|---|---|
| customer_type | GA4 and the dataLayer | new or returning |
| new_customer | GA4 and the dataLayer (for a Google Ads tag in GTM) | true or false |
| customer_segmentation | Meta (pixel and Conversions API) | new_customer_to_business or existing_customer_to_business |
Limitations#
- No field for a Google Ads tag (AW-) or a GTM container; GTM works only on your own website (see Google Analytics 4 and Google Tag Manager).
- My Bookings (where clients manage appointments) sends GA4, Meta, TikTok and OpenAI page views only: no booking events, no Clarity.
- A Quick Book booking that staff confirm from the admin produces no conversion events (the client never visited) and isn't sent to the Meta Conversions API or WhatConverts.
- TikTok and OpenAI Ads receive browser events only.
Something unclear or missing? Ask support — we keep these pages up to date.