You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: New type of script, when you use the booking form in the API.
Allows you to add script when the booking form from the API is used, rather than the plugin.
This will enable you to add scripts that handle the `postMessage` messages from the booking form, and you can track purchases in your website with Google Analytics or any other analytics tool, that uses JavaScript.
fixes#412
Copy file name to clipboardExpand all lines: includes/booking-settings.php
+33-2Lines changed: 33 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,37 @@ function edu_render_booking_settings_page() {
24
24
<br />
25
25
<em><?phpechoesc_html_x( 'By enabling this option, all options below will be ineffective, as we use an external booking form from EduAdmin instead.', 'backend', 'eduadmin-booking' ); ?></em>
26
26
<br />
27
+
<h3><?phpechoesc_html_x( 'Javascript to run the booking form is used', 'backend', 'eduadmin-booking' ); ?></h3>
28
+
<em><?phpechoesc_html_x( 'Do not include <script> here, it is handled automatically.', 'backend', 'eduadmin-booking' ); ?></em>
0 commit comments