To have your own buttons (not a button created by Simplifeye) open the Self Scheduling Widget, you will need to add some additional code to your website to make it work properly.

  1. Add the following code to the header of your website.
<script> 
function openSelfSchedulingWidget() {
window._SELF_SCHEDULING_WIDGET_CONF.openWidget()
}
</script>

2. Add the Self Scheduling Widget code to the footer of your website. This code can be found in the Simplifeye Dashboard and has been emailed to you. If you need help finding the code, click here.

3. You will need your buttons to call the function that was added in Step #1. Here is an example of a simple button calling the function correctly.

<button onclick="openSelfSchedulingWidget()">Book Appointment</button>


Did this answer your question?