Integrations

Analytics & Tracking

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

Configure tracking integrations at Dashboard > Settings > Tracking. The widget automatically fires events to your connected analytics platforms.

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 or customer info provided

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 or customer info provided

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. The widget reads your tracking config at load time and injects the necessary GA4/GTM/Pixel scripts automatically on the host page.