Baza-Buchungskalender v2 – Dokumentation zu Google Analytics 4-Ereignisauslösern
Eine vollständige Übersicht über alle nachverfolgbaren JavaScript-Ereignisse in Baza Booking Calendar v2 für die Integration mit Google Analytics 4.
Hinweis: Alle Ereignisse werden bei $(document) mit dem bbc Präfix ausgelöst. Verwenden Sie $(document).on('bbcEventName', callback) zum Abhören.
Initialisierung
| $(document).on() | GA4-Ereignis | Parameter |
|---|
bbcInitialized | bbc_initialized | – |
Kalender
| $(document).on() | GA4-Ereignis | Parameter |
|---|
bbcCalendarPrinted | bbc_calendar_loaded | service |
bbcCalendarNavigated | bbc_calendar_navigated | direction: next/prev |
bbcServiceChanged | bbc_service_changed | service |
bbcFirstClickInDay | bbc_slot_selected | date, day |
bbcRangeSelected | bbc_range_selected | day, date |
bbcSelectedSlotsCleared | bbc_slots_cleared | – |
bbcCalendarRefreshClicked | bbc_calendar_refreshed | – |
bbcSwipeDetected | bbc_calendar_swiped | direction |
bbcPendingSlotClicked | bbc_slot_clicked_pending | – |
bbcBookedSlotClicked | bbc_slot_clicked_booked | – |
bbcAjaxPrintCalendarSuccess | – | wird nach jedem AJAX-Ladevorgang des Kalenders ausgelöst |
bbcHandleClick | – | wird nach jedem Klick auf einen Slot ausgelöst |
bbcDayReset | – | day, date |
| $(document).on() | GA4-Ereignis | Parameter |
|---|
bbcFormSubmitted | bbc_form_submitted | – |
bbcFormValidated | bbc_form_validated | isValid |
bbcFormSubmitSuccess | bbc_booking_completed | outAction: buy/get_url |
bbcFormSubmitFailed | bbc_booking_failed | reason |
bbcUnenableSlotsChecked | bbc_slots_conflict | found_slots |
bbcRulesCheckboxChanged | – | checked |
bbcInvoiceCheckboxChanged | – | checked |
Gutschein
| $(document).on() | GA4-Ereignis | Parameter |
|---|
bbcCouponApplied | bbc_coupon_applied | couponCode, coupon_type, coupon_value |
bbcCouponCheckFailed | bbc_coupon_failed | reason |
bbcCouponReset | bbc_coupon_removed | – |
Zusätzliche Dienstleistungen
| $(document).on() | GA4-Ereignis | Parameter |
|---|
bbcAdditionalQtyIncreased | bbc_service_added | id, name, value, totalPrice |
bbcAdditionalQtyDecreased | bbc_service_removed | id, name, value, totalPrice |
bbcAdditionalCategoryChanged | bbc_category_switched | categoryId |
bbcPopupOpened | bbc_popup_opened | – |
bbcPopupClosed | bbc_popup_closed | – |
bbcAdditionalServicesLoaded | – | service |
Preise
| $(document).on() | GA4-Ereignis | Parameter |
|---|
bbcTotalCalculated | bbc_price_calculated | totalPrice, totalDiscount, taxAmount |
bbcDiscountCalculated | bbc_discount_applied | discount, couponData.coupon_type |
bbcUpdateBookingDetails | – | wird nach jeder Preisaktualisierung ausgelöst |
bbcBookingDetailsUpdated | – | vollständiges Ergebnisobjekt |
Treue
| $(document).on() | GA4-Ereignis | Parameter |
|---|
bbcLoyaltyFound | bbc_loyalty_found | loyaltyData, userData |
bbcLoyaltyDiscountApplied | bbc_loyalty_applied | discountPercent |
bbcLoyaltyReset | bbc_loyalty_removed | – |
Warenkorb
| $(document).on() | GA4-Ereignis | Parameter |
|---|
bbcDiscountApplied | – | Wird ausgelöst, wenn ein Rabatt auf den Warenkorb angewendet wird |
bbcLoyaltyApplied | – | wird ausgelöst, wenn ein Treuebonus auf den Warenkorb angewendet wird |
Anwendungsbeispiel
$(document).on('bbcFormSubmitSuccess', (e, data) => {
if (typeof gtag !== 'function') return;
gtag('event', 'bbc_booking_completed', {
event_category: 'BBC',
outAction: data.outAction
});
});
$(document).on('bbcCouponApplied', (e, data) => {
if (typeof gtag !== 'function') return;
gtag('event', 'bbc_coupon_applied', {
event_category: 'BBC',
coupon_code: data.couponCode,
coupon_type: data.couponData?.coupon_type,
coupon_value: data.couponData?.coupon_value
});
});
$(document).on('bbcTotalCalculated', (e, data) => {
if (typeof gtag !== 'function') return;
gtag('event', 'bbc_price_calculated', {
event_category: 'BBC',
total_price: data.totalPrice,
discount: data.totalDiscount,
tax: data.taxAmount
});
});
Zuletzt geändert: 10.08.2026