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
bbcSwipeDetecteddirection
bbcPendingSlotClicked–
bbcBookedSlotClicked–
bbcUnableSlotClicked–
bbcOffSlotClicked–
bbcPrevButtonDisabledTodaydate

Form & Booking

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

Coupon

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

Additional Services

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

Pricing

EventParameters
bbcTotalCalculatedtotalPrice, totalDiscount, taxAmount, selectedHours, chosenDates
bbcBookingDetailsUpdatedfull result object
bbcUpdateBookingDetails–

Loyalty Program

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

Cart Module

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

EventParameters
bbcDiscountApplied–
bbcLoyaltyApplied–
bbcCouponApplied–
bbcCouponReset–

UI & System

EventParameters
bbcComponentsInitialized–
bbcComponentsBound–
bbcEventHandlersInitialized–
bbcUIInitialized–
bbcApplicationStarted–
bbcTextCopiedtext
bbcCopyFailederror
bbcStateChangedkey, value, oldValue
bbcConfigChangedkey, value
bbcScrolledTotarget, element
Last Modified: 17.04.2026