[ad_1]
Hello.
Did you check this article https://wpbookingcalendar.com/faq/tracking-form-submission/ If yes, then unfortunately, in the updates 9.8 or newer, that code is deprecated, as it mentioned in the FAQ article.
Currently Booking Calendar generate this action hook:
do_action( 'wpbc_track_new_booking', $params );
So you can use this function:
function my_booking_tracking( $params ){
...
}
add_action( 'wpbc_track_new_booking', 'my_booking_tracking' );
But it’s works only for the back-end, not for the front-end with execution of the JavaScript. We will add improvements to this feature to the TODO list for having it in future updates of the plugin, but I can not say when this feature will be implemented. Sorry.
Kind Regards.
