Business events are available for all Dynatrace RUM technologies (web RUM, mobile RUM, and OpenKit). RUM business events can be obtained by leveraging a dedicated method for the corresponding RUM technology.
Check the sections below for instructions on how to report business events for different platforms.
To report business events for the native part of Cordova applications, follow the instructions for Android or iOS. For the web part, use the RUM JavaScript.
let attributes = {"event.name": "Confirmed Booking","page": "booking-confirmation","product": "Danube Anna Hotel","amount": 358.35,"currency": "USD","reviewScore": 4.8,"arrivalDate": "2022-11-05","departureDate": "2022-11-15","journeyDuration": 10,"adultTravelers": 2,"childrenTravelers": 0};dynatrace.sendBizEvent('com.easytravel.funnel.booking-finished', attributes);
Business events are only captured for monitored sessions. When the RUM JavaScript is disabled either through a special method or due to cost and traffic control, business events aren't reported for such sessions.
This behavior might be subject to change in the future, potentially allowing business events to be sent to Dynatrace regardless of session monitoring.