Google Analytics 4 Event Triggers

Baza Booking Calendar v2 – Google Analytics 4 Event Triggers Documentation

A complete reference of all trackable JavaScript events in Baza Booking Calendar v2 for Google Analytics 4 integration.

Note: All events are fired on $(document) with the bbc prefix. Use $(document).on('bbcEventName', callback) to listen.

Initialization

$(document).on()GA4 EventParameters
bbcInitializedbbc_initialized–

Calendar

$(document).on()GA4 EventParameters
bbcCalendarPrintedbbc_calendar_loadedservice
bbcCalendarNavigatedbbc_calendar_navigateddirection: next/prev
bbcServiceChangedbbc_service_changedservice
bbcFirstClickInDaybbc_slot_selecteddate, day
bbcRangeSelectedbbc_range_selectedday, date
bbcSelectedSlotsClearedbbc_slots_cleared–
bbcCalendarRefreshClickedbbc_calendar_refreshed–
bbcSwipeDetectedbbc_calendar_swipeddirection
bbcPendingSlotClickedbbc_slot_clicked_pending–
bbcBookedSlotClickedbbc_slot_clicked_booked–
bbcAjaxPrintCalendarSuccess–fires after every calendar AJAX load
bbcHandleClick–fires after every slot click
bbcDayReset–day, date

Form & Booking

$(document).on()GA4 EventParameters
bbcFormSubmittedbbc_form_submitted–
bbcFormValidatedbbc_form_validatedisValid
bbcFormSubmitSuccessbbc_booking_completedoutAction: buy/get_url
bbcFormSubmitFailedbbc_booking_failedreason
bbcUnenableSlotsCheckedbbc_slots_conflictfound_slots
bbcRulesCheckboxChanged–checked
bbcInvoiceCheckboxChanged–checked

Coupon

$(document).on()GA4 EventParameters
bbcCouponAppliedbbc_coupon_appliedcouponCode, coupon_type, coupon_value
bbcCouponCheckFailedbbc_coupon_failedreason
bbcCouponResetbbc_coupon_removed–

Additional Services

$(document).on()GA4 EventParameters
bbcAdditionalQtyIncreasedbbc_service_addedid, name, value, totalPrice
bbcAdditionalQtyDecreasedbbc_service_removedid, name, value, totalPrice
bbcAdditionalCategoryChangedbbc_category_switchedcategoryId
bbcPopupOpenedbbc_popup_opened–
bbcPopupClosedbbc_popup_closed–
bbcAdditionalServicesLoaded–service

Pricing

$(document).on()GA4 EventParameters
bbcTotalCalculatedbbc_price_calculatedtotalPrice, totalDiscount, taxAmount
bbcDiscountCalculatedbbc_discount_applieddiscount, couponData.coupon_type
bbcUpdateBookingDetails–fires after every price update
bbcBookingDetailsUpdated–full result object

Loyalty

$(document).on()GA4 EventParameters
bbcLoyaltyFoundbbc_loyalty_foundloyaltyData, userData
bbcLoyaltyDiscountAppliedbbc_loyalty_applieddiscountPercent
bbcLoyaltyResetbbc_loyalty_removed–

Cart

$(document).on()GA4 EventParameters
bbcDiscountApplied–fires when discount applied to cart
bbcLoyaltyApplied–fires when loyalty applied to cart

Implementation Example

$(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
    });
});
Last Modified: 17.04.2026