Ereignisauslöser in Google Analytics 4

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-EreignisParameter
bbcInitializedbbc_initialized

Kalender

$(document).on()GA4-EreignisParameter
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
bbcAjaxPrintCalendarSuccesswird nach jedem AJAX-Ladevorgang des Kalenders ausgelöst
bbcHandleClickwird nach jedem Klick auf einen Slot ausgelöst
bbcDayResetday, date

Formular & Buchung

$(document).on()GA4-EreignisParameter
bbcFormSubmittedbbc_form_submitted
bbcFormValidatedbbc_form_validatedisValid
bbcFormSubmitSuccessbbc_booking_completedoutAction: buy/get_url
bbcFormSubmitFailedbbc_booking_failedreason
bbcUnenableSlotsCheckedbbc_slots_conflictfound_slots
bbcRulesCheckboxChangedchecked
bbcInvoiceCheckboxChangedchecked

Gutschein

$(document).on()GA4-EreignisParameter
bbcCouponAppliedbbc_coupon_appliedcouponCode, coupon_type, coupon_value
bbcCouponCheckFailedbbc_coupon_failedreason
bbcCouponResetbbc_coupon_removed

Zusätzliche Dienstleistungen

$(document).on()GA4-EreignisParameter
bbcAdditionalQtyIncreasedbbc_service_addedid, name, value, totalPrice
bbcAdditionalQtyDecreasedbbc_service_removedid, name, value, totalPrice
bbcAdditionalCategoryChangedbbc_category_switchedcategoryId
bbcPopupOpenedbbc_popup_opened
bbcPopupClosedbbc_popup_closed
bbcAdditionalServicesLoadedservice

Preise

$(document).on()GA4-EreignisParameter
bbcTotalCalculatedbbc_price_calculatedtotalPrice, totalDiscount, taxAmount
bbcDiscountCalculatedbbc_discount_applieddiscount, couponData.coupon_type
bbcUpdateBookingDetailswird nach jeder Preisaktualisierung ausgelöst
bbcBookingDetailsUpdatedvollständiges Ergebnisobjekt

Treue

$(document).on()GA4-EreignisParameter
bbcLoyaltyFoundbbc_loyalty_foundloyaltyData, userData
bbcLoyaltyDiscountAppliedbbc_loyalty_applieddiscountPercent
bbcLoyaltyResetbbc_loyalty_removed

Warenkorb

$(document).on()GA4-EreignisParameter
bbcDiscountAppliedWird ausgelöst, wenn ein Rabatt auf den Warenkorb angewendet wird
bbcLoyaltyAppliedwird 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