Integrations

Analytics & Tracking

Connect Google Analytics, Tag Manager, and Facebook Pixel to track your leads, bookings. and sales.

Configure tracking integrations at Dashboard > Settings > Tracking. The widget automatically fires events to your connected analytics platforms and it works everywhere your widget runs: embedded on your own site, on your hosted Booking Link, and on your Microsite (including custom domains).

Google Analytics 4

Enter your GA4 Measurement ID (starts with G-) in Settings > Tracking. The widget fires these GA4 events:

GA4 EventWhen It Fires
bookkit_step_viewedCustomer moves to a new step in the booking flow
bookkit_quote_calculatedA price quote is calculated (includes value and currency)
purchaseBooking confirmed and paid (includes transaction_id, value, items)
bookkit_booking_completedBooking confirmed (includes transaction_id, value, service)
generate_leadLead submitted, customer info provided, or a manual-confirmation booking placed

The value on quote and booking events is reported in your business’s configured currency. Bookings that require manual confirmation aren’t paid yet, so they fire generate_lead (not purchase) until they’re confirmed.

Google Tag Manager

Enter your GTM Container ID (starts with GTM-). The widget pushes events to the data layer so you can build custom triggers and tags in GTM. All the same events listed above are pushed to dataLayer.

Facebook Pixel

Enter your Facebook Pixel ID. The widget fires standard Facebook Pixel events:

Facebook EventBookingMachine Trigger
PageViewWidget loaded on page
ViewContentCustomer views a step (with step name)
AddToCartQuote calculated (with value and currency)
PurchaseBooking confirmed and paid (with value and currency)
LeadLead submitted, customer info provided, or a manual-confirmation booking placed

Custom DOM Events

The widget emits events you can listen for directly in JavaScript. See the Widget & Embedding guide for the full list of bookkit:* events and how to listen for them.

Tip: Tracking is configured per-business in the dashboard and works everywhere your widget runs — embedded on your own site, on your hosted Booking Link, and on your Microsite (including custom domains). The widget reads your tracking config at load time and injects the necessary GA4/GTM/Pixel scripts automatically on the page.