# Events reference

> Every event the booking page sends, when it fires, its name in GA4, Meta, TikTok, OpenAI Ads and Clarity, every parameter it carries, and which event to use as your conversion.

Source: https://ibooker.online/docs/conversion-events-reference · iBooker.online documentation · updated 2026-11-22

This page lists every event the booking page sends and the name each tool receives it under. Names in the first column are what GA4 and the dataLayer (Google Tag Manager) get.

## Events

| Event (GA4 / dataLayer) | When it fires | Meta | TikTok | OpenAI Ads | Clarity |
| --- | --- | --- | --- | --- | --- |
| select_location | A location is selected, including automatically (only one location, or a link that names one). Once per location per visit (browser tab). | SelectLocation (custom) | SelectLocation (custom) | custom, named SelectLocation | select_location |
| select_service | A service is added to the cart, or picked to join the waitlist from its window. Every time. | AddToCart (standard) | AddToCart (standard) | items_added (standard) | select_service |
| select_staff | With select_service when a service is added to the cart: the chosen specialist or “Any available”. Not on the waitlist path. | SelectStaff (custom) | SelectStaff (custom) | custom, named SelectStaff | select_staff |
| select_availability | A time is picked and the client taps Continue to checkout. Once per chosen time. | SelectAvailability (custom) | SelectAvailability (custom) | custom, named SelectAvailability | select_availability |
| begin_checkout | Checkout opens with at least one service in the cart. Once per booking journey. | InitiateCheckout (standard) | InitiateCheckout (standard) | checkout_started (standard) | begin_checkout |
| purchase | Square has created the booking. The main conversion. | Purchase (standard) | Purchase (standard) | order_created (standard) | purchase |
| booking_confirmed | Same moment and data as purchase: the booking as a lead. | Lead (standard) | Schedule (standard) | appointment_scheduled (standard) | booking_confirmed |
| join_waitlist | The client joined your waitlist and iBooker's server recorded it. Only when your waitlist is on and no time is free. | JoinWaitlist (custom) | JoinWaitlist (custom) | custom, named JoinWaitlist | join_waitlist |

Once-per-visit events reset when the client starts another booking from the confirmation screen. Each tag also records a page view on load: page_view in GA4, PageView in Meta, TikTok's page event, page_viewed in OpenAI Ads.

## Parameters

Names as GA4 and the dataLayer receive them; use them for GTM variables and GA4 custom dimensions. A parameter is left out when its value is unknown (for example, location fields before a location is chosen).

| Parameter | What it holds | Sent with |
| --- | --- | --- |
| value | The booking total: services minus any promo discount, plus tax added on top of the price. Not the deposit. | select_availability, begin_checkout, purchase, booking_confirmed |
| currency | Three-letter currency code from your Square catalog | select_service, select_availability, begin_checkout, purchase, booking_confirmed |
| service_name | Service name; several are joined with commas | Every event except select_location |
| service_price | Price of the service just added | select_service |
| duration | Minutes. On purchase, all services combined. | select_service, purchase, booking_confirmed |
| location_name, location_id | The Square location's name and ID | Every event |
| staff_name | The specialist, or “Any available” when the client didn't pick one. On purchase, the person Square actually booked. Several are joined with commas. | select_staff, select_availability, begin_checkout, purchase, booking_confirmed, join_waitlist |
| appointment_time | Appointment start time (ISO 8601) | select_availability, begin_checkout, purchase, booking_confirmed |
| items | One GA4 ecommerce item per service: item_name (service), item_variant (variation), price (the variation's catalog price), quantity (1), item_category (the specialist chosen in the cart) | select_availability, begin_checkout, purchase, booking_confirmed |
| num_items | Number of services in the cart | select_availability, begin_checkout, join_waitlist |
| booking_id | The Square booking ID | purchase, booking_confirmed |
| transaction_id | Same as booking_id; GA4 deduplicates purchases on it | purchase, booking_confirmed |
| coupon | The promo code, if applied (value is already discounted) | purchase, booking_confirmed |
| customer_type | new or returning, based on your Square customers | purchase, booking_confirmed |
| new_customer | true or false (the same answer, in the form a Google Ads tag uses) | purchase, booking_confirmed |
| utm_source, utm_medium, utm_campaign | The visit's campaign tags | Every event, when the visit had them |
| ad_click_id, ad_click_type | The first ad click ID the visitor arrived with, and its kind (gclid, gbraid, wbraid, dclid, fbclid, msclkid, ttclid or li_fat_id) | Every event, when the visit had one |
| event_id | The ID Meta deduplicates on: the booking ID for purchase and booking_confirmed, a fresh random ID for other events | Every event, in the dataLayer only |

### How the other tools receive the details

| Tool | What it gets |
| --- | --- |
| Meta | value (service_price when there's no value), currency, content_name (service name), content_ids and contents (services by name, with item_price and quantity), content_type “product”, order_id (booking ID), num_items (InitiateCheckout only), location_name, location_id, staff_name, appointment_time, customer_segmentation (bookings only). No campaign parameters. |
| TikTok | content_type “product”, value, currency, description (service name), content_ids (service names, or the booking ID), quantity. Purchase and Schedule carry the booking ID as event_id. |
| OpenAI Ads | items_added, checkout_started and order_created carry amount (in minor units: cents for USD), currency and contents (the services). appointment_scheduled and custom events carry only their type. order_created and appointment_scheduled carry the booking ID as event_id. |
| Microsoft Clarity | The event name only. Clarity events have no parameters. |

## Which event to use as your conversion

| Tool | Use as the conversion |
| --- | --- |
| GA4 | Mark purchase as a key event. It carries the booking value, so revenue shows in your reports. |
| Google Ads | Import the GA4 purchase key event, or trigger your GTM conversion tag on purchase. |
| Meta | Purchase for sales campaigns, or Lead for lead campaigns. Both are standard events with the booking value. |
| TikTok | Purchase, or Schedule if your campaign counts appointments. |
| OpenAI Ads | order_created, or appointment_scheduled if you count appointments. |
| Microsoft Clarity | No conversions. Use the events to filter recordings: sessions with begin_checkout but no purchase show where clients drop off. |

> **Note:** purchase and booking_confirmed fire together with identical data. Pick one per tool, or every booking counts twice.

## Example: a purchase in the dataLayer

```
{
  event: "purchase",
  booking_id: "abc123xyz",
  transaction_id: "abc123xyz",
  value: 85,
  currency: "USD",
  duration: 60,
  location_name: "Downtown",
  location_id: "L1234567890",
  staff_name: "Alex",
  appointment_time: "2026-12-03T17:00:00Z",
  service_name: "Haircut",
  items: [{ item_name: "Haircut", item_variant: "Regular", price: 85, quantity: 1, item_category: "Alex" }],
  coupon: "WELCOME10",
  customer_type: "new",
  new_customer: true,
  utm_source: "google",
  utm_medium: "cpc",
  utm_campaign: "winter",
  ad_click_id: "EAIaIQobChMI...",
  ad_click_type: "gclid",
  event_id: "abc123xyz"
}
```

Parameters are top-level keys, not nested under an “ecommerce” object. coupon, customer_type, new_customer and the campaign fields appear only when they apply.
