Find sections across all documentation pages
BookerKit automatically sends analytics events to your website's tracking infrastructure for complete conversion tracking and campaign attribution.
How It Works
The widget sends events via postMessage to your page, which automatically pushes them to window.dataLayer. No configuration required—if you have GTM or analytics installed, events will flow automatically.
bookerkit_widget_openedWhen: Widget loads or button is clicked
Use for: Tracking widget engagement, page views
Data included: Session ID, account name
bookerkit_booking_startedWhen: User completes personal information (Step 1)
Use for: Lead generation tracking, measuring booking intent
Data included: Session ID, guest ID, email
bookerkit_service_selectedWhen: User selects a service (Step 2)
Use for: Understanding which services drive bookings
Data included: Session ID, service ID, service name, price, pre-selected flag
bookerkit_provider_selectedWhen: User selects a provider/therapist (Step 3, if provider selection is enabled)
Use for: Tracking provider preferences, funnel analysis
Data included: Session ID, provider ID, provider name, service ID
bookerkit_date_selectedWhen: User picks an appointment date
Use for: Micro-conversion tracking
Data included: Session ID, selected date, service info
bookerkit_time_selectedWhen: User selects a time slot
Use for: Funnel optimization
Data included: Session ID, date, time, service duration
bookerkit_booking_completedWhen: Booking successfully completed
Use for: PRIMARY CONVERSION EVENT for Google Ads, Facebook, GA4
Data included: Session ID, booking ID, reservation ID, value (price), service ID, service name, date, start time, guest name, guest email
bookerkit_booking_completedvalue parameterPro Tip: The value parameter automatically includes the service price, allowing for accurate ROAS tracking.
bookerkit_booking_completed"Alternative Method: If you have GTM set up with Facebook Pixel, create a trigger using the bookerkit_booking_completed event and fire a Facebook Standard Event.
bookerkit_booking_completed as a conversionvalue parameter for revenue tracking in reportsGTM receives all events automatically. Create triggers and tags based on BookerKit events:
bookerkit_booking_completed (or any other event){{dlv - value}} for the booking valueAvailable DataLayer Variables
BookerKit automatically captures detailed session data for every booking. This data is stored with the booking session and included in webhook payloads for full attribution.
Automatically captures: gclid (Google), fbclid (Facebook), fbc / fbp (Facebook cookies), msclkid (Microsoft).
Captures utm_source, utm_medium, utm_campaign, utm_term, and utm_content from the page URL.
Records device type (desktop/mobile/tablet), browser name and version, OS, screen resolution, and viewport size.
Captures the referring URL and landing page where the widget was loaded.
Open your browser's developer console and type dataLayer to see all events. After completing a booking, you should see BookerKit events appear.
Install the Google Tag Assistant browser extension. It will show you all GTM and GA4 events firing in real-time as you test the widget.
Install the Facebook Pixel Helper extension to verify Facebook events are firing correctly.
Testing Recommendation
Complete a test booking on your live site before running any paid ads. Verify that the bookerkit_booking_completed event appears in your analytics platform with the correct value.