JavaScript-Ereignisse und Auslöser

Baza-Buchungskalender v2 – Vollständige Referenz zu JavaScript-Ereignissen und -Triggern

Eine vollständige Übersicht über alle JavaScript-Ereignisse in Baza Booking Calendar v2. Nutzen Sie diese Ereignisse zur Integration mit Google Analytics 4, Google Tag Manager, LiveChat, Zapier oder beliebigen benutzerdefinierten Skripten.

Alle Ereignisse werden ausgelöst bei $(document) mit dem bbc Präfix ausgelöst. Abhören mit:

$(document).on('bbcEventName', function(e, data) {
    console.log(data);
});

Initialisierung

EreignisParameter
bbcInitialized–

Kalender

EreignisParameter
bbcCalendarPrintedservice, queryParams
bbcAjaxPrintCalendarSuccess–
bbcCalendarNavigateddirection: next/prev, queryData
bbcServiceChangedservice, queryData
bbcHandleClick–
bbcCalendarClickHandledelement, selectedCount
bbcFirstClickInDayelement, date, day
bbcRangeSelectedstartIndex, endIndex, day, date
bbcDayResetelement, day, date
bbcSelectedSlotsCleared–
bbcCalendarRefreshClicked–
bbcCalendarClearedservice
bbcSwipeDetecteddirection
bbcPendingSlotClicked–
bbcBookedSlotClicked–
bbcUnableSlotClicked–
bbcOffSlotClicked–
bbcPrevButtonDisabledTodaydate

Formular & Buchung

EreignisParameter
bbcFormSubmittedformData
bbcFormValidatedisValid
bbcFormSubmitSuccessoutAction: buy/get_url
bbcFormSubmitFailedreason
bbcFormSubmitIgnored–
bbcFormSubmitError–
bbcUnenableSlotsCheckedfound_slots
bbcRulesCheckboxChangedchecked: bool
bbcInvoiceCheckboxChangedchecked: bool

Gutschein

EreignisParameter
bbcCouponAppliedcouponCode, couponData.coupon_type, couponData.coupon_value
bbcCouponCheckFailedreason: empty_code/invalid/error
bbcCouponReset–
bbcCouponAlreadyAppliedcouponCode
bbcCouponButtonClicked–
bbcDiscountCalculateddiscount, totalPrice, couponData

Zusätzliche Dienstleistungen

EreignisParameter
bbcAdditionalServicesLoadedservice
bbcAdditionalQtyIncreasedid, name, value, totalPrice
bbcAdditionalQtyDecreasedid, name, value, totalPrice
bbcAdditionalCategoryChangedcategoryId
bbcSelectedServicesUpdatedselectedServices, totalPrice
bbcAdditionalServicesCleared–
bbcAdditionalServicesInputUpdatedselectedServices, formattedString
bbcPopupOpened–
bbcPopupClosed–
bbcServiceQuantityChangedserviceId, delta
bbcServiceRemovedserviceId

Preise

EreignisParameter
bbcTotalCalculatedtotalPrice, totalDiscount, taxAmount, selectedHours, chosenDates
bbcBookingDetailsUpdatedvollständiges Ergebnisobjekt
bbcUpdateBookingDetails–

Treueprogramm

EreignisParameter
bbcLoyaltyFoundloyaltyData, userData
bbcLoyaltyDiscountApplieddiscountPercent, loyaltyData
bbcLoyaltyDiscountCalculateddiscount, totalPrice, discountPercent
bbcLoyaltyReset–
bbcLoyaltyNotFounduserData
bbcLoyaltyMessageShownloyaltyData
bbcLoyaltyCheckErrorerror, userData

Warenkorb-Modul

Für Warenkorb-Ereignisse muss das BBC-Cart-Modul unter „Einstellungen – Allgemein – Warenkorb aktivieren“ aktiviert sein.

EreignisParameter
bbcDiscountApplied–
bbcLoyaltyApplied–
bbcCouponApplied–
bbcCouponReset–

Benutzeroberfläche und System

EreignisParameter
bbcComponentsInitialized–
bbcComponentsBound–
bbcEventHandlersInitialized–
bbcUIInitialized–
bbcApplicationStarted–
bbcTextCopiedtext
bbcCopyFailederror
bbcStateChangedkey, value, oldValue
bbcConfigChangedkey, value
bbcScrolledTotarget, element
Zuletzt geändert: 10.08.2026