Event | Details |
Name |
|
Description | fires after order creation with |
Usage | document.addEventListener('ventrata-order-created', |
Event | Details |
Name |
|
Description | fires after the order is updated with |
Usage | document.addEventListener('ventrata-order-updated', |
Event | Details |
Name |
|
Description | fires after the order gets confirmed (set as paid) with |
Usage | document.addEventListener('ventrata-order-confirmed', |
Event | Details |
Name |
|
Description | fires after the order expires with |
Usage | document.addEventListener('ventrata-order-expired', |
Event | Details |
Name |
|
Description | fires after booking creation with |
Usage | document.addEventListener('ventrata-booking-created', |
Event | Details |
Name |
|
Description | fires after booking is updated with |
Usage | document.addEventListener('ventrata-booking-updated', |
Event | Details |
Name |
|
Description | fires after booking is removed with |
Usage | document.addEventListener('ventrata-booking-removed', |
Event | Details |
Name |
|
Description | fires when the Ventrata pop-up widget is closed |
Usage | document.addEventListener('ventrata-checkout-closed', |
📒 NOTE
This event is triggered whenever the checkout is closed — meaning every type of closure. For example:
when no order is created and a user opens and closes the checkout,
when there’s a multibooking and someone clicks the “X”,
or when an order is completed and someone still clicks the “X”.
It is important to keep this in mind if you plan to connect anything to this event.
For example, if you want to trigger a survey event to find out why customers left the checkout, you will also need to check whether an order was created and if it was not paid + this event.
Event | Details |
Name |
|
Description | fires when bottom bar is shown or hidden |
Usage | document.addEventListener('ventrata-bottom-bar-visibility', |
Event | Details |
Name |
|
Description | fires when the order reaches the Contact Details page before any contact details are entered |
Usage | document.addEventListener('ventrata-open-external-cart', |
