JavaScript Events & Triggers

Baza Booking Calendar v2: JavaScript Events & Triggers Complete Reference

A complete reference of all JavaScript events in Baza Booking Calendar v2. Use these events to integrate with Google Analytics 4, Google Tag Manager, LiveChat, Zapier, or any custom script.

All events fire on $(document) with the bbc prefix. Listen with:

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

Initialization

EventParameters
bbcInitialized–

Calendar

EventParameters
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
bbcPendingSlotClicked–
bbcBookedSlotClicked–
bbcUnableSlotClicked–
bbcOffSlotClicked–
bbcPrevButtonDisabledTodaydate
bbcCalendarDataChangedservice
bbcCalendarDataLoaded–
bbcCalendarPrintErrorxhr, status, error, queryParams
bbcDayPickerDayOpened–
bbcDayPickerMonthChanged–
bbcDayPickerMonthShown–
bbcHandleClickBlockedelement, reason
bbcRangeChangedstartMonth, endMonth, startYear, endYear
bbcSlotClaimsChanged–
bbcSlotDeselectedelement, date
bbcSlotSelectedelement, date
bbcUpdateCalendarSlots–
bbcWeekAppendedresponse, year, month, day
bbcWeekLoadedloadedDays, queueRemaining

Form & Booking

EventParameters
bbcFormSubmittedformData
bbcFormValidatedisValid
bbcFormSubmitSuccessoutAction: buy/get_url
bbcFormSubmitFailedreason
bbcFormSubmitIgnored–
bbcFormSubmitError–
bbcUnenableSlotsCheckedfound_slots
bbcRulesCheckboxChangedchecked: bool
bbcInvoiceCheckboxChangedchecked: bool
bbcBookingDataLoadErrorbookingId
bbcBookingElementsInitialized–
bbcFormBuilderReloaded–
bbcFormResetAfterBooking–
bbcMailOrPhoneChangeddata

Coupon

EventParameters
bbcCouponAppliedcouponCode, couponData.coupon_type, couponData.coupon_value
bbcCouponCheckFailedreason: empty_code/invalid/error
bbcCouponReset–
bbcCouponAlreadyAppliedcouponCode
bbcCouponButtonClicked–
bbcCouponBlurChecked–
bbcCouponClearedOnBlur–
bbcCouponClearedOnInput–
bbcCouponEnterPressed–

Additional Services

EventParameters
bbcAdditionalServicesLoadedservice
bbcAdditionalQtyIncreasedid, name, value, totalPrice
bbcAdditionalCategoryChangedcategoryId
bbcSelectedServicesUpdatedselectedServices, totalPrice
bbcAdditionalServicesCleared–
bbcAdditionalServicesInputUpdatedselectedServices, formattedString
bbcPopupOpened–
bbcPopupClosed–
bbcServiceQuantityChangedserviceId, delta
bbcServiceRemovedserviceId
bbcAdditionalServiceClicked–
bbcAdditionalServicesLoadErrorservice, xhr, status, error
bbcAdditionalTotalPriceCalculatedtotal
bbcChoiseQtyMinusserviceId
bbcChoiseQtyPlusserviceId
bbcChoiseRemovedserviceId, day
bbcUpdateAdditionalServicesInput–
bbcAdditionalQtyChangedname, oldValue, newValue, totalPrice
bbcAdditionalQtyDecreasedid, name, value, totalPrice
bbcAdditionalQtyInitialized–
bbcSingleSelectionChangedselectedInput

Pricing

EventParameters
bbcBookingDetailsUpdatedfull result object
bbcUpdateBookingDetails–
bbcElementPriceUpdatedelement, price, secondPrice, enableSecond, reset
bbcMinimumAmountCheckedvalid, minimumHours
bbcPaymentActivityCheckedpaymentActivity
bbcPriceCleared–
bbcPriceDisplayUpdatedtotalPrice, taxAmount, taxLines, discount, info, partialAmount, userBalance, finalPriceWithTax, infoLines, fullLines, payNow, amount
bbcPriceInfoLines–
bbcServerPrice–
bbcServerPriceCleared–
bbcSurchargesInChoiseUpdated–

Loyalty Program

EventParameters
bbcLoyaltyFoundloyaltyData, userData
bbcLoyaltyDiscountApplieddiscountPercent, loyaltyData
bbcLoyaltyReset–
bbcLoyaltyNotFounduserData
bbcLoyaltyMessageShownloyaltyData
bbcLoyaltyCheckErrorerror, userData

Cart Module

Cart events require the BBC Cart module to be enabled in Settings, General, Enable Cart.

EventParameters
bbcCouponApplied–
bbcCouponReset–
bbcBalanceCodeSendFailedmessage
bbcBalanceCodeSentisResend
bbcBalanceCodeVerified–
bbcBalanceCodeVerifyFailedmessage
bbcBalanceDeductionDisplayeddeduction, balanceAfter
bbcBalanceReset–
bbcBalanceSendCodeStartedisResend
bbcBalanceVerifyStartedcode
bbcOfferAppliedoffer
bbcOffersLoadedoffers

UI & System

EventParameters
bbcComponentsInitialized–
bbcComponentsBound–
bbcEventHandlersInitialized–
bbcUIInitialized–
bbcApplicationStarted–
bbcTextCopiedtext
bbcCopyFailederror
bbcStateChangedkey, value, oldValue
bbcConfigChangedkey, value
bbcScrolledTotarget, element
bbcAlertShowntext, position, delay, image, type
bbcAlertsCleared–
bbcFieldFocusedelement
bbcLoadingHidden–
bbcLoadingShown–
bbcPopupClosedOutside–
bbcPopupInitialized–
bbcStateReset–
bbc_sp_closed–
bbc_sp_loaded–
Last Modified: 25.10.2026